Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have this query for parks in Alabama for example:

http://api.geonames.org/search?featureCode=PRK&username=genadinik&country=US&style=full&adminCode1=AL&maxRows=100

But it returns all sorts of parks like ballparks, playground, national forests. Is there a way to distinguish city-block parks from stadiums and from big parks for outdoors?

Also, there is a value that appears named score like this: 34.15653610229492

What is that value? Thanks!

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

The parks come from a points of interest layer - and points are just that, points. They don't have an area so there's no way to determine which one is bigger.

You would have to do another query from the points to a polygon layer, or have some similar means of obtaining the area of the park, to filter by size.

The "score" is "how appropriate these results are":

GeoNames Forum: What is <score> tag?

share|improve this answer
    
Thanks, would you know how to do the cross-query of point of interest and polygon? Sounds interesting, but I have not seen anything about this. –  Genadinik Jun 24 '11 at 19:23
    
@Genadinik The specifics vary with implementation, but you perform a spatial query on a polygon dataset, passing it the points you've collected from the geonames results. It may have to be to a different service, run elsewhere - I don't know if geonames even has a polygon dataset available. –  mwalker Jun 24 '11 at 19:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.