Closed tomkralidis closed 1 year ago
Are there any statistics for alpha-2 vs. alpha-3? I feel like I see alpha-2 much more often, but might be biased...
Otherwise, looks good.
alpha-2 is probably the most popular. alpha-3 is used in a few geospatial metadata standards.
How about relaxing to just "ISO 3166" (which would then allow for alpha-2, alpha-3, or numeric)? Some tooling (Python, JavaScript) have support for these interchangeably.
I don't feel strongly either way, so that works for me.
PR updated.
The internet RFC's that are part of the standards framework for the NG-911 deployment use alpha-2. There is a core concept called a location object. There is a geodetic (coordinates) and a civic (address) LO. The civic LO uses alpha-2 so all NG-911 deployments in the US, Canada and other nations (Europe) will use alpha-2. The civic LO standard is referenced as normative in numerous other internet standards including DHCP.
Fixes #261