Comments (7)
AW does not exist by a mistake - it exists in the original data, but lost in the export http://geolocated.org/AW/
Some locations, as SX, were moved under their "top level" origins - http://geolocated.org/NL/3elo3okh
Probably that was a mistake.
I will try to tidy it up, but it's almost a manual work.
from 3166.
That's not hard to check, but not so easy to find a fix. It was sure it does contain everything.
from 3166.
It seems "CW" Curaçao is still missing. Is there any plan to update it?
from 3166.
Hi there, I matched against Natural Earth data and got the following missing items.
const ISOCountryListUN = require('iso3166-2-db/countryList/dispute/UN/en')
const ISOCountryList = require('iso3166-2-db/countryList/en')
No result in ISOCountryList for (BV) Bouvet Island
No result in ISOCountryListUN for (BV) Bouvet Island
No result in ISOCountryList for (EH) Western Sahara
No result in ISOCountryListUN for (EH) Western Sahara
No result in ISOCountryList for (CC) Cocos (Keeling) Islands
No result in ISOCountryListUN for (CC) Cocos (Keeling) Islands
No result in ISOCountryList for (CW) Curaçao
No result in ISOCountryListUN for (CW) Curaçao
No result in ISOCountryList for (NC) New Caledonia
No result in ISOCountryListUN for (NC) New Caledonia
No result in ISOCountryList for (MF) Saint Martin (French part)
No result in ISOCountryListUN for (MF) Saint Martin (French part)
No result in ISOCountryList for (PF) French Polynesia
No result in ISOCountryListUN for (PF) French Polynesia
No result in ISOCountryList for (HM) Heard Island and McDonald Islands
No result in ISOCountryListUN for (HM) Heard Island and McDonald Islands
No result in ISOCountryList for (AX) Åland Islands
No result in ISOCountryListUN for (AX) Åland Islands
No result in ISOCountryList for (AW) Aruba
No result in ISOCountryListUN for (AW) Aruba
No result in ISOCountryList for (SJ) Svalbard and Jan Mayen
No result in ISOCountryListUN for (SJ) Svalbard and Jan Mayen
No result in ISOCountryList for (CX) Christmas Island
No result in ISOCountryListUN for (CX) Christmas Island
No result in ISOCountryList for (SX) Sint Maarten (Dutch part)
No result in ISOCountryListUN for (SX) Sint Maarten (Dutch part)
No result in ISOCountryList for (NF) Norfolk Island
No result in ISOCountryListUN for (NF) Norfolk Island
No result in ISOCountryList for (XK) Republic of Kosovo
No result in ISOCountryListUN for (XK) Republic of Kosovo
No result in ISOCountryList for (BL) Saint Barthélemy
No result in ISOCountryListUN for (BL) Saint Barthélemy
I'd be happy to provide you the spatial objects if that helps?
from 3166.
No result in ISOCountryListUN for (EH) Western Sahara
It's interesting that EH exists in dispute configuration as 195838
OSM region, deleted 7 years ago. Now EH is represented by https://www.openstreetmap.org/node/2000314677.
Both records are not present in iso3166 database. That is definitely a mistake.
The code XK is being used by the European Commission[28] the IMF, and SWIFT,[29] the CLDR, and other organizations as a temporary country code for Kosovo.[30]
This is why disputes are here - not all codes are expected to present, or present on the top level. For example NF
is marked as "not independent", however it's region (https://www.openstreetmap.org/relation/2574988) is also absent in the database 😓
I'd be happy to provide you the spatial objects if that helps?
Ideally, an information record like the ones you can find at https://github.com/esosedi/3166/blob/master/data/iso3166-2.json - that is the main data file, everything else is derived from it.
Unfortuantely it does not support any "auto-update".
from 3166.
@theKashey we have some users asking for the presence of Kosovo (XK). We can hack something to add the code on our end in the meantime, but are there any plans to add Kosovo to this repo? Kosovo appears to now be recognized by most western countries.
I see that XK is already referenced in the Russian exclusion file — I'm not sure if we'd need to add it to other country-specific exclusion configs.
from 3166.
The first step to resolve the current situation is to update the sources as there is no XK present in the 3166 file, as well as osm and Geonames lookup.
We can hack something to add the code on our end in the meantime
The only way is to add a new record into datasource - https://github.com/esosedi/3166/blob/4967dc5a9cf50c1015592be0ba3050288d60a1a5/data/iso3166-2.json
May be it's a good moment to split one huge source into multiple small configs it will be easier to handle.
from 3166.
Related Issues (18)
- Kenya subdivisions out of date HOT 2
- Wrong subdivision codes in Albania HOT 5
- Wrong name for Spain in Chinese
- Wrong name for Koreas and Indonesia (with patch) HOT 2
- Incorrect Geoname IDs for France and Gibraltar HOT 1
- Most part of regions are wrong in Portuguese HOT 1
- Incorrect subdivision codes for France HOT 1
- Differentiate between Washington State and Washington D.C HOT 2
- How to contribute? I found some incorrect/outdated ISO_3166-2 code for Vietnam regions HOT 2
- Brazilian state in portuguese is not translated
- Support typescript HOT 5
- Ukrainian Oblast Dnipropetrovsk encoding issue in russian language HOT 3
- PL subdivisions renamed in 2018 HOT 1
- CN subdivision has been updated in 2017
- `data` folder missing from nom package HOT 2
- Norway counties got changed in 2020
- Mexico City ISO 3166-2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3166.