是否存在可公开访问的可解析的国家/地区代码列表? [英] Does there exist a publicly accessible parsable Country/Country Code list?
问题描述
我发现始终列出所有国家/地区及其国家/地区代码很有用.如果有人以多种格式提供它(例如: SQL,DDL,Xml,CSV,JSON,YAML ... ).
I find that I always find it useful to have a list of all Countries and their country codes. If someone provided it in multiple formats (eg: SQL, DDL, Xml, CSV, JSON, YAML...).
我找到了试图出售国家/地区列表的网站,但对我来说这似乎很疯狂.是否有一个我正在忽略的开源项目?如果没有,那么其他任何人都看不到启动一个维护国家(地区)列表甚至尝试进行地区等级制的项目的有用性吗?
I've found sites that attempt to sell a list of countries but that seems crazy to me. Is there an open source project that I'm overlooking? If there isn't does anyone else see any usefulness of starting a project that maintains a list of countries and even something that attempts a region hierarchy?
有时候,我一直想找一个位于加拿大的省中排名前50位的最大城市.
There have been times where I have been wanting to retrieve the top 50 largest cities in a province located in Canada for example.
哦,也许这可能是一个方便的云"计算服务.
Ooh, maybe this could be a handy "cloud" computing service.
谢谢,我只想确保我不会过度分析一个对于年龄的解决方案很简单的问题.
Thanks, I just want to make sure that I'm not over analyzing an issue that's had a trivial solution for ages.
刚刚意识到,基于社区的区域分配策略可能会有些棘手.您将如何处理冲突地区?
Just realized that a community based regional allocation strategy might be a bit tricky. How would you deal with regions in conflict?
推荐答案
HTML,XML,TXT和Access
HTML, XML, TXT and Access
http://www.iso.ch/iso/country_codes/iso_3166_code_lists.htm
这篇关于是否存在可公开访问的可解析的国家/地区代码列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!