views:

1113

answers:

1

Hello All,

I have used openstreet map in my ongoing website. I have developed website using PHP. My requirement is to get ADDRESS based on Geo Location(Latitude & Longitude). Is there any openstreet API available to get location info based on Lat/Lon?

Thanks, Vishal Parmar

+4  A: 

There are multiple reverse geocoding APIs available for OpenStreetMap (since the data is open-source, anyone can build one). The two that I would recommend you investigate further are:

  1. Nominatim, run by a member of the OSM community as a volunteer project. Reverse Geocoding documentation
  2. CloudMade Geocoding, run as a commercial service. Reverse Geocoding documentation (at the bottom)

Of the two, I would recommend Nominatim. If you are building a large service and are generating lots of requests, you can even run your own copies of nominatim on your own servers.

gravitystorm