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.
Get address from co-ordinates using OpenStreetMap [closed]
Asked Answered
I 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. –
Alter
@B.ClayShannon I'm guessing it's because of this: "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. –
Suffragette
It might be a better fit for gis.stackexchange.com. –
Modular
No. Its for stackoverflow, because it is meant for programming –
Firmin
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.
i agree with @Illona - 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 . –
Neonate
API Documentation Link: nominatim.org/release-docs/develop/api/Reverse –
Usance
@DhruvangGajjar it all appears to be deprecated tho? –
Hangup
@Hangup endpoints with
.php
are deprecated. e.g. https://nominatim.openstreetmap.org/reverse?lat=<value>&lon=<value>&<params>
will be working. https://nominatim.openstreetmap.org/reverse.php
is deprecated and will be removed in future versions. –
Usance @DhruvangGajjar ahhh that makes sense. i had figured out in the meantime and was wondering why it was still working haha –
Hangup
© 2022 - 2024 — McMap. All rights reserved.