邮政编码的地理坐标列表
是否有公开可用的列表或数据库,其中包含邮政/邮政编码映射的地理坐标?
Is there a publically available List or a database that has geo-coordinates to Postal/Zip Code mapping ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用 Google Maps API 进行反向地理编码。请查看 Google 地图反向地理编码 和 工作示例。
您也可以查看之前的问题:如何转换纬度和经度到位置名称
You can use Google Maps API for reverse geocoding. Check this out Google Maps Reverse Geocoding and a working sample.
Also you can check out earlier questions: How to convert Latitude and longitude to Location name
对于哪个国家?一些国家/地区拥有公开可用的数据库,但大多数国家/地区没有。
商业数据库通常价格高昂且许可证不友好。 OpenStreeMap 和 FreeThePostCode(英国),您可能想查看更多信息。
维基百科还有一篇关于邮政一般代码的非常好的文章,其中包含大量信息。
about.com 上的此页面讨论了邮政编码数据库美国人口普查局于 1999 年制作(根据美国法律将其归为公共领域)。自 1999 年以来发生了很多事情,但还是值得一看。
For what country? Some countries have publically available databases but most don't.
Commercial databases often carries a hefty price and an unfriendly license. There are efforts underway by OpenStreeMap and FreeThePostCode (UK) that you might want to check out for more information.
Wikiepedia also has a pretty good article on postal codes in general with lots of information.
This page at about.com talks about a zip code database for the US that was produced in 1999 by the Census Bureau (rendering it public domain according to US-laws). A lot has happened since 1999 though but it may be worth a look.
没有任何东西可以免费用于商业用途——甚至 Bing、Yahoo 或 Google 也不行。请参阅我在另一篇文章中的回答:
如何让用户选择他们的城镇,以便我的应用可以知道坐标
There's nothing free for commercial use -- not even Bing, Yahoo, or Google. See my answer on this other post:
How to let users choose their town, so my app can know coordinates
取决于你在世界的哪个地方......对于美国,我相信这些信息是不受限制的。在英国,您可以从皇家邮政获得“邮政地址文件”许可,但价格昂贵。
我发现有人在这里出售邮政编码数据库:
http://www.zip- codes.com/zip-code-database.asp
但您需要注意,信息会随着时间的推移而变化 - 随着新属性的构建......
Depends where you are in the world... For the united states, I believe the information is available without restriction. In the UK, you can license the "Postal Address File" from the Royal Mail, but it's expensive.
I found someone selling the Zip Code database here:
http://www.zip-codes.com/zip-code-database.asp
But you need to be aware that the information changes over time - as new properties are built...
如果你有钱并且愿意付费,Navteq 和 TeleAtlas 也会向你出售数据。它们覆盖了地球的相当一部分,但不是全部。开放街道地图 (OSM) 中也可能有数据。我建议先去那里看看。
If you have money and you want to pay for it Navteq and TeleAtlas will also sell you the data. They cover quite a bit of the globe but not all of it. There also might be the data in Open Street Map (OSM). I would reccomend looking there first.