在Google地图中从lat,lon搜索生成英国邮政编码 [英] Generate UK postcode from lat,lon search in Google Maps

查看:273
本文介绍了在Google地图中从lat,lon搜索生成英国邮政编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过Google地图中的纬度和经度搜索生成英国邮政编码。例如,在Google Maps中搜索57.350237,-1.977539会返回:

http://i.imgur.com/35iB5.png



我希望能够提取该邮编 - AB41 8 。

到目前为止,我所见过的所有想法都是关于如何从邮政编码中获取经纬度,而不是其他方式。任何想法?



谢谢,

解决方案

在Google的Geocoding API中,特别是反向地理编码


I'm trying to generate a UK postcode from a latitude and longitude search in Google Maps. For example, a search for 57.350237,-1.977539 in Google Maps returns this:

http://i.imgur.com/35iB5.png

I want to be able to extract that postcode - AB41 8.

All I've seen so far are ideas on how to get the lat,lon from the postcode but not the other way around. Any ideas?

Thanks,

解决方案

You could take a look at Google's Geocoding API, specifically Reverse Geocoding.

这篇关于在Google地图中从lat,lon搜索生成英国邮政编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆