GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Where I can get json file for world cities and country  XML
Forum Index -> General
Author Message
jatinderbimra



Joined: 09/08/2012 14:02:27
Messages: 5
Offline

I am searching lot on web for json file for world cities and country to use in my autocomplete search box.

Exactly how I want is here in the example link below, but it has done using google api, i don't want to use google api i just want to parse my json file to for cities and country.
http://jsfiddle.net/NuCUd/8/

One I get JSON code form link below, but it does not have entire world cities.
http://tompi.github.com/jeoquery/methods.html

Also i have tried this way:
http://api.geonames.org/searchJSON?username=xxx not getting proper cities..

Looking for help! Thanks.

Jatinder
jatinderbimra



Joined: 09/08/2012 14:02:27
Messages: 5
Offline

Can i get any solution?
marc



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

It is not clear what kind of help you expect. The data is available on this site you just have to filter the features you want cities or countries or whatever you are looking for.

Best

Marc

[WWW]
jatinderbimra



Joined: 09/08/2012 14:02:27
Messages: 5
Offline

Sorry for the confusion.

I were looking a JSON file of entire world cities.

Which I was trying to find on this website, I got one but it were not holding entire cities.

Here is the one: http://api.geonames.org/citiesJSON?north=44.1&south=-9.9&east=-22.4&west=55.2&lang=de&username=demo

How i can get the entire world cities in single json file.

Thanks for your reply!

Jatinder
jatinderbimra



Joined: 09/08/2012 14:02:27
Messages: 5
Offline

Marc,

Is there is any reference for JSON file?

Waiting for your response.

Thanks

Jatinder
marc



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

Jatinder

There is no global json file. There is a csv extract, we can impossible provide the same data in an infinite number of possible formats. It is quite simple for you to convert it into exactly the format you require.

Best Regards

Marc

[WWW]
jatinderbimra



Joined: 09/08/2012 14:02:27
Messages: 5
Offline

Thanks Marc for you reply.

We solved it with calling data from database and converting to json and parse the same!

Thanks again.
Jatinder
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team