问题
Does anybody know if there is a way to use OpenStreetMap (offline or API) to get the country name for a given set of GPS coordinates?
I'm not interested in using the Google or Geonames API mentioned here: Country name for GPS coordinates
回答1:
Take a look at Nominatim or one of the other OSM-based search engines (geocoders).
来源:https://stackoverflow.com/questions/45824949/use-openstreetmap-to-get-the-country-name-for-a-given-set-of-gps-coordinates