This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Nearest American City to Lat/Long Point

0

I am trying to use OSM to identify the nearest US city (including US territories) to a set of lat/long coords related to natural disasters. Is there a few web service available to do this?

asked 17 Aug '18, 11:39

Shwn's gravatar image

Shwn
(suspended)
accept rate: 0%


One Answer:

0

This is what reverse geocoders do. You can find more about this for example in the OSM wiki, the standard geocoder on the OSM website, Nominatim, also does this (try it out, right click on the map and select "show address").

Please note that this is a comunity service and there are fair use limits. If you need to do this frequently or in batch, you might have to find a different service, pay someone or set up your own instance.

answered 22 Aug '18, 22:25

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

edited 22 Aug '18, 22:28

Source code available on GitHub .