Skip to content

Instantly share code, notes, and snippets.

@mpj
Created February 4, 2012 18:04
Show Gist options
  • Save mpj/1739244 to your computer and use it in GitHub Desktop.
Save mpj/1739244 to your computer and use it in GitHub Desktop.
Example of findNearbyPlaceName
From: http://api.geonames.org/findNearbyPlaceNameJSON?lat=56.8134071&lng=12.6718877&username=demo
{
geonames:[
{
countryName:"Sweden",
adminCode1:"06",
fclName:"city, village,...",
countryCode:"SE",
lng:12.65,
fcodeName:"populated place",
distance:"1.38049",
toponymName:"Svenstorp",
fcl:"P",
name:"Svenstorp",
fcode:"PPL",
geonameId:2669936,
lat:56.8166667,
adminName1:"Halland",
population:0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment