datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Update 3-letter code for Kosovo

Open asgarli opened this issue 9 years ago • 3 comments

Commonly accepted 3-letter code for Kosovo is XKX. Right now it's impossible to color it on the map, since it has an ID of -99. Even if the code isn't correct, it's better to have it this way than -99

asgarli avatar Dec 23 '16 20:12 asgarli

Same issue for Somalia and Northern Cyprus.

nicooprat avatar Mar 09 '17 13:03 nicooprat

I would suggest that we use the codes available in Natural earth since all the data is derived from there. According to their maintainers, the field to be used is 'adm0_a3' (available inside the individual geojson files here)

Hence the corresponding codes for the disputed regions would be: Kosovo -> KOS Northern Cyprus -> CYN Somaliland -> SOL

The same code is used as filename in the individual geojson files: https://github.com/markmarkoh/datamaps/tree/master/src/js/data

Reference: https://github.com/nvkelso/natural-earth-vector/blob/master/housekeeping/ne_admin_0_details.xls https://github.com/nvkelso/natural-earth-vector/issues/134 https://github.com/nvkelso/natural-earth-vector/issues/168

shailendher avatar Mar 15 '17 11:03 shailendher

Why does this pull request still open? This issue is still present in map and I have a problem with mapping data to this particular set of countries because of that.

Okami92 avatar Nov 05 '19 13:11 Okami92