Datatypes

UN/LOCODE

ID unlocode

DatatypeNot PIIidentifier

N/LOCODE, the United Nations Code for Trade and Transport Locations, is a geographic coding scheme developed and maintained by United Nations Economic Commission for Europe (UNECE). UN/LOCODE assigns codes to locations used in trade and transport with functions such as seaports, rail and road terminals, airports, Postal Exchange Office and border crossing points. The first issue in 1981 contained codes for 8,000 locations. The version from 2011 contained codes for about 82,000 locations.

Categories
Geographic identifiers
Countries
Global (not tied to a country)
Languages
English
Wikidata
P1937
Quality
90/100 · missing: negative example, translation
Metacrafter rules
2 rules (1 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^[A-Z]{2} ?[A-Z2-9]{3}$

Python re syntax.

Examples

ValueDescription
ITGOAGenoa
CHGVAGeneva

Sources

Use this record