GeoNames Home | Postal Codes | Download / Webservice | About 
search
click on the map to view reverse geocoded street names.     

     geocode address :
The geocoder is using google geocoder,
reverse geocoding is provided by geonames using openstreemap data (Feb 2013) under a cc by-sa license.
Click on the map to view reverse geocoded street names.



Find nearest Intersection
Finds the nearest street and the next crossing street for a given lat/lng pair.

Url : api.geonames.org/findNearestIntersectionOSM?
Parameters : lat,lng, radius (optional), maxRows (optional);
Result : returns the nearest intersection for the given latitude/longitude
Example http://api.geonames.org/findNearestIntersectionOSM?lat=37.451&lng=-122.18&username=demo

This service is also available in JSON format :
http://api.geonames.org/findNearestIntersectionOSMJSON?lat=37.451&lng=-122.18&username=demo


Find nearby Streets
Finds the nearest streets for a given lat/lng pair.

Url : api.geonames.org/findNearbyStreetsOSM?
Parameters: lat, lng, radius (optional), maxRows (optional with default = 10)
Result: returns the nearest street segments for the given latitude/longitude
Example http://api.geonames.org/findNearbyStreetsOSM?lat=37.451&lng=-122.18&username=demo

This service is also available in JSON format :
http://api.geonames.org/findNearbyStreetsOSMJSON?lat=37.451&lng=-122.18&username=demo


Find nearby points of interest
Finds the nearest points of interests for a given lat/lng pair.

Url : api.geonames.org/findNearbyPOIsOSM?
Parameters: lat,lng, radius (optional), maxRows (optional with default = 10)
Result: returns the nearest points of interests for the given latitude/longitude
Example http://api.geonames.org/findNearbyPOIsOSM?lat=37.451&lng=-122.18&username=demo

This service is also available in JSON format :
http://api.geonames.org/findNearbyPOIsOSMJSON?lat=37.451&lng=-122.18&username=demo


License
OpenStreetMap data is licensed under creative commons Attribution-Share Alike.

Note: This in contrast to the other GeoNames webservices which are licensed under the more liberal creative commons Attribution license.


Other Reverse Geocoding Services
For the US there is a reverse geocoding service on address level. It is based on US Census data and has more details (zip codes, city names, county names, address numbers, etc) than the osm service and is available under a more liberal cc-by license.

[more reverse geocoding webservices]