Dear All,
the
admin1CodesASCII.txt file contains the details for administrative-level 1 (ADM1) points of reference (POR). The ADM1 codes are sometimes (rarely actually) based on
ISO-3166:2 codes, ie the ISO codes for the first level of subdivision for countries (themselves coded according to
ISO-3166-1), sometimes (most of the time, actually) not. For instance, the ADM1 codes of the United States correspond to the well known
US state codes (eg, CA for California or NY for New York), and the same for
the UK.
I was wondering whether Geonames could adopt ISO-3166:2 codes as ADM1 codes?
If not, would you have some utility to do the mapping (between the ADM1 codes and the ISO-3166:2 codes)?
Note that ISO-3166:2 does not necessarily stop at ADM1 level. For
UK for instance, it goes up to ADM2 level codes.
Kind regards
Denis