alexalex
Joined: 27/05/2010 19:48:53
Messages: 2
Offline
|
Hi!
When I use the following HTTP query:
http://ws.geonames.org/findNearbyPlaceNameJSON?lat=47.6687957&lng=-122.1218329
I get the following response:
{"geonames":[{"countryName":"United States","adminCode1":"WA","fclName":"city, village,...","countryCode":"US","lng":-122.121512,"fcodeName":"populated place","distance":"0.5779","toponymName":"Redmond","fcl":"P","name":"Redmond","fcode":"PPL","geonameId":5808079,"lat":47.6739882,"adminName1":"Washington","population":47264}]}
Correct me if I am wrong, but this response does not appear to be in a JSON format?
I am trying to use the jQuery function "getJSON" and the jQuery function doesn't appear to be able to read the response.
help?
|