如何在mysql中找到免费的世界城市数据库

时间:2022-06-12 18:04:29

Does anybody know where I can find open source world city database that includes:

有人知道我在哪里可以找到包括:

  • city names in different languages
  • 不同语言的城市名称
  • region / state / province
  • 地区/州/省
  • country
  • 国家
  • IP address range
  • IP地址范围
  • longitude / latitude
  • 经度/纬度

3 个解决方案

#1


10  

For everywhere except the US, try the National Geospatial Intelligence Agency's GNS Country Files dataset and for the USA, use the USGS Domestic Names Database. This data is copyright free and relatively easy to import into MySQL.

除了美国以外的任何地方,都可以尝试美国国家地理空间情报局的GNS国家文件数据集,而美国则使用美国地质调查局的国内姓名数据库。这些数据是不受版权保护的,很容易导入到MySQL中。

These do not include IP address ranges, that sort of data is commercially available from folks like MaxMind

这些不包括IP地址范围,这类数据可以从像MaxMind这样的人那里获得

#2


3  

MaxMind's GeoLite City database is free:

MaxMind的GeoLite City数据库是免费的:

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

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

The website has instructions for inserting the contents into a database table.

该网站有将内容插入数据库表的说明。

It contains city, region/state/province, country, IP address range, latitude, longitude and a bunch more info.

它包含城市、地区/州/省、国家、IP地址范围、纬度、经度和更多的信息。

#3


2  

http://www.rocky.nu/software/mysql-world-locations-database

http://www.rocky.nu/software/mysql-world-locations-database

This one contains world cities and Latitude / Longitude

这一个包含了世界城市和经纬度。

You can also get a world database at geonames org

你也可以在geonames org上获得一个世界数据库

#1


10  

For everywhere except the US, try the National Geospatial Intelligence Agency's GNS Country Files dataset and for the USA, use the USGS Domestic Names Database. This data is copyright free and relatively easy to import into MySQL.

除了美国以外的任何地方,都可以尝试美国国家地理空间情报局的GNS国家文件数据集,而美国则使用美国地质调查局的国内姓名数据库。这些数据是不受版权保护的,很容易导入到MySQL中。

These do not include IP address ranges, that sort of data is commercially available from folks like MaxMind

这些不包括IP地址范围,这类数据可以从像MaxMind这样的人那里获得

#2


3  

MaxMind's GeoLite City database is free:

MaxMind的GeoLite City数据库是免费的:

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

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

The website has instructions for inserting the contents into a database table.

该网站有将内容插入数据库表的说明。

It contains city, region/state/province, country, IP address range, latitude, longitude and a bunch more info.

它包含城市、地区/州/省、国家、IP地址范围、纬度、经度和更多的信息。

#3


2  

http://www.rocky.nu/software/mysql-world-locations-database

http://www.rocky.nu/software/mysql-world-locations-database

This one contains world cities and Latitude / Longitude

这一个包含了世界城市和经纬度。

You can also get a world database at geonames org

你也可以在geonames org上获得一个世界数据库