在哪里可以获得国家,州和城市的清单? [英] Where can I get a list of Countries, States and Cities?

查看:107
本文介绍了在哪里可以获得国家,州和城市的清单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎是重复的,因为那里有相同的问题.

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/

但是所有这些都排除了状态.

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屋!

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