|
UN/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), a unit of the United Nations. UN/LOCODE assigns codes to locations used in trade and transport with functions such as seaports, rail and road terminals, airports, post offices and border crossing points. The first issue in 1981 contained codes for 8,000 locations. Twenty-seven years later, Issue 2007, released in 2008, contained 58,875 locations.[1]
UN/LOCODEs have five characters. The first two are letters, and come from the ISO 3166-1 alpha-2 country codes. Normally three letters will follow, but if there are not enough combinations, numbers from 2 to 9 can also be used. For the US the 17575 possible permutations of 3-character codes have been almost exhausted in 2006 the secretariat for the first time introduced 646 entries to the 2006-2 issue of UN/LOCODE where the third position of 3-character codes is represented by a numerical digit 2 to 9. The 2007 issue of UN/LOCODE contains 689 such US entries.
For each country there can be a maximum of 35*35*35 = 42 875 entries.
For airports, the three letters following the country code are not always identical to the IATA airport code. According to the secretariat note for Issue 2006-2, there are 720 locations showing a different IATA code.[2]
Beside the abbreviation, UN/LOCODE also defines a spelling for each location that can be written without special characters. This is achieved by stripping off the diacritics from the (romanized) local name.[2]
| Ch | LOCODE | Name | NameWoDiacritics | SubDiv | Function | Status | Date | IATA | Coordinates | Remarks |
|---|---|---|---|---|---|---|---|---|---|---|
| US NYC | New York | New York | NY | 12345--- | AI | 0401 | 4042N 07400W | |||
| DE BER | Berlin | Berlin | BE | 12345--- | AF | 0207 | 5231N 01323E | |||
| DE TXL | Berlin-Tegel Apt | Berlin-Tegel Apt | BE | ---4---- | AF | 9501 | ||||
| FR PAR | Paris | Paris | 75 | 123-5--- | AF | 9501 | ||||
| GB PAR | Par | Par | CON | 1------- | AF | 9501 | ||||
| SE GOT | Göteborg | Goteborg | O | 1--45--- | AI | 0207 | XWL | |||
| = | SE | Gothenburg = Göteborg | Gothenburg = Goteborg |
The fields are listed in the official order.
Each defined function gets a classifier; the most important are:
Observation: The edition published in 2008 contains for additions the value 0701, while in other cases the exact month is used like 9710, 0212.
In 2006-07 IQ IRB for Irbil was added while IQ ABL Arbil with almost the same coordinates existed. In the 2007 edition IQ ABL gets marked for deletion and IQ EBL Erbil International Apt is added to the database, but with a different coordinates, reflecting the distance between airport and city. The error is to delete ABL and to insert IRB.
Occasionally locations are listed twice, this sometimes may not be real errors. In issue 2006-1, ARSMC San Miguel de Tucuman (functions 2,3) was added while ARTUC Tucuman (function 1) already was in the list. The coordinates are with very little deviation the same. Also in 2006-1, ARSSJ San Salvador de Jujuy was added (function 4) while ARJUJ Jujuy (functions 1,2,3,5) already existed.
The 2007 edition contains character encoding errors in the .txt and .csv files. The name for the new code FR ONM Moёlan-sur-Mer does not show the ё correctly. In the .mdb file it is encoded correctly but the column "NameWoDiacritics" contains the name with diacritics .i.e. "Moёlan-sur-Mer". Users that can not access .mdb files, can not obtain from the website a correct list for their databases.
Another error from 2007 code list:
DE GXD Gross-Umstadt Gross-Umstadt HE --3----- RL 0201 4952N 00855E + DE UMS Gross-Umstadt Gross-Umstadt HE -23----- RL 0701 4952N 00856E
US TRI + US BOS, same coor and within TRI different coor
US BFS Bristol VA RL -234---- 0212 3636N 08211W cf US JCI, US BSO, US TRI US BSO Bristol Apt TN RL -234---- 0212 3635N 08210W cf US JCI Apt, US BSO Apt, US TRI Apt US TRI Bristol-Johnson City-Kingsport Apt TN RL -234---- 0212 3635N 08210W cf US JCI, US BSO, US TRI US TRI Johnson City-Kingsport-Bristol Apt TN RL -234---- 0212 3635N 08210W cf US JCI, US TRI, US BSO US TRI Kingsport-Bristol-Johnson City Apt TN RL -234---- 0212 3635N 08210W cf US JCI, US TRI, US BSO US TRI Kingsport Apt TN AI ---4---- 0212 3632N 08233W cf US BSO Apt, US JCI Apt
Some entries do not have coordinates so it is not clear where actually they refer too. If an IATA code changes, then also the UN/LOCODE could be regarded as changed.
MS MNI Montserrat Montserrat AI ---4---- 9601
For Kochi / Cochin the postal function has KOC (1998) and all other functions have COK (2003).
IN KOC Kochi Kochi AI ----5--- 9805 IN COK Cochin Cochin KL AA 1234-6-- 0307 0958N 07614E
| Issue | Date[4] | Entries | Changes | Notes | ||||
|---|---|---|---|---|---|---|---|---|
| # | | | + | X | Total | ||||
| 2007[5] | 2008-03-25 | 58,875 | 153 | 753 | 4,327 | 24 | 5,257 | |
| 2006-2[6] | 2007-04-30 | 54,705 | 15 | 79 | 6,400 | 157 | 6,651 | |
| 2006-1[7] | 2006-06-09 | 48,553 | 43 | 42 | 3,110 | 11 | 3,206 | |
| 2005-2[8] | 2005 | 50,000 | 55 | 178 | 929 | 8 | 1,170 | Based on 2006-1, entries should be 45,451 |
| 2005-1[9] | 2005-02-28 | 50,000 | 46 | 196 | 2,291 | 16 | 2,549 | Based on 2006-1, entries should be 44,538 |
| 2004-2[10] | 2004-07-27 | 50,000 | 26 | 87 | 1,707 | 5 | 1,825 | Based on 2006-1, entries should be 42,252 |
| 2004-1[11] | 2004-02-18 | 47,725 | 208 | 694 | 1,958 | 167 | 3,027 | Based on 2006-1, entries should be 40,712 |
| 2003-2[12] | 2003 | 40,000 | 283 | 1,099 | 2,402 | 324 | 4,108 | Based on 2006-1, entries should be 39,078 |
| 2003-1[13] | 2003 | 38,000 | 2,779 | 523 | 707 | 2 | 3,911 | Based on 2006-1, entries should be 36,678 |
| 2002-2[14] | 2002 | 36,005 | 93 | 252 | 1,235 | 6 | 1,586 | Based on 2006-1, entries should be 35,977 |
| 2002-1[15] | 2002 | 35,460 | 100 | 597 | 2,503 | 24 | 3,224 | Based on 2006-1, entries should be 34,766 |
No comments have been added.