From dcefcbbaea0166c5eedf208ada319e451ddff160 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 1 Feb 2015 08:17:27 +0100 Subject: [PATCH] countries: fix antarctica continent class Convert GeoNames' AN to our AA to fix styling. --- tools/mkcountries-geonames | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 592ce75..99201b8 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -41,6 +41,7 @@ my %cc; # map of country code to info array while (<>) { /^#/ and next; # skip comments my ($iso, $name, $cont) = (split /\t/)[0, 4, 8]; + $cont =~ s/\AAN\z/aa/; # different antarctica abbreviation my $class = "c-\L$cont"; $cc{ lc $iso } = [ $name, $class ]; } -- 2.30.0