在哪里可以获得国家,州和城市的清单? [英] Where can I get a list of Countries, States and Cities?
问题描述
这似乎是重复的,因为那里有相同的问题.
This probably seems like a duplicate, since there are identical questions out there.
不幸的是,所有这些问题的所有答案都缺少一个细节:州.
Unfortunately all of the answers to all of these questions are missing one detail: the states.
我在哪里可以获得国家/地区,州和城市的列表?
Where can I get a list of countries, states and cities?
例如,我想要这个:
| Sydney | New South Wales | Australia |
或
| Miami | Florida | United States |
我不想要这样的东西,其中不包括州:
I don't want something like this, which excludes the state:
| Miami | United States |
我可以在任何地方获取此类数据吗?
Is there any place where I can get this kind of data?
我已经尝试了以下数据源:
I've already tried the following data sources:
- http://www.maxmind.com/app/csv
- http://www.geodatasource.com/world-cities-database/free
- http://developer.yahoo.com/geo/geoplanet/data/
- http://www.maxmind.com/app/csv
- http://www.geodatasource.com/world-cities-database/free
- http://developer.yahoo.com/geo/geoplanet/data/
但是所有这些都排除了状态.
But all of them exclude the states.
推荐答案
联合国维护着经济贸易的国家和地区列表.该数据库可在此处获得: http://www.unece.org/cefact/locode/welcome .html
The UN maintains a list of countries and "states" / regions for economic trade. That DB is available here: http://www.unece.org/cefact/locode/welcome.html
这篇关于在哪里可以获得国家,州和城市的清单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!