使用OpenStreetMap获取给定GPS坐标集的国家/地区名称

Fre*_*ude 4 geocoding openstreetmap

有没有人知道是否有办法使用OpenStreetMap(离线或API)来获取给定GPS坐标集的国家名称?

我对使用此处提到的Google或Geonames API不感兴趣:GPS坐标的国家/地区名称

sca*_*cai 5

看看Nominatim或其他一个基于OSM的搜索引擎(地理编码器).

  • 示例:https://nominatim.openstreetmap.org/reverse?format = json&lat = 32.7762719&lon = -96.7968559 (2认同)