@winrisef/world-cities 0.1.134 → 0.1.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COVERAGE.md +252 -260
- package/NOTICE.md +51 -85
- package/README.md +4 -6
- package/data/coverage.json +1 -1
- package/licenses/chinese-place-names.md +2 -2
- package/licenses/municipal-rosters.md +135 -135
- package/licenses/official-data.md +1 -1
- package/licenses/single-city-review.md +1 -1
- package/package.json +1 -1
package/NOTICE.md
CHANGED
|
@@ -4,7 +4,7 @@ This database is based predominantly on official administrative-division referen
|
|
|
4
4
|
|
|
5
5
|
Source attribution: includes data derived from [Countries States Cities Database](https://github.com/dr5hn/countries-states-cities-database/releases/tag/v5.2.0-export.1) by Darshan Gada and contributors, snapshot v5.2.0-export.1, under the Open Database License 1.0.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Data snapshots and SHA-256 digests: `sources.lock.json`. Pinyin: `pinyin-pro`.
|
|
8
8
|
|
|
9
9
|
Mainland China administrative codes and official names are selected from [mumuy/data_location](https://github.com/mumuy/data_location), used under MIT (see licenses/data_location-MIT.txt).
|
|
10
10
|
|
|
@@ -12,92 +12,58 @@ The China Institute of Toponymy supplied Xiamen's city point to the [UN Group of
|
|
|
12
12
|
|
|
13
13
|
The public-domain [Natural Earth populated places, 1:10m v5.1.2](https://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-populated-places/) supplies cross-checks, names and five city-territory coordinates.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
City classifications, names and coordinates: [Wikidata (CC0)](https://www.wikidata.org/wiki/Wikidata:Licensing).
|
|
16
16
|
|
|
17
17
|
The UK city selection is based on the [Cabinet Office List of cities](https://www.gov.uk/government/publications/list-of-cities/list-of-cities-html). Contains public sector information licensed under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
|
|
18
18
|
|
|
19
19
|
National city registers and additional urban coordinates are credited in [official-data.md](licenses/official-data.md), including the U.S. Census Bureau, IBGE, Destatis, Japan MIC, Philippine Statistics Authority and GeoNames.
|
|
20
20
|
|
|
21
|
-
Local-government rosters and territorial place names
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Localities and municipal equivalents
|
|
26
|
-
|
|
27
|
-
Municipal registers,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
The 0.1.62 reviews credit the UAE federal and emirate governments, the Moroccan Haut-Commissariat au Plan and Interior Ministry, the Morocco Census crosswalk, GISCO, GeoNames and Wikidata. See [source details](licenses/municipal-rosters.md).
|
|
72
|
-
|
|
73
|
-
The 0.1.63 Central African Republic review credits ICASEES, the national elections authority, the U.S. Census Bureau, OCHA COD partners, MINUSCA, GeoNames and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
74
|
-
|
|
75
|
-
The 0.1.64 Türkiye review credits the Turkish Official Gazette and the Ministry of Environment, Urbanisation and Climate Change, the Ministry of Interior, OCHA COD partners, GeoNames and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
76
|
-
|
|
77
|
-
The 0.1.68 Libya review credits the Ministry of Local Government, Libya's High National Elections Commission, the Libyan Legal Archive, and OCHA's Libya COD partners. Representative coordinates credit GeoNames and OpenStreetMap contributors where indicated. See [source details](licenses/municipal-rosters.md).
|
|
78
|
-
|
|
79
|
-
The 0.1.69 Russia review credits the Bank of Russia publications of OKATO and OKTMO, the Federal Agency on Technical Regulating and Metrology, the Leningrad Oblast legislature, Kurskstat and GeoNames. See [source details](licenses/municipal-rosters.md).
|
|
80
|
-
|
|
81
|
-
The 0.1.70 Iran review credits the Statistical Centre of Iran, the public cabinet decisions where indicated, GeoNames, OpenStreetMap contributors and Wikidata. See [source details](licenses/municipal-rosters.md).
|
|
82
|
-
|
|
83
|
-
The 0.1.72 Lebanon review credits the Ministry of Interior and Municipalities, UNDP Lebanon, the Municipality of Tabarja and Kfaryassine, Lebanon's Central Administration of Statistics, OCHA, GeoNames and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
84
|
-
|
|
85
|
-
The 0.1.73 Somalia review credits the Somali Disaster Management Agency, OCHA, FAO SWALIM, GeoNames and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
86
|
-
|
|
87
|
-
The 0.1.74 Curaçao and Sint Maarten review credits their spatial planning ministries and Curaçao's Central Bureau of Statistics. See [source details](licenses/municipal-rosters.md).
|
|
88
|
-
|
|
89
|
-
The 0.1.75 Ethiopia review credits the Ethiopian Statistical Service, regional Bureaux of Finance and Economic Development, OCHA, GeoNames and the UNHCR map referenced by DIIS. See [source details](licenses/municipal-rosters.md).
|
|
90
|
-
|
|
91
|
-
The 0.1.76 Egypt review credits the Cabinet’s Information and Decision Support Center, CAPMAS, the New Urban Communities Authority, the Egyptian General Survey Authority, OCHA, GeoNames, and keltokhy/Egypt_NUCA’s transcription of the official city planning layer. See [source details](licenses/municipal-rosters.md).
|
|
92
|
-
|
|
93
|
-
The 0.1.77 Pakistan review credits the Pakistan Bureau of Statistics, Survey of Pakistan, Punjab and Balochistan local government departments, Khyber Pakhtunkhwa local government offices, the Azad Jammu and Kashmir Planning and Development Department, the Gilgit-Baltistan Election Commission, OCHA, GeoNames, and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
94
|
-
|
|
95
|
-
The 0.1.78 South Sudan review credits the National Audit Chamber, the National Bureau of Statistics, the Ministry of Finance and Planning, the National Elections Commission, Abyei and Warrap local administrations, OCHA, IOM, GeoNames, and OpenStreetMap contributors. See [source details](licenses/municipal-rosters.md).
|
|
96
|
-
|
|
97
|
-
The 0.1.80 India review credits the Ministry of Panchayati Raj, the National Informatics Centre (Bharatmaps), the Central Pollution Control Board, Ministry of Housing and Urban Affairs, Survey of India, India Post, the respective governments of Delhi, Telangana, Karnataka and Maharashtra, GeoNames, OpenStreetMap and Wikimedia contributors. See [source details](licenses/municipal-rosters.md).
|
|
98
|
-
|
|
99
|
-
The 0.1.81 partial review credits Mali's National Directorate of Territorial Planning, National Institute of Statistics, Ministry of Economy and Finance and Geographic Institute, Chad's General Secretariat of Government and INSEED, Liberia's Executive Mansion, Ministry of Local Government, LISGIS and the Liberia News Agency, and the OCHA, UNMEER, GeoNames and OpenStreetMap contributors named in the [source register](licenses/municipal-rosters.md).
|
|
100
|
-
|
|
101
|
-
The 0.1.82 partial review credits the Afghanistan National Portal and the government and UN-Habitat State of Afghan Cities project, Iraq's Basra Municipalities Directorate, Syria's published city-council decrees and local administration ministry, and OCHA and GeoNames for representative points. See [source details](licenses/municipal-rosters.md).
|
|
102
|
-
|
|
103
|
-
The 0.1.84 review credits Syria's Ministry of Local Administration and Environment for its published council appointment orders, the Syrian Official Gazette and SANA for later records, and OCHA and GeoNames for populated-place coordinates. Mali's added points were checked against its 2023 commune act and OCHA/IGM district boundaries. See [source details](licenses/municipal-rosters.md).
|
|
21
|
+
Local-government rosters and territorial place names are documented in [the source register](licenses/single-city-review.md).
|
|
22
|
+
|
|
23
|
+
Municipal data uses HCP census identifiers, GISCO 2024 geography and location points credited in [the source register](licenses/municipal-followup.md).
|
|
24
|
+
|
|
25
|
+
Localities and municipal equivalents are credited in [the locality source register](licenses/search-localities.md).
|
|
26
|
+
|
|
27
|
+
Municipal registers, coordinate sources and license details are listed by country in [the municipal source register](licenses/municipal-rosters.md).
|
|
28
|
+
|
|
29
|
+
Chinese names and transliterations are described in [the Chinese name sources](licenses/chinese-place-names.md).
|
|
30
|
+
|
|
31
|
+
## Additional source attribution
|
|
32
|
+
|
|
33
|
+
See the [municipal source register](licenses/municipal-rosters.md) for country-specific sources and terms.
|
|
34
|
+
|
|
35
|
+
- Australia, South Africa, and Switzerland cite official municipal registers, boundary-derived points, and GeoNames in [the municipal source register](licenses/municipal-rosters.md).
|
|
36
|
+
- Spain, Italy, and Mexico use the official INE and IGN, Istat, and INEGI registers, with source and point methods documented in [the municipal source register](licenses/municipal-rosters.md).
|
|
37
|
+
- Metropolitan France uses Insee's Code officiel géographique and Etalab's 2026 mairie point layer under Licence Ouverte 2.0.
|
|
38
|
+
- Angola’s National Institute of Statistics for the Census Atlas, Bolivia’s INE, SDSN Bolivia and Laboratorio de Tecnologías Sociales for the municipal geodata (CC BY 4.0), and the Mongolian NSO and OCHA for the COD-AB reference (CC BY 3.0 IGO). Same-name settlement coordinates use GeoNames (CC BY 4.0).
|
|
39
|
+
- American Samoa, Ukraine and Venezuela: U.S. Census Bureau TIGER/Line data, Ukraine’s 2026 KATOTTG and OpenStreetMap contributor coordinates cross-referenced by ua-geo (ODbL), and Venezuela INE boundaries from OCHA (CC BY 3.0 IGO).
|
|
40
|
+
- the Tonga Statistics Department and Department of Lands, the Palau National Government, Suriname’s electoral secretariat, and Equatorial Guinea’s national statistical institute and government press office. Reference points use GeoNames, geoBoundaries, and OpenStreetMap contributors where indicated.
|
|
41
|
+
- Nigeria’s Office of the Surveyor-General and Independent National Electoral Commission, Burkina Faso’s INSD and Institut Géographique du Burkina, and the Lao Statistics Bureau and National Geographic Department. Geographic points and boundaries provided through OCHA COD-AB are credited under [CC BY 3.0 IGO](https://creativecommons.org/licenses/by/3.0/igo/).
|
|
42
|
+
- Argentina’s INDEC and Georef, Algeria’s national gazette and syscli’s MIT transcription ([license](licenses/syscli-algeria-MIT.txt)), and Julia Clark’s reference map of Tunisian municipalities. Boundaries from OpenStreetMap-derived layers are credited to OpenStreetMap contributors.
|
|
43
|
+
- Senegal's ANSD and ONDDL, Vie-Publique and OrvLabs, Niger's INS and Ministry of the Interior, and the Turks and Caicos Islands Attorney General's Chambers. Point sources credit GeoNames, OpenStreetMap contributors, and OCHA's COD partners where indicated.
|
|
44
|
+
- Statistics Canada, the relevant Canadian provincial governments, Côte d’Ivoire’s General Directorate of Taxes and Treasury, and Bhutan’s Ministry of Infrastructure and Transport and Election Commission. Representative points also use GeoNames and OpenStreetMap contributors.
|
|
45
|
+
- the Sudanese Ministry of Justice and COD-AB contributors, the Parliament and Central Statistical Organization of Yemen, and Kuwait’s Ministry of Justice. Point attribution is recorded per place, including GeoNames, Overture Maps, and OCHA COD partners where indicated.
|
|
46
|
+
- Mauritania’s ANSADE, Ministry of the Interior, GeoNames, Open Admin Data and CheikhEbeoumar/mauritania-geo, together with the Saint Kitts and Nevis Law Commission and the Nevis Island Administration.
|
|
47
|
+
- Myanmar sources include the General Administration Department and the Myanmar Information Management Unit. The MIMU-sourced elements are available for noncommercial reuse with attribution under [MIMU terms](https://themimu.info/license/). Representative points also credit GeoNames and OpenStreetMap contributors as indicated in [the source register](licenses/municipal-rosters.md).
|
|
48
|
+
- Madagascar sources include the Independent National Electoral Commission, the National Legislation Centre, BNGRC and OCHA for election and administrative reference data. Coordinates also credit GeoNames and OpenStreetMap contributors.
|
|
49
|
+
- Palestine sources include the Central Elections Commission, the Municipal Development and Lending Fund, and GeoNames.
|
|
50
|
+
- Guinea and Guinea-Bissau sources include the respective ministries, the national statistical agencies, OCHA COD partners, GeoNames, OpenStreetMap contributors, and the additional point references documented per row.
|
|
51
|
+
- Eritrea sources include the Eritrean ministries, the Central Region Administration, African Development Bank project materials, OCHA COD partners, and GeoNames.
|
|
52
|
+
- Korea (North) sources include the Korean national statistics office and Ministry of Unification, the administrative law collection published by the National Intelligence Service, GeoNames, and the Endonym Atlas.
|
|
53
|
+
- the UAE federal and emirate governments, the Moroccan Haut-Commissariat au Plan and Interior Ministry, the Morocco Census crosswalk, GISCO, GeoNames and Wikidata.
|
|
54
|
+
- Central African Republic sources include ICASEES, the national elections authority, the U.S. Census Bureau, OCHA COD partners, MINUSCA, GeoNames and OpenStreetMap contributors.
|
|
55
|
+
- Türkiye sources include the Turkish Official Gazette and the Ministry of Environment, Urbanisation and Climate Change, the Ministry of Interior, OCHA COD partners, GeoNames and OpenStreetMap contributors.
|
|
56
|
+
- Libya sources include the Ministry of Local Government, Libya's High National Elections Commission, the Libyan Legal Archive, and OCHA's Libya COD partners. Representative coordinates credit GeoNames and OpenStreetMap contributors where indicated.
|
|
57
|
+
- Russia sources include the Bank of Russia publications of OKATO and OKTMO, the Federal Agency on Technical Regulating and Metrology, the Leningrad Oblast legislature, Kurskstat and GeoNames.
|
|
58
|
+
- Iran sources include the Statistical Centre of Iran, the public cabinet decisions where indicated, GeoNames, OpenStreetMap contributors and Wikidata.
|
|
59
|
+
- Lebanon sources include the Ministry of Interior and Municipalities, UNDP Lebanon, the Municipality of Tabarja and Kfaryassine, Lebanon's Central Administration of Statistics, OCHA, GeoNames and OpenStreetMap contributors.
|
|
60
|
+
- Somalia sources include the Somali Disaster Management Agency, OCHA, FAO SWALIM, GeoNames and OpenStreetMap contributors.
|
|
61
|
+
- Curaçao and Sint Maarten sources include their spatial planning ministries and Curaçao's Central Bureau of Statistics.
|
|
62
|
+
- Ethiopia sources include the Ethiopian Statistical Service, regional Bureaux of Finance and Economic Development, OCHA, GeoNames and the UNHCR map referenced by DIIS.
|
|
63
|
+
- Egypt sources include the Cabinet’s Information and Decision Support Center, CAPMAS, the New Urban Communities Authority, the Egyptian General Survey Authority, OCHA, GeoNames, and keltokhy/Egypt_NUCA’s transcription of the official city planning layer.
|
|
64
|
+
- Pakistan sources include the Pakistan Bureau of Statistics, Survey of Pakistan, Punjab and Balochistan local government departments, Khyber Pakhtunkhwa local government offices, the Azad Jammu and Kashmir Planning and Development Department, the Gilgit-Baltistan Election Commission, OCHA, GeoNames, and OpenStreetMap contributors.
|
|
65
|
+
- South Sudan sources include the National Audit Chamber, the National Bureau of Statistics, the Ministry of Finance and Planning, the National Elections Commission, Abyei and Warrap local administrations, OCHA, IOM, GeoNames, and OpenStreetMap contributors.
|
|
66
|
+
- India sources include the Ministry of Panchayati Raj, the National Informatics Centre (Bharatmaps), the Central Pollution Control Board, Ministry of Housing and Urban Affairs, Survey of India, India Post, the respective governments of Delhi, Telangana, Karnataka and Maharashtra, GeoNames, OpenStreetMap and Wikimedia contributors.
|
|
67
|
+
- Mali's National Directorate of Territorial Planning, National Institute of Statistics, Ministry of Economy and Finance and Geographic Institute, Chad's General Secretariat of Government and INSEED, Liberia's Executive Mansion, Ministry of Local Government, LISGIS and the Liberia News Agency, and the OCHA, UNMEER, GeoNames and OpenStreetMap contributors named in the [source register](licenses/municipal-rosters.md).
|
|
68
|
+
- the Afghanistan National Portal and the government and UN-Habitat State of Afghan Cities project, Iraq's Basra Municipalities Directorate, Syria's published city-council decrees and local administration ministry, and OCHA and GeoNames for representative points.
|
|
69
|
+
- Syria's Ministry of Local Administration and Environment for its published council appointment orders, the Syrian Official Gazette and SANA for later records, and OCHA and GeoNames for populated-place coordinates. Mali's added points were checked against its 2023 commune act and OCHA/IGM district boundaries.
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ The administrative rosters are based almost entirely on official national source
|
|
|
15
15
|
| Cities, city-level equivalents and representative places | 122,061 |
|
|
16
16
|
| City records with English, Chinese and pinyin names | 100% |
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Coverage: 229 reference-checked, 5 major-city selections, 13 not applicable. See [coverage details](COVERAGE.md). Chinese names without established translations are translated or transliterated.
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
|
@@ -49,7 +49,7 @@ const results = cityList.filter(city =>
|
|
|
49
49
|
Load JSON directly without installing the package. Pin a version to keep the data consistent:
|
|
50
50
|
|
|
51
51
|
```js
|
|
52
|
-
const base = 'https://cdn.jsdelivr.net/npm/@winrisef/world-cities@0.1.
|
|
52
|
+
const base = 'https://cdn.jsdelivr.net/npm/@winrisef/world-cities@0.1.136/data'
|
|
53
53
|
const countries = await fetch(`${base}/countries.json`).then(r => r.json())
|
|
54
54
|
const cities = await fetch(`${base}/cities/CN.json`).then(r => r.json())
|
|
55
55
|
```
|
|
@@ -69,7 +69,6 @@ You can also serve the packaged `data/` directory yourself and change `base` acc
|
|
|
69
69
|
- `subregion` may refer to an entry in `children`, or contain a lower-level name or code from the source roster. Treat `id` values as opaque strings.
|
|
70
70
|
- `kind` distinguishes `city`, `capital`, `municipality`, `prefecture` and `locality` records.
|
|
71
71
|
- `lat` and `lon` are representative WGS84 coordinates. Time zones can be resolved separately from coordinates.
|
|
72
|
-
- Mainland China, Taiwan, Hong Kong and Macao are grouped under `CN`; `TW`, `HK` and `MO` are corresponding regional subsets. Use `countries.json` for global totals. Mainland China includes prefecture-level cities, centrally administered municipalities and equivalent autonomous prefectures, prefectures and leagues, excluding county-level or lower divisions.
|
|
73
72
|
|
|
74
73
|
## Development
|
|
75
74
|
|
|
@@ -82,7 +81,7 @@ npm run pack:local
|
|
|
82
81
|
|
|
83
82
|
## License and attribution
|
|
84
83
|
|
|
85
|
-
The database is licensed under [ODbL 1.0](LICENSE), subject to the source-specific reuse conditions documented in [`licenses/`](licenses/). Retain the license and [data attribution](NOTICE.md) when using or redistributing the data.
|
|
84
|
+
The database is licensed under [ODbL 1.0](LICENSE), subject to the source-specific reuse conditions documented in [`licenses/`](licenses/). Retain the license and [data attribution](NOTICE.md) when using or redistributing the data.
|
|
86
85
|
|
|
87
86
|
---
|
|
88
87
|
|
|
@@ -101,7 +100,7 @@ The database is licensed under [ODbL 1.0](LICENSE), subject to the source-specif
|
|
|
101
100
|
| 城市及同级单位、代表地点 | 122,061 |
|
|
102
101
|
| 城市中英文及拼音覆盖率 | 100% |
|
|
103
102
|
|
|
104
|
-
229
|
|
103
|
+
覆盖状态:229 个名录已核验,5 个仅收录主要城市,13 个不适用市级建制。详见 [数据覆盖](COVERAGE.md)。无通行中文译名的地点采用音译或意译。
|
|
105
104
|
|
|
106
105
|
### 安装与使用
|
|
107
106
|
|
|
@@ -127,7 +126,6 @@ npm install @winrisef/world-cities
|
|
|
127
126
|
- `subregion` 可以是所属 `children` 记录的 ID,也可能是来源名录中的下级行政区名称或代码。`id` 应视为不透明字符串。
|
|
128
127
|
- `kind` 区分城市、首都、同级自治单位、同级地区以及供检索的代表地点。
|
|
129
128
|
- `lat`、`lon` 为地点代表坐标(WGS84);时区由调用方按经纬度映射。
|
|
130
|
-
- 中国大陆、台湾、香港和澳门统一归入 `CN`;`TW`、`HK`、`MO` 提供相应区域筛选入口,全球汇总以 `countries.json` 为准。中国大陆收录地级市、直辖市及同级自治州、地区、盟,不扩展到县级及以下。
|
|
131
129
|
|
|
132
130
|
### 维护
|
|
133
131
|
|