countries: include all reserved entries from iso standard
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 13:46:28 +0000 (14:46 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 17:34:57 +0000 (18:34 +0100)
Missing from Wikipedia (and other) aggregates, so copy directly from the
official ISO web interface <https://www.iso.org/obp/ui>.

tools/mkcountries-geonames

index 5b196f0de7af93099812cdc682daf032d8cb9ce3..2f124513f687c2f61b9ba7cb908173552b783d8b 100755 (executable)
@@ -4,17 +4,28 @@ use warnings;
 
 my %cc;  # map of country code to info array
 %cc = (
+       # transitional reservations
+       an => ["transitionally reserved: Netherlands Antilles", "c-na Xr", "Netherlands Antilles", 'bq cw sx'], # 2060
+       bu => ["transitionally reserved: Burma", "c-as Xr", "Burma", 'mm'], # 2039
+       cs => ["transitionally reserved: Serbia and Montenegro", "c-eu Xr", "Serbia and Montenegro", 'rs me'], # 2056
+       nt => ["transitionally reserved: Neutral Zone", "c-as Xr", "N. Zone", 'iq sa'], # 2043
+       tp => ["transitionally reserved: East Timor", "c-oc Xr", "(East Timor)", 'tl'], # 2052
+       yu => ["transitionally reserved: Yugoslavia", "c-eu Xr", "Yugoslavia", 'cs ba hr mk si'], # 2053
+       zr => ["transitionally reserved: Zaire", "c-af Xr", "Zaire", 'cd'], # 2047
+
        # exceptional reservations
        ac => ["exceptionally reserved: Ascension Island", "c-oc Xr", "Ascension Island", 'sh'],
        cp => ["exceptionally reserved: Clipperton Island", "c-na Xr", "Clipperton Island"],
        dg => ["exceptionally reserved: Diego Garcia", "c-as Xr", "Diego Garcia", 'io'],
        ea => ["exceptionally reserved: Ceuta and Melilla", "c-af Xr", "Ceuta and Melilla"],
        eu => ["exceptionally reserved: European Union", "c-eu Xr", "European Union"],
+       ez => ["exceptionally reserved: European OTC derivatives", "c-eu Xr", "European OTC"],
        fx => ["exceptionally reserved: Metropolitan France", "c-eu Xr", "Metropolitan France", 'fr'],
        ic => ["exceptionally reserved: Canary Islands", "c-af Xr", "Canary Islands"],
        su => ["exceptionally reserved: former USSR", "c-eu Xr", "USSR"],
        ta => ["exceptionally reserved: Tristan da Cunha", "c-oc Xr", "Tristan da Cunha", 'sh'],
        uk => ["exceptionally reserved: United Kingdom", "c-eu Xr", "(United Kingdom)", 'gb'],
+       un => ["exceptionally reserved: United Nations", "Xi Xr", "United Nations"],
 
        # indeterminate reservations
        dy => ["indeterminately reserved: Benin", "c-af Xr", "(Benin)", 'bj'],
@@ -32,6 +43,7 @@ my %cc;  # map of country code to info array
        rm => ["indeterminately reserved: Madagascar", "c-af Xr", "(Madagascar)", 'mg'],
        rn => ["indeterminately reserved: Niger", "c-af Xr", "(Niger)", 'ne'],
        rp => ["indeterminately reserved: Philippines", "c-as Xr", "(Philippines)", 'ph'],
+       sf => ["indeterminately reserved: Finland", "c-eu Xr", "(Finland)", 'fi'],
        wg => ["indeterminately reserved: Grenada", "c-na Xr", "(Grenada)", 'gd'],
        wl => ["indeterminately reserved: Saint Lucia", "c-na Xr", "(Saint Luc.)", 'lc'],
        wv => ["indeterminately reserved: Saint Vincent", "c-na Xr", "(Saint Vin.)", 'vc'],