数据链接:GeoNames数据链接

  1. 数据格式是utf8编码中以制表符分隔的文本。
  2. 文件列表(Files):
文件名
英文
中文释义
XX.zip features for country with iso code XX, see ‘geoname’ table for columns. ‘no-country’ for features not belonging to a country. XX.zip表示ISO代码为XX的国家的地名要素,字段名参见“geoname”表,“no-country.zip”表示不属于任何国家的要素,
allCountries.zip all countries combined in one file, see ‘geoname’ table for columns 该文件将世界上所有国家的要素合并在一个表中,字段名参见“geoname”表。
cities500.zip all cities with a population > 500 or seats of adm div down to PPLA4 (ca 185.000), see ‘geoname’ table for columns 城市人口超过500或是行政区划下的第四级行政单位的城市,字段名参见“geoname”表。
cities1000.zip all cities with a population > 1000 or seats of adm div down to PPLA3 (ca 130.000), see ‘geoname’ table for columns 城市人口超过1000或是行政区划下的第三级行政单位的城市,字段名参见“geoname”表。
cities5000.zip all cities with a population > 5000 or PPLA (ca 50.000), see ‘geoname’ table for columns 城市人口超过5000或是行政区划下的第二级行政单位的城市,字段名参见“geoname”表。
cities15000.zip all cities with a population > 15000 or capitals (ca 25.000), see ‘geoname’ table for columns 城市人口超过15000或国家的首都城市,字段名参见“geoname”表。
alternateNamesV2.zip alternate names with language codes and geonameId, file with iso language codes, with new columns from and to 具有语言代码和geonameId的地名别名文件,文件使用iso语言代码和字段变更时间
alternateNames.zip obsolete use V2, this file does not have the new columns to and from and will be removed in the future v2废弃版,没有新字段变更,该文件未来将被删掉
admin1CodesASCII.txt names in English for admin divisions. Columns:code, name, name ascii, geonameid 行政区的英文名称。字段包括:代码、名称、ascii名称、geonameid
admin2Codes.txt names for administrative subdivision ‘admin2 code’ (UTF8), Format : concatenated codes name asciiname geonameId 二级行政分区的名称 utf-8,格式:串联代码<tab>name<tab>asciname<tab>geonameId
iso-languagecodes.txt iso 639 language codes, as used for alternate names in file alternateNames.zip Iso 639语言代码,用于alternateNames.zip文件中的地名别名
featureCodes.txt name and description for feature classes and feature codes 要素类和要素代码的名称和描述
timeZones.txt countryCode, timezoneId, gmt offset on 1st of January, dst offset to gmt on 1st of July (of the current year), rawOffset without DST 时区文件,包含国家代码,时区ID,1月1日的GMT偏移量,(当年)7月1日至GMT的夏令时偏移量,不含夏令时的原始偏移量
countryInfo.txt country information : iso codes, fips codes, languages, capital ,…
see the geonames webservices for additional country information.
bounding box: http://api.geonames.org/countryInfo
country names in different languages : http://api.geonames.org/countryInfoCSV?lang=it
国家信息:ISO代码,FIPS代码,语言,首都。
有关其他国家信息,请参阅地理名称Web服务。
边界框http://api.geonames.org/countryInfo
不同语言的国家名称:http://api.geonames.org/countryInfoCSV?lang=it
modifications-.txt all records modified on the previous day, the date is in yyyy-MM-dd format. You can use this file to daily synchronize your own geonames database. 所有在前一天修改的记录,日期为yyyy-MM-dd格式。您可以使用此文件每天同步您自己的地名数据库。
deletes-.txt all records deleted on the previous day, format : geonameId name comment. 前一天删除的所有记录,格式:geonameId<tab>name<tab>comment。
alternateNamesModifications-.txt all alternate names modified on the previous day, 所有的备用名称修改的前一天
alternateNamesDeletes-.txt all alternate names deleted on the previous day, format : alternateNameId geonameId name comment. 所有的备用名字被删除的前一天,格式:别名idgeonameId名称备注
userTags.zip user tags , format : geonameId tag. 用户的标记、格式:geonameId标签
hierarchy.zip parentId, childId, type. The type ‘ADM’ stands for the admin hierarchy modeled by the admin1-4 codes. The other entries are entered with the user interface. The relation toponym-adm hierarchy is not included in the file, it can instead be built from the admincodes of the toponym. 父Id,子Id,类型。类型“ADM”代表由admin1-4代码建模的管理层次结构。其他条目是通过用户界面输入的。关系地名管理层次结构不包含在文件中,而是可以根据地名的行政代码构建。
adminCode5.zip the new adm5 column is not yet exported in the other files (in order to not break import scripts). Instead it is availabe as separate file.columns: geonameId,adm5code 新的adm5字段尚未在其他文件中导出(为了不破坏导入脚本)。相反,它可以作为单独的文件使用。列:geonameId,adm5code
  1. 地名主表字段(The main ‘geoname’ table has the following fields ):
字段名 英文说明 字段类型 中文释义
geonameid integer id of record in geonames database integer 地名数据库记录的ID
name name of geographical point (utf8) varchar(200) varchar(200) 地名,utf8
asciiname name of geographical point in plain ascii characters, varchar(200) varchar(200) 地名的ASCII标识
alternatenames alternatenames, comma separated, ascii names automatically transliterated, convenience attribute from alternatename table, varchar(10000) varchar(10000),或者TEXT 地名别名,逗号分割,自动音译的ascii名称、来自别名表的便利属性,
latitude latitude in decimal degrees (wgs84) DECIMAL(7,5) 纬度,十进制度(wgs84)
longitude longitude in decimal degrees (wgs84) DECIMAL(7,5) 经度,十进制度(wgs84)
feature class see http//www.geonames.org/export/codes.html, char(1) char(1) 要素类,详情见http://www.geonames.org/export/codes.html
feature code see http//www.geonames.org/export/codes.html, varchar(10) varchar(10) 要素码,详情见http://www.geonames.org/export/codes.html
country code ISO-3166 2-letter country code, 2 characters char(2) 国家代码,ISO3166 2-字母国家代码、2个字符
cc2 alternate country codes, comma separated, ISO-3166 2-letter country code, 200 characters varchar(200) 国家代码别名,用逗号分开,ISO3166 2-字母国家代码
admin1 code fipscode (subject to change to iso code), see exceptions below, see file admin1Codes.txt for display names of this code; varchar(20) varchar(20) 一级行政区代码。fipscode(可能更改为iso代码),请参阅以下例外情况,该代码的显示名称请参阅文件admin1Codes.txt
admin2 code code for the second administrative division, a county in the US, see file admin2Codes.txt; varchar(80) varchar(80) 二级行政区代码、美国为县级,请参阅文件admin2Codes.txt
admin3 code code for third level administrative division, varchar(20) varchar(20) 三级行政区代码
admin4 code code for fourth level administrative division, varchar(20) varchar(20) 第四级行政代码
population bigint (8 byte int) bigint 人口,(8字节int)
elevation in meters, integer integer 海拔高度,米
dem digital elevation model, srtm3 or gtopo30, average elevation of 3’‘x3’’ (ca 90mx90m) or 30’‘x30’’ (ca 900mx900m) area in meters, integer. srtm processed by cgiar/ciat. integer 数字高程模型, srtm3或gtopo30,平均海拔3"x3"(ca90mx90m)或30"x30"(ca900mx900m)区域,srtm处理 通过国际农业研究磋商组织/支持过渡委. 单位米
timezone the iana timezone id (see file timeZone.txt) varchar(40) varchar(40) 时区id,请参阅文件timeZone.txt
modification date date of last modification in yyyy-MM-dd format date 最后一次修改日期,以yyyy-MM-dd格式

AdminCodes:
Most adm1 are FIPS codes. ISO codes are used for US, CH, BE and ME. UK and Greece are using an additional level between country and fips code. The code ‘00’ stands for general features where no specific adm1 code is defined.
The corresponding admin feature is found with the same countrycode and adminX codes and the respective feature code ADMx.



备注:大多数行政区码为FIPS编码,ISO编码被用于美国、瑞士、比利时和黑山共和国,英国和希腊使用除了国家和FIPS代码外的另外级别。代码00代表未定义特定的一级行政区代码的一般要素相关的行政区要素。


  1. 地名别名表字段(The table ‘alternate names’ ):
字段名
英文释义
字段类型
中文释义
alternateNameId the id of this alternate name, int integer 别名id
geonameid geonameId referring to id in table ‘geoname’, int integer geonameID,与geoname表id相关联
isolanguage iso 639 language code 2- or 3-characters, optionally followed by a hyphen and a countrycode for country specific variants (ex:zh-CN) or by a variant name (ex: zh-Hant); 4-characters ‘post’ for postal codes and ‘iata’,‘icao’ and faac for airport codes, fr_1793 for French Revolution names, abbr for abbreviation, link to a website (mostly to wikipedia), wkdt for the wikidataid, varchar(7) varchar(7) iso 639语言代码,2个或3个字符,后面可选择连字符和国家特定变体的国家代码(ex:zh-CN)或变体名称(ex:zh-Hant);4个字符的“post”表示邮政编码,“iata”、“cao”和faac表示机场编码,fr_1793表示法国大革命的名称,“abbr”是缩写,指向网站的链接(主要指向维基百科),wkdt代表wiki data id。
alternate name alternate name or name variant, varchar(400) varchar(400) 备用名称或名称变体
isPreferredName ‘1’, if this alternate name is an official/preferred name varchar(2) 1’,如果该替代名称是官方名称/首选名称
isShortName ‘1’, if this is a short name like ‘California’ for ‘State of California’ varchar(2) “1”,如果这是一个类似“California”的短名称,表示“State of California”
isColloquial ‘1’, if this alternate name is a colloquial or slang term. Example: ‘Big Apple’ for ‘New York’. varchar(2) “1”,如果这个替代名称是口语或俚语。例如:“大苹果”的意思是“纽约”。
isHistoric ‘1’, if this alternate name is historic and was used in the past. Example ‘Bombay’ for ‘Mumbai’. varchar(2) “1”,如果此备用名称是历史名称并且在过去使用过。例如’Bombay’ for ‘Mumbai’.(孟买)
from from period when the name was used date 从使用名称的时期开始
to to period when the name was used date 到使用名称的时间段

  1. 边界:

简化的国家边界有两种略有不同的格式:
(1)shapes_simplified_low:

字段 说明
geonameId 要素的geonameId
geoJson geoJson格式的边界

(2)shapes_simplified_low.json:
类似于上述文件,但完全采用geojson格式。geonameId是geojson字符串中的一个特性属性。

每个国家的功能数量以及功能类别和代码分布的统计信息:http://www.geonames.org/statistics/

  1. 要素类代码:(feature classes)
代码 含义
A: country, state, region,… 国家、州、区域
H: stream, lake, … 河流、湖泊
L: parks,area, … 公园、区域
P: city, village,… 城市、村庄
R: road, railroad 公路、铁路
S: spot, building, farm 点、建筑、农场
T: mountain,hill,rock,… 山峰、山丘、岩石
U: undersea 海底
V: forest,heath,… 森林、荒地
  1. 大洲代码:(Continent codes )
代码 ID 名称
AF : Africa geonameId=6255146 非洲
AS : Asia geonameId=6255147 亚洲
EU : Europe geonameId=6255148 欧洲
NA : North America geonameId=6255149 北美洲
OC : Oceania geonameId=6255151 大洋洲
SA : South America geonameId=6255150 南美洲
AN : Antarctica geonameId=6255152 南极洲

如果您发现错误或遗漏了重要位置,请使用我们网站上的wiki风格编辑界面
https://www.geonames.org以纠正不准确之处并添加新记录。 以地名社区的名义感谢您的宝贵贡献。


数据源: https://www.geonames.org/data-sources.html
更多信息也可在地理名称常见问题中找到:https://forum.geonames.org/gforum/forums/show/6.page
论坛:https://forum.geonames.org
或谷歌:https://groups.google.com/group/geonames

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐