Compare commits

...

2 Commits

Author SHA1 Message Date
fgerber
72b2148e4b Change some country names 2024-04-07 22:21:08 +02:00
fgerber
513660b3a4 Reorganize countries in 'Others' group 2024-04-07 22:04:33 +02:00
3 changed files with 38 additions and 41 deletions

View File

@ -1896,7 +1896,7 @@ MAR_FB|MAR|Fès-Boulemane|19366
MAR_GB|MAR|Gharb-Chrarda-Béni Hssen|8782 MAR_GB|MAR|Gharb-Chrarda-Béni Hssen|8782
MAR_GC|MAR|Grand Casablanca|879 MAR_GC|MAR|Grand Casablanca|879
MAR_GE|MAR|Guelmim-Es-Semara|64701 MAR_GE|MAR|Guelmim-Es-Semara|64701
MAR_LB|MAR|Laâyoune-Boujdour-Sakia El H|5763 MAR_LB|MAR|Laâyoune-Boujdour-Sakia El Hamra|5763
MAR_MK|MAR|Marrakech-Tensift-Al Haouz|32483 MAR_MK|MAR|Marrakech-Tensift-Al Haouz|32483
MAR_MT|MAR|Meknès-Tafilalet|60303 MAR_MT|MAR|Meknès-Tafilalet|60303
MAR_OR|MAR|Oriental|59914 MAR_OR|MAR|Oriental|59914
@ -3295,7 +3295,7 @@ ARE_UQ|ARE|Ummal-Qaywayn|746
GBR_NIR|GBR|Northern Ireland|14134 GBR_NIR|GBR|Northern Ireland|14134
GBR_SCT|GBR|Scotland|78704 GBR_SCT|GBR|Scotland|78704
GBR_WLS|GBR|Wales|20818 GBR_WLS|GBR|Wales|20818
GBR_NA|GBR|NA|130659 GBR_NA|GBR|England|130659
USA_AL|USA|Alabama|133995 USA_AL|USA|Alabama|133995
USA_AK|USA|Alaska|1501231 USA_AK|USA|Alaska|1501231
USA_AZ|USA|Arizona|296082 USA_AZ|USA|Arizona|296082
@ -3532,4 +3532,3 @@ Z05_UT|IND|Uttarakhand|259
Z09_UT|IND|Uttarakhand|987 Z09_UT|IND|Uttarakhand|987
Z06_JK|PAK|Azad Kashmir|13931 Z06_JK|PAK|Azad Kashmir|13931
Z06_NA|PAK|Gilgit-Baltistan|68053 Z06_NA|PAK|Gilgit-Baltistan|68053
GBR_NA|GBR|England|417

View File

@ -8,8 +8,6 @@ enum class Country(
HKG("Hong Kong", 1104), HKG("Hong Kong", 1104),
MAC("Macao", 32), MAC("Macao", 32),
ANT("Netherlands Antilles", 800), ANT("Netherlands Antilles", 800),
AFG("Afghanistan", 645487), AFG("Afghanistan", 645487),
XAD("Akrotiri and Dhekelia", 234), XAD("Akrotiri and Dhekelia", 234),
ALA("Åland", 1483), ALA("Åland", 1483),
@ -217,7 +215,7 @@ enum class Country(
SLB("Solomon Islands", 28686), SLB("Solomon Islands", 28686),
SOM("Somalia", 637672), SOM("Somalia", 637672),
ZAF("South Africa", 1224059), ZAF("South Africa", 1224059),
SGS("South Georgia and the South Sand", 4085), SGS("South Georgia and the South Sandwich Islands", 4085),
KOR("South Korea", 100721), KOR("South Korea", 100721),
SSD("South Sudan", 632186), SSD("South Sudan", 632186),
ESP("Spain", 506617), ESP("Spain", 506617),
@ -248,7 +246,7 @@ enum class Country(
ARE("United Arab Emirates", 71429), ARE("United Arab Emirates", 71429),
GBR("United Kingdom", 244732), GBR("United Kingdom", 244732),
USA("United States", 9477483), USA("United States", 9477483),
UMI("United States Minor Outlying Isl", 47), UMI("United States Minor Outlying Islands", 47),
URY("Uruguay", 178103), URY("Uruguay", 178103),
UZB("Uzbekistan", 447894), UZB("Uzbekistan", 447894),
VUT("Vanuatu", 12384), VUT("Vanuatu", 12384),

View File

@ -6,6 +6,8 @@ enum class Group(override val fullName: String, override val children: List<GeoL
EEE( EEE(
"Europe", listOf( "Europe", listOf(
XAD,
ALA,// Åland Islands: an autonomous region of Finland, but not a member of the EU or UN
ALB, ALB,
AND, AND,
AUT, AUT,
@ -18,14 +20,19 @@ enum class Group(override val fullName: String, override val children: List<GeoL
CZE, CZE,
DNK, DNK,
EST, EST,
FRO, // Faroe Islands: an autonomous region of Denmark
FIN, FIN,
FRA, FRA,
DEU, DEU,
GIB, // Gibraltar: a British overseas territory located at the southern tip of the Iberian Peninsula
GRC, GRC,
GGY, // Guernsey: a British Crown dependency in the English Channel
HUN, HUN,
ISL, ISL,
IRL, IRL,
IMN, // Isle of Man: a British Crown dependency located in the Irish Sea
ITA, ITA,
JEY, // Jersey: a British Crown dependency located in the English Channel
KAZ, KAZ,
XKO, XKO,
LVA, LVA,
@ -48,12 +55,12 @@ enum class Group(override val fullName: String, override val children: List<GeoL
SVK, SVK,
SVN, SVN,
ESP, ESP,
SJM, // Svalbard and Jan Mayen: an archipelago administered by Norway
SWE, SWE,
CHE, CHE,
UKR, UKR,
GBR, GBR,
VAT, VAT,
XAD,
) )
), ),
ABB( ABB(
@ -64,9 +71,12 @@ enum class Group(override val fullName: String, override val children: List<GeoL
BHR, BHR,
BGD, BGD,
BTN, BTN,
IOT, // British Indian Ocean Territory: a British overseas territory in the Indian Ocean
BRN, BRN,
KHM, KHM,
CCK, // Cocos (Keeling) Islands: an Australian external territory in the Indian Ocean
CHN, CHN,
CXR, // Christmas Island: an Australian external territory in the Indian Ocean
GEO, GEO,
HKG, HKG,
IND, IND,
@ -131,8 +141,8 @@ enum class Group(override val fullName: String, override val children: List<GeoL
EGY, EGY,
GNQ, GNQ,
ERI, ERI,
SWZ,
ETH, ETH,
ATF, // French Southern and Antarctic Lands: a territory of France located in the southern Indian Ocean
GAB, GAB,
GMB, GMB,
GHA, GHA,
@ -165,6 +175,7 @@ enum class Group(override val fullName: String, override val children: List<GeoL
SSD, SSD,
SHN, SHN,
SDN, SDN,
SWZ,
TZA, TZA,
TGO, TGO,
TUN, TUN,
@ -184,9 +195,11 @@ enum class Group(override val fullName: String, override val children: List<GeoL
BRB, BRB,
BLZ, BLZ,
BMU, BMU,
BES, // Bonaire, Sint Eustatius and Saba: special municipalities of the Netherlands in the Caribbean
VGB, VGB,
CAN, CAN,
CYM, CYM,
XCL,
CRI, CRI,
CUB, CUB,
CUW, CUW,
@ -208,15 +221,18 @@ enum class Group(override val fullName: String, override val children: List<GeoL
NIC, NIC,
PAN, PAN,
PRI, PRI,
BLM, // Saint Barthélemy: an overseas collectivity of France in the Caribbean
KNA, KNA,
LCA, LCA,
MAF, MAF,
SPM, SPM,
VCT, VCT,
SXM, // Sint Maarten: a constituent country of the Kingdom of the Netherlands in the Caribbean
TTO, TTO,
TCA, TCA,
USA, USA,
XCL, UMI, // United States Minor Outlying Islands: a collection of nine insular areas of the United States
VIR, // United States Virgin Islands: an unincorporated territory of the United States in the Caribbean
) )
), ),
SRR( SRR(
@ -257,6 +273,7 @@ enum class Group(override val fullName: String, override val children: List<GeoL
PLW, PLW,
PNG, PNG,
PCN, PCN,
WSM, // Samoa: an independent island nation in the South Pacific
SLB, SLB,
TKL, TKL,
TON, TON,
@ -269,26 +286,9 @@ enum class Group(override val fullName: String, override val children: List<GeoL
XXX( XXX(
"Others", listOf( "Others", listOf(
ATA, // Antarctica: not in any other region ATA, // Antarctica: not in any other region
ALA,// Åland Islands: an autonomous region of Finland, but not a member of the EU or UN
BES,// Bonaire, Sint Eustatius and Saba: special municipalities of the Netherlands in the Caribbean
BVT, // Bouvet Island: an uninhabited territory of Norway in the South Atlantic BVT, // Bouvet Island: an uninhabited territory of Norway in the South Atlantic
IOT,// British Indian Ocean Territory: a British overseas territory in the Indian Ocean
CXR,// Christmas Island: an Australian external territory in the Indian Ocean
CCK,// Cocos (Keeling) Islands: an Australian external territory in the Indian Ocean
FRO,// Faroe Islands: an autonomous region of Denmark
ATF,// French Southern and Antarctic Lands: a territory of France located in the southern Indian Ocean
GIB,// Gibraltar: a British overseas territory located at the southern tip of the Iberian Peninsula
GGY,// Guernsey: a British Crown dependency in the English Channel
HMD, // Heard Island and McDonald Islands: an uninhabited Australian external territory in the southern Indian Ocean HMD, // Heard Island and McDonald Islands: an uninhabited Australian external territory in the southern Indian Ocean
IMN,// Isle of Man: a British Crown dependency located in the Irish Sea
JEY,// Jersey: a British Crown dependency located in the English Channel
BLM,// Saint Barthélemy: an overseas collectivity of France in the Caribbean
WSM, // Samoa: an independent island nation in the South Pacific
SXM, // Sint Maarten: a constituent country of the Kingdom of the Netherlands in the Caribbean
SGS, // South Georgia and the South Sandwich Islands: a British overseas territory in the southern Atlantic Ocean SGS, // South Georgia and the South Sandwich Islands: a British overseas territory in the southern Atlantic Ocean
SJM, // Svalbard and Jan Mayen: an archipelago administered by Norway
UMI, // United States Minor Outlying Islands: a collection of nine insular areas of the United States
VIR, // United States Virgin Islands: an unincorporated territory of the United States in the Caribbean
) )
), ),