GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Geonames API query for populated places in Alabama doesn't make sense  XML
Forum Index -> General
Author Message
genadinik1



Joined: 23/06/2011 08:00:46
Messages: 1
Offline

Hi,

I have this query:

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

Which brings back the top most populated cities in order by population. The biggest cities in Alabama are Birmingham and Montgomery. But they do not appear on this list, no matter how far down the list I extend the query.

Is there a reason that this happens? Or some rule/design feature that I am not aware of that is causing this?

Thanks!
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

Hi

Birmingham and Montgomery have the featurecodes PPLA and PPLA2 respectively. You are explicitly querying for PPL only. If you want all populated places you can query for featureClass=P instead.

Best Regards

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team