使用 OpenStreetMap 从坐标获取地址

发布于 2024-08-16 18:52:10 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤蝉 2024-08-23 18:52:10

OpenStreetMap 有多个可用的反向地理编码 API(由于数据是开源的,任何人都可以构建一个)。我建议您进一步研究的两个是:

  1. Nominatim,由 OSM 社区的一名成员作为志愿者项目运行。 反向地理编码文档
  2. CloudMade Geocoding,作为商业服务运行。 反向地理编码文档(位于底部)

在这两者中,我推荐 Nominatim。如果您正在构建大型服务并生成大量请求,您甚至可以在自己的服务器上运行自己的 nominatim 副本。

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:

  1. Nominatim, run by a member of the OSM community as a volunteer project. Reverse Geocoding documentation
  2. 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文