Reverse geo location using OpenStreetMap [closed]

2019-01-30 14:09发布

I have used OpenStreetMap 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 OpenStreetMap API available to get location info based on Lat/Lon?

Thanks, Vishal Parmar

1条回答
时光不老,我们不散
2楼-- · 2019-01-30 14:52

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.

查看更多
登录 后发表回答