2015-05-03

‎ISO 3166-2

← Older revision

Revision as of 01:50, 3 May 2015

(3 intermediate revisions by the same user not shown)

Line 28:

Line 28:

ISO 3166-2 defines codes for the names of the principal subdivisions (e.g., provinces or states).

ISO 3166-2 defines codes for the names of the principal subdivisions (e.g., provinces or states).



Typically used on [[Relation:boundary|boundary relation]] in combination with {{Tag|boundary|administrative}} tags, but value of {{Tag|admin_level}} depends on the country.

+

Typically used on [[Relation:boundary|boundary relation]] in combination with {{Tag|boundary|administrative}} tags, but value of {{Tag|admin_level}}
(3 or above in OpenStreetMap)
depends on the country.

{|class='wikitable'

{|class='wikitable'

Line 45:

Line 45:

There are about 200 states and territories, among which 194 are full UN members, internationally recognized as independant states.

There are about 200 states and territories, among which 194 are full UN members, internationally recognized as independant states.

+

+

; UN M.49

+

: The [[wikipedia:en:UN M.49|UN M.49]] standard extends the set of country codes with 3-digit region codes. Some of them, covering international areas, are integrated in other standards (notably by IETF [[wikipedia:en:BCP 47|BCP 47]] in its associated IANA database, as region subtags for use in locale tags, after the initial subtag defined for a [[language code]] or the code of a group of languages). UN M.49 country codes defined for countries and territories are also part of the ISO 3166-1 code as a numeric alternative to their 2-letter codes (but they must not be used in BCP 47 locale tags, or as country codes in OpenStreetMap feature tags).

; LOCODE

; LOCODE



: The first two-letter code, extracted from the list of five-characters [[wikipedia:en:UN/LOCODE|LOCODE]] is identical to the two-letter code from the [[wikipedia:en:ISO
-
3166-1|ISO
-
3166-1]] standard. These codes are then given a descriptive name of the territory. The remaining 3 letters are used for a specific location in that country. Some locations have a 5-letter LOCODE code but no code in ISO 3166-2.

+

: The first two-letter code, extracted from the list of five-characters [[wikipedia:en:UN/LOCODE|LOCODE]] is identical to the two-letter code from the [[wikipedia:en:ISO

3166-1|ISO

3166-1]] standard. These codes are then given a descriptive name of the territory. The remaining 3 letters are used for a specific location in that country. Some locations have a 5-letter LOCODE code but no code in ISO 3166-2.

; International Postal Union

; International Postal Union

Line 56:

Line 59:

: The [[wikipedia:IATA|IATA]] also uses its own code for identifying aircrafts with a letter-only prefix before an hyphen.

: The [[wikipedia:IATA|IATA]] also uses its own code for identifying aircrafts with a letter-only prefix before an hyphen.

: Maritime registries also have their own separate code for identifying naval ships (with a codification of harbors of registration). These codes are also used for the identification of fixed maritime equipments in their associated maritime region.

: Maritime registries also have their own separate code for identifying naval ships (with a codification of harbors of registration). These codes are also used for the identification of fixed maritime equipments in their associated maritime region.





; UN M.49



: The [[wikipedia:en:UN M.49|UN M.49]] standard extends the set of country codes with 3-digit region codes. Some of them, covering international areas, are integrated in other standards (notably by IETF [[wikipedia:en:BCP 47|BCP 47]] in its associated IANA database, as region subtags for use in locale tags, after the initial subtag defined for a [[language code]] or the code of a group of languages). UN M.49 country codes defined for countries and territories are also part of the ISO 3166-1 code as a numeric alternative to their 2-letter codes (but they must not be used in BCP 47 locale tags, or as country codes in OpenStreetMap feature tags).

; FIPS-10

; FIPS-10

Line 64:

Line 64:

; ITU-T E.164

; ITU-T E.164



: The [[wikipedia:en:ITU-T|ITU-T]] standard [[wikipedia:en:E.164|E.164]] is used for the international phone plans, and references the [[wikipedia:en:List of country calling codes|country calling codes]]. Some countries are sharing the same country calling code (such as those in the NAPN numbering plan), and others are using multiple country codes for some of their remote areas, even if they may also be called domestically within the same national numbering plan without using them via an international phone call (with the international selection prefix normally represented by a standard "+" in the recommended E.164 format and in OpenStreetMap. See also [[Key:
Phone
]] in OpenStreetMap.

+

: The [[wikipedia:en:ITU-T|ITU-T]] standard [[wikipedia:en:E.164|E.164]] is used for the international phone plans, and references the [[wikipedia:en:List of country calling codes|country calling codes]]. Some countries are sharing the same country calling code (such as those in the NAPN numbering plan), and others are using multiple country codes for some of their remote areas, even if they may also be called domestically within the same national numbering plan without using them via an international phone call (with the international selection prefix normally represented by a standard "+" in the recommended E.164 format and in OpenStreetMap. See also [[Key:
phone
]] in OpenStreetMap.

Show more