基于邮政编码的纬度和经度 [英] Latitude and Longitude based on Zip Code

查看:33
本文介绍了基于邮政编码的纬度和经度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是获取特定邮政编码的纬度和经度值.是否有任何 API 可用于获取这些信息.由于我在一家公司工作,因此我们团队的要求是找到特定邮政编码的纬度和经度值.所以我们想为此建立一个新的服务.那么,如果我们将邮政编码传递给我们的服务,我们可以使用哪些可靠的数据源来获取这些信息.或者我可以向我的 PM 提出关于此要求的最佳方法是什么.任何指针将不胜感激.

My requirement is to get the Latitude and Longitude value for a particular zip code. Is there any API that I can use to get these information. As I am working in a company so the requirement is coming for our team is to find the latitude and longitude value for a particular zip code. So we were thinking to build a new service for this. So what reliable data source we can use to get these information back if we are passing zip code to our service. Or what can be the best approach that I can propose to my PM about this requirement. Any pointers will be appreciated.

补充一点,该数据源应该包含世界上所有的邮政编码、纬度和经度.不是很准确,但大多数情况下应该覆盖 95% 以上的覆盖率.

Just to add, that data source should have all the zip codes, latitudes and longitude in a world. Not that much accurate but mostly it should cover around more than 95% coverage.

更新

我做了一些研究,发现我可以使用 Maxmind 数据,但 Maxmind 数据并未涵盖所有邮政编码列表.

I did some research and I found that I can use Maxmind data for this but Maxmind data doesn't cover all the zip code list.

推荐答案

请查看 Google Geocoding APIa> 和 Yahoo!地点查找器.

它们都具有地理编码功能,这正是您想要的(从部分或完整地址获取地图(纬度、经度)坐标).

Both of them have Geocoding features, which is exactly what you want (obtaining map (latitude, longitude) coordinates from partial or full addresses).

这篇关于基于邮政编码的纬度和经度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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