如何通过 API OpenStreetMap 从 GPS 坐标中查找地址?

How to find a adress from GPS coordinates via API OpenStreetMap?

如何通过 API OpenStreetMap 根据 GPS 坐标查找地址?

我可以使用任何语言(java脚本,java,...)

反向地理编码

您正在寻找的任务称为反向地理编码 - 与普通地理编码相反,returns 地址的坐标。

一些方法包括 python geocoder 模块 ( https://geocoder.readthedocs.io/api.html#reverse-geocoding ) or the OpenStreetMap Nominatim API https://wiki.openstreetmap.org/wiki/Nominatim#Reverse_Geocoding