问题描述
我基本上想检索邮政编码中的城市和州列表.Google 的 Geocode API 是否能够这样做?我试过查看文档,但发现信息太多了.
I basically want to retrieve a list of city and state within a zipcode. Is Google's Geocode API capable of doing so? I've tried looking into the documentation but found the information overwhelming.
任何帮助将不胜感激.如果有其他方法可以完成此类任务,请告诉我.
Any help would be appreciated. If there is another method of accomplishing such task, please let me know.
谢谢
我能够通过以下方式检索城市和州:http://maps.google.com/maps/geo?output=xml&q=14606 但是否有限制?
I was able to retrieve the City and State through: http://maps.google.com/maps/geo?output=xml&q=14606 but is there a limitation against that?
推荐答案
使用 地理编码 API
例如,要查找 zip 77379,请使用如下请求:
For example, to lookup zip 77379 use a request like this:
这篇关于通过 Zip Google Geocode Api 查找城市和州的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!