GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Return all cities in a country  XML
Forum Index -> General
Author Message
jqmconsultant



Joined: 15/10/2014 12:52:08
Messages: 1
Offline

I'm using both countryInfoJSON to retrieve countries and their N,S,W,E coordinates. Then I'm using the coordinates to retrieve Cities filtered by countrycode using citiesJSON.

for example: http://api.geonames.org/citiesJSON?north=49.388611&east=-66.954811&west=-124.733253&south=24.544245&username=demo

Does geonames offer full list of cities for all countries? If yes, how do I retrieve it?

Thanks in advance.
artscoop



Joined: 15/08/2011 06:54:20
Messages: 11
Location: France
Offline

Yes, you can find all cities for a country in the dump files: http://download.geonames.org/export/dump/
[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team