GeoNames_FindNearbyPostalCodes1/ reverse geocoding
This service comes in two flavors. You can either pass the lat/long
or a postalcode/placename.
Webservice Type : REST
Url : ws.geonames.org/findNearbyPostalCodes?
Parameters :
lat,
lng,
radius (in km),
maxRows (default = 5),
style
(verbosity :SHORT,MEDIUM,LONG,FULL),
country
(default = all countries)
, localCountry (in border areas this
parameter will restrict the search on the local country,
value=true)
or
postalcode,country, radius (in Km), maxRows (default = 5)
Result :
returns a list of postalcodes and places for the lat/lng
query as xml document
. The result is sorted by distance.
Example:
http://ws.geonames.org/findNearbyPostalCodes?lat=47&lng=9
or
ws.geonames.org/findNearbyPostalCodes?postalcode=8775&country=CH&radius=10
This service is also available in JSON format : ws.geonames.org/findNearbyPostalCodesJSON?postalcode=8775&country=CH&radius=10
[
more reverse geocoding webservices]