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
However as already stated by others OpenStreetMap does not contain every single address because most data is contributed by volunteers. If you use Potlatch2, in the options drop down (top far right) you can choose lat lon of mouse pointer to be displayed in degrees and decimal degrees.
GitHub - osm-search/Nominatim: Open Source search based on OpenStreetMap data.
Reverse Geocoding and Geolocation Service by Noggle is a free API that allows developers to embed the functionality to locate the largest city or nearest one to the latitude to longitude location.
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:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With