Search code examples
geolocation

OpenStreetMap: get coordinates from address


Is there any function in OpenStreetMap that gives you the coordinated from an address ?

something like

http://router.project-osrm.org/locate?request=GetGeocoding&nbaddresses=1&outputFormat=json&addresses_0=1240+Place+Jourdan+PARIS

Solution

  • I have it, Nominatim is a tool to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).

    http://nominatim.openstreetmap.org/search?q=135+pilkington+avenue,+birmingham&format=json&polygon=1&addressdetails=1