GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
CountryInfo  XML
Forum Index -> General
Author Message
alex1er



Joined: 16/01/2007 13:43:40
Messages: 5
Offline

Hi

I have three questions about coutryInfo webservice.

- Is it possible to have it in JSON format?
- Do the information for this webservice are in the database we can download?
- Why the country info or not in the result of this kind of query : http://ws.geonames.org/search?name=france&fclass=A&fclass=T&fcode=PCLI&fcode=ISL&type=json&lang=fr


thanks
marc



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

Hi Alex

alex1er wrote:
- Is it possible to have it in JSON format? 

There are two slightly different countryInfo services. Which one would you like to have in JSON format? At the moment none of them is available in JSON.

alex1er wrote:
- Do the information for this webservice are in the database we can download? 

Yes, it is available. You can store the countryInfo output of the service for the language independent data and use the country names in all languages from the daily dump.

alex1er wrote:
- Why the country info or not in the result of this kind of query : http://ws.geonames.org/search?name=france&fclass=A&fclass=T&fcode=PCLI&fcode=ISL&type=json&lang=fr 

Most data fields in the countryInfo apply to countries only and the search service returns all kind of toponyms.

Marc

[WWW]
wardsi



Joined: 19/08/2009 23:27:51
Messages: 1
Offline

Hi,

Has the JSON format of the countryInfo been created. I tried accessing it from the overview page, but it looks like it is not available.

I would like to use this service to get information for countries -> regions -> cities -> post codes.

marc



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

Thanks. The configuration was broken on a new server.

Marc

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