City Country State Database [closed]

耗尽温柔 提交于 2019-11-30 04:04:07

Yahoo! provides a Creative Commons license to its geodata, including unique identifiers (Where-On-Earth IDs) and hierarchical information for millions of places on earth, including cities, metropolitan areas, states, countries and other types of divisions. Much of this data is downloadable and they also have an easy-to-use API.

http://www.maxmind.com/app/geolitecity

Although as an alternative, have you considered tapping into the Google Maps API? It's free, and they provide good instructions to integrate your app.

have a cities of the world CSV dataset compiled from the USGS GNIS Server (US) and US NGA GNS Server (non-US), that I have placed into the public domain. Below is a link and metadata of the layout.

Column 1: ISO 3166-1 alpha-2 country code.
Column 2: US FIPS 5-2 1st level administrative division code (e.g., state/province).
Column 3: NGA GNS Feature Description (DSG) code.
Column 4: NGA GNS Unique Feature Identifier (UFI).
Column 5: ISO 639-1 alpha-2/3 code for language corresponding to the feature name.
Column 6: Language script (e.g., latin, arabic, chinese, etc) corresponding to the feature name.
Column 7: Feature name.
Column 8: Latitude coordinate of the area centroid.
Column 9: Longitude coordinate of the area centroid.

http://www.opengeocode.org/download.php#cities

You can use cities / states/ countries database in Mysql / SQL from here -

http://myip.ms/info/cities_sql_database/World_Cities_SQL_Mysql_Database.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!