I'm looking for a solution which gives an address based on co-ordinates (Latitude & Longitude) which I got from html5 geolocation api. I'm using OpenStreetMap.
Asked
Active
Viewed 4.6k times
54

Dhruvang Gajjar
- 568
- 1
- 8
- 20

vishal
- 685
- 2
- 6
- 9
-
35I don't understand why this was closed, and I'm glad it's still viewable, because this question and its answer were valuable to me. – B. Clay Shannon-B. Crow Raven Dec 23 '12 at 15:49
-
2@B.ClayShannon I'm guessing it's because of [this](http://stackoverflow.com/help/on-topic): "Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam." However, I think just because they *tend* to, doesn't mean they *will* - this question is a perfect example. It seems like Nominatim has become pretty much the de facto choice for solving this problem over the last few years, such that there's not tons of room for spammy opinion here. – Daniel Schilling Apr 28 '14 at 19:04
-
1It might be a better fit for gis.stackexchange.com. – Victor Sergienko Dec 06 '15 at 15:08
-
1No. Its for stackoverflow, because it is meant for programming – Dr Deo Dec 08 '18 at 15:00
1 Answers
59
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:
- Nominatim, run by a member of the OSM community as a volunteer project. Reverse Geocoding documentation
- 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
- 933
- 6
- 13
-
3i agree with @gravitystorm - cloudmade is a private company whose founder went to Bing after years of massive financial losses. future of cloudmade is uncertain. on the other hand, nominatim is a public project/tool . – tony gil Jun 06 '12 at 21:31
-
API Documentation Link: https://nominatim.org/release-docs/develop/api/Reverse/ – Dhruvang Gajjar Jun 08 '23 at 12:33