database 我在哪里可以获得所有国家的邮政编码?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/308017/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where can I get postal codes for all countries?
提问by suhair
I once read about an open source database for postal codes with geolocation data but now I can't remember its name. Can someone help?
我曾经读过一个关于带有地理定位数据的邮政编码的开源数据库,但现在我不记得它的名字了。有人可以帮忙吗?
回答by Raymond Martineau
You're looking for an Open GIS database - the main keyword being "GIS". This will help you find results.
您正在寻找一个开放式 GIS 数据库 - 主要关键字是“GIS”。这将帮助您找到结果。
The information you're looking for is usually Commercial grade (i.e. you need to pay for the data), but you can see what's available on the open-source GIS websites:
您要查找的信息通常是商业级的(即您需要为数据付费),但您可以在开源 GIS 网站上查看可用信息:
回答by Zon
Find all countries at GeoNamesor run a ready-parsed MySQL script (INSERTs):
在GeoNames 上查找所有国家或运行一个现成的 MySQL 脚本 (INSERTs):
Download delivery_zip.sql(11 Mb)
下载delivery_zip.sql(11 Mb)
回答by searain
Yes Geonames is the place. To be more specific as slacy said
是的 Geonames 就是这个地方。更具体地说,正如斯莱西所说
https://download.geonames.org/export/zip/
https://download.geonames.org/export/zip/
It has a list of countries' postal codes and it has an allCountries zip file.
它有一个国家邮政编码列表和一个 allCountries zip 文件。
And the data is updated daily.
并且数据每天更新。