GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JSON support for findNearbyPlaceName  XML
Forum Index -> General
Author Message
Anonymous



I am trying to access the "nearby place" service with JSON, but appending the JSON suffix to the script still gives me an XML output:

http://ws.geonames.org/findNearbyPlaceNameJSON?lat=47.3&lng=9&style=MEDIUM

Appending other suffixes resulted in the same output as well, I guess this is the default behaviour of the web service server.

Best regards,
Ligius
Anonymous



Thank you for the prompt fixing of this!
marc



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

Hi Ligius

The JSON variant of this service was already implemented, but not yet documented and configured. Without the correct configuration (apache url rewrite) the webserver was serving the xml version.

Marc

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