如何从 GPS 坐标获取国家/州/地区/城市/州/邮政编码/邮政地址?

发布于 2024-08-14 00:16:11 字数 120 浏览 5 评论 0原文

我的所有照片上都有 GPS 坐标。我想包含城市、州、邮政编码等的标签/IPTC 数据。但是我只有 GPS 坐标。我怎样才能以自动化的方式获取这些并获得有意义的信息(我有成千上万张照片,因此将每一张照片输入谷歌地图是行不通的)。

I have GPS coordinates on all of my photos. I want to include tags/IPTC data for the city, state, zip, etc.. However all I have is the GPS coordinates. How can I take these and get meaningful info in an automated fashion (I have thousands upon thousands of photos, so typing each one into google maps would not work).

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

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

发布评论

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

评论(3

天涯离梦残月幽梦 2024-08-21 00:16:11

您可以使用以下 HTTP 请求通过 Google Maps API 进行反向地理编码:

简单 CSV:

http://maps.google.com/maps/geo?q=40.756041,-73.986939&output=csv&sensor=false

更复杂的 XML:

http://maps.google.com/maps/geo?q=40.756041,-73.986939&output=xml&sensor=false

只需用您的纬度、经度更改“q”参数即可。

请注意,Google Maps API 的每个 IP 地址每天的请求限制为 15,000 个。 (Google 地图 API 常见问题解答

You can do reverse geocoding with Google Maps API using the following HTTP request:

Simple CSV:

http://maps.google.com/maps/geo?q=40.756041,-73.986939&output=csv&sensor=false

More Complex XML:

http://maps.google.com/maps/geo?q=40.756041,-73.986939&output=xml&sensor=false

Simply change the "q" parameter with your latitude,longitude.

Note that the Google Maps API has a limit of 15,000 request per IP address per day. (Google Maps API FAQ)

往事风中埋 2024-08-21 00:16:11

使用 Google Maps API 进行反向地理编码怎么样?

http://code.google.com/apis/maps/documentation/services .html#ReverseGeocoding

What about doing reverse geocoding with the Google Maps API?

http://code.google.com/apis/maps/documentation/services.html#ReverseGeocoding

就此别过 2024-08-21 00:16:11

这是一个批量反向地理编码器,它在内部使用 Google Maps API 对整个系列进行反向地理编码(在 CSV 文件中)纬度和经度对。

这将使这变得相当容易。

Here is a bulk Reverse Geocoder which, internally, uses the Google Maps API to reverse geocode an entire series (in a CSV file) of latitude and longitude pairs.

It would make this fairly easy.

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