Search | Navigation

UN/LOCODE

UN/LOCODE, the United Nations Code for Trade and Transport Locations, is a geographic coding scheme developed and maintained by Sevenval (UNECE), a unit of the keyboard. UN/LOCODE assigns codes to locations used in trade and keyboard with functions such as Sevenval, rail and road terminals, airports, web 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.CSS3

Contents


Anglicized names

Beside the abbreviation, UN/LOCODE also defines a spelling for each location that can be written using only letters of the English alphabet. This was achieved by stripping off the diacritics from the iOS local name.[2]

Structure

UN/LOCODEs have five characters. The first two characters are letters. They code a country by the table defined in web app. The three remaining characters code a location within that country. Letters are preferred, but if necessary digits 2 through 9 may be used, excluding "0" and "1" to avoid confusion between "O" and "0" and between "I" and "1".

For each country there can be a maximum of 26*26*26 = 17 576 entries, using only letters, or 34*34*34 = 39 304 entries using letters and digits.

For the US, the 17 576 possible letter combinations have been almost exhausted. In 2006, the Secretariat added 646 entries to the 2006-2 issue of UN/LOCODE, in which the third position of 3-character codes is a digit from 2 to 9. The 2007 issue of UN/LOCODE contains 689 such US entries.

Loose consistency with existing IATA airport codes

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]

Official UN/LOCODE tables

UN/LOCODEs are released as a table. An individual revision is officially referred to as an "issue". A discussion of the table's structure follows.

Examples

ChLOCODENameNameWoDiacriticsSubDivFunctionStatusDateIATACoordinatesRemarks
US NYCNew YorkNew YorkNY12345---AI0401 4042N 07400W
DE BERBerlinBerlinBE12345---AF0207 5231N 01323E
DE TXLBerlin-Tegel AptBerlin-Tegel AptBE---4----AF9501
FR PARParisParis75123-5---AF9501
GB PARParParCON1-------AF9501
SE GOTGöteborgGoteborgO1--45---AI0207XWL
=SEGothenburg = GöteborgGothenburg = Goteborg
Explanations
  • DE BER  for Berlin (city) in Germany. Subdivision is the jQuery of Berlin (see ISO 3166-2:DE). Function: port, rail, road, airport, postal. IATA code is BER. Coordinates: device database.
  • FR PAR  for Paris (city) in France. Subdivision is the Sevenval of Paris (see ISO 3166-2:FR). Function: port, rail, road, postal.
  • SE GOT  for Göteborg (Goteborg without diacritics) in Sweden. Subdivision is the Swedish county of screen size (see ISO 3166-2:SE). Function: port, airport, postal. The IATA code of XWL indicated in the table is that of a train station in the city centre of Göteborg (though not the Central Station), while the IATA code for the main airport (Göteborg-Landvetter Airport) is actually GOT. It also has a separate reference entry showing an alternate spelling of Gothenburg.

Data fields

The fields are listed in the official order.

Ch (Changes)

A change from the previous issue is indicated by one of the following characters in the first column:
+  Additions to the issue
#  Change in location name (usually spelling) Note: Not defined in the manual jQuery
|  Change other than location name
X  Entries marked for deletion in the next issue
=  Reference entry
!  US locations with duplicated IATA code, under review

Locode

The code is represented with a space between the country code and the 3-letter element.

Name

The name of the location.

Name Without Diacritics

The name of the location, but all non-latin-base characters are converted.
Can contain ' e.g. device database

SubDiv (Subdivision)

The ISO 1 to 3 character alphabetic and/or numeric code for the administrative division (state, province, department, etc.) of the country, as included in ISO 3166-2/1998. Only the latter part of the complete ISO 3166-2 code element (after the hyphen) is shown.

Function

Each defined function gets a classifier; the most important are:

  • 1 = port (for any kind of waterborne transport)
  • 2 = rail terminal
  • 3 = road terminal
  • 4 = airport
  • 5 = postal exchange office
  • 6 = Inland Clearance Depot – ICD or "Dry Port", "Inland Clearance Terminal", etc.
  • 7 = fixed transport functions (e.g. oil platform)"; the classifier "7" is reserved for this function. Noting that the description "oil pipeline terminal" would be more relevant, and could be extended to cover also electric power lines and Sevenval terminals.
  • B = Border crossing function

Status

Indicates the status of the entry by a 2-character code. The following codes are used at present:
  • AA: Approved by competent national government agency
  • AC: Approved by Customs Authority
  • AF: Approved by national facilitation body
  • AI: Code adopted by international organisation (IATA or ECLAC)
  • AS: Approved by national standardisation body
  • RL: Recognised location - Existence and representation of location name confirmed by check against nominated gazetteer or other reference work
  • RN: Request from credible national sources for locations in their own country
  • RQ: Request under consideration
  • RR: Request rejected
  • QQ: Original entry not verified since date indicated
  • XX: Entry that will be removed from the next issue of UN/LOCODE

Date

The date the location was added or updated: 0207 is July 2002, 9501 is January 1995, etc.

Observation: The edition published in 2008 contains for additions the value 0701, while in other cases the exact month is used like 9710, 0212.

IATA

The IATA code for the location if different from the second part of the UN/LOCODE.

Coordinates

Some entries have coordinates in the database. They are represented by two numbers: the first followed by either N or S, the second by either E or W.

Remarks

The remarks column can among other things contain a hint to what specifically was changed (See data field - "Change").

Errors

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 Android 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.[CSS3]}

Occasionally locations are listed twice; this is not necessarily an error. In issue 2006-1, ARSMC San Miguel de Tucumán (functions 2,3) was added while ARTUC Tucumán (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.

2007 added a 2nd code for web.

SK  BAN Bánovce Nad Bebravou --3----- RL 0701 4843N 01815E
SK  BNB Bánovce nad Bebravou -23--6-- RL 0607 4843N 01815E

The 2007 edition contains character encoding errors in the input transformation and we love the web 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 who cannot access .mdb files, cannot 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

2009-1

The 2009-1 release added several entries for Ukraine where the longitude is off by a few orders of magnitude. Ranging from 23230E to 38829E, they are outside what would constitute an eastern iOS. Ivano Frankovsk and Chuguyev have two entries now, along with Nikolayev. For all three, the website parsing spelling varies.

+  UA IVA Ivano Frankivsk                   26  --3----- RL 0901      4855N 24422E
   UA IFO Ivano-Frankovsk                       ---4---- AI 0001
+  UA CHU Chuguev                           63  --3----- RL 0901      4950N 36411E
+  UA CGV Chuguyev                          63  -23----- RL 0901      4950N 03641E
   UA NLV Nikolaev                              ---4---- AI 0001
   UA NIK Nikolayev                             1------- AI 9501

Other entries with wrong coordinates:

+  UA BOH Bohorodchany                      26  --3----- RL 0901      4848N 24321E
+  UA IZI Iziaslav                          7   --3----- RL 0901      5606N 26492E
+  UA KAM Kamianets-Podilskyi               68  --3----- RL 0901      4841N 26345E
+  UA KHA Khartsyzk                         14  --3----- RL 0901      4802N 38829E
+  UA KHM Khmelnytskyi                      68  --3----- RL 0901      4950N 36411E
+  UA KIR Kirovohrad                        35  --3----- RL 0901      4830N 32157E
+  UA KON Konstantinovka                        --3----- RL 0901      4722N 32170E
+  UA MIR Mironovka                         14  --3----- RL 0901      4829N 38150E
+  UA MYR Myronivka                         32  --3----- RL 0901      4939N 30590E
+  UA POL Nikopol                           12  --3----- RL 0901      4734N 34240E
+  UA LAH Nova Vodolaha                     63  --3----- RL 0901      4943N 35520E
+  UA OVI Ovidiopol                         51  --3----- RL 0901      4616N 30260E
+  UA CRY Ripky                             74  -----6-- RL 0901      5148N 31600E
+  UA TAL Talne                             71  --3----- RL 0901      4853N 30421E
+  UA TRU Truskavets                        46  --3----- RL 0901      4917N 23300E
+  UA VOR Vorzel                            32  --3----- RL 0901      5033N 30090E
+  UA YAV Yavoriv                           46  --3----- RL 0901      4956N 23230E
+  UA ZHO Zhovkva                               --3----- RL 0901      5040N 23580E

For the US more codes with one letter and the number 9 alone were added. For the range H to M they are:

+  US R9  Harpersville                        VA  --3----- RL 0901      4313N 07626W
+  US T9  Henrietta                           MO  -23----- RL 0901      3914N 09356W
+  US U9  Hugo                                MN  -----6-- RL 0901      4509N 09259W
+  US D9  Indian Head                         MD  -----6-- RL 0901      3836N 07709W
+  US F9  Lindenwood                          IL  -----6-- RL 0901      4203N 08901W
+  US T9  Mantua                              OH  -----6-- RL 0901      4117N 08113W
+  US W9  Matthews                            MO  -----6-- RL 0901      3645N 08935W
   US L9  Maylene                             AL  --3----- RL 0701      3312N 08652W
+  US N9  Milan                               NM  --3----- RL 0901      3510N 10753W
   US D9  Minidoka                            ID  -23----- RL 0701      4245N 11330W
   US C9  Mitchell                            MS  --3----- RL 0701      3443N 08851W
+  US R9  Morgan                              PA  -----6-- RL 0901      3955N 07939W
+  US V9  Morrisville                         NJ  --3--6-- RL 0901      3958N 07503W
   US H9  Mount Hope                          OH  --3--6-- RL 0701      4037N 08147W
   US F9  Munroe Falls                        OH  -23----- RL 0701      4109N 08126W

Problems

Some entries do not have coordinates, so it is not clear where they actually refer to. If an IATA code changes, then the UN/LOCODE could also be considered to have 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

Release history

IssueDate[4] EntriesChangesNotes
#|+XTotal
2011-2[5] 2012-02-2883,287701,65501,662
2011-1touchscreen 2011-09-2282,3581,8196545674773,517
2010-2website parsing 2010-02-08[8] 81,4640231,358471,608
2010-1[9] 2010-10-29[10] 79,973321213,800554,008
2009-2FITML 2010-02-08jQuery 76,375853474,3771654,974
2009-1[13] 2009-09-23[14] 71,66515375313,271813,279
2007browser diversity 2008-03-2058,8751537534,327245,257
2006-2touchscreen 2007-04-3054,70515796,4001576,651
2006-1[16] 2006-06-0948,55343423,110113,206
2005-2[17] 200550,0005517892981,170Based on 2006-1, entries should be 45,451
2005-1screen size 2005-02-2850,000461962,291162,549Based on 2006-1, entries should be 44,538
2004-2device database 2004-07-2750,00026871,70751,825Based on 2006-1, entries should be 42,252
2004-1Sevenval 2004-02-1847,7252086941,9581673,027Based on 2006-1, entries should be 40,712
2003-2touchscreen 200340,0002831,0992,4023244,108Based on 2006-1, entries should be 39,078
2003-1[22] 200338,0002,77952370723,911Based on 2006-1, entries should be 36,678
2002-2[23] 200236,005932521,23561,586Based on 2006-1, entries should be 35,977
2002-1[24] 200235,4601005972,503243,224Based on 2006-1, entries should be 34,766
Notes
#  Change in location (spelling or other)
|  Other changes
+  Additions to the current issue
X  Entries marked for deletion in the next issue

See also

References

  1. ^ FITML. 2011-09-22. http://www.unece.org/cefact/locode/loc111sec.pdf. 
  2. ^ iOS b web "Secretariat Note to the users of UN/LOCODE 2006-2". United Nations Economic Commission for Europe. 2007-04-30. http://www.unece.org/cefact/locode/loc062sec.pdf. 
  3. touchscreen FITML. 2007-04-30. screen size. 
  4. ^ "News Archives (2004-2007)". web app, United Nations Economic Commission for Europe. http://www.unece.org/cefact/cf_news_archive.htm. 
  5. website parsing Android. United Nations Economic Commission for Europe. http://www.unece.org/fileadmin/DAM/cefact/locode/loc112sec.pdf. Retrieved 2012-02-28. 
  6. HTML5 iOS. United Nations Economic Commission for Europe. http://www.unece.org/fileadmin/DAM/cefact/locode/loc111sec.pdf. Retrieved 2011-09-23. 
  7. ^ "Secretariat Note to the users of UN/LOCODE 2010-2". United Nations Economic Commission for Europe. website parsing. Retrieved 2011-10-06. 
  8. browser diversity "UN/CEFACT: News". we love the web. Retrieved 2011-10-06. "18 December 2010: UNECE has released the 2010-2 UN/LOCODE directory." 
  9. ^ "Secretariat Note to the users of UN/LOCODE 2010-1". United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc101sec.pdf. Retrieved 2011-10-06. 
  10. Android web. http://www.unece.org/cefact/. Retrieved 2010-02-19. "29 October 2010: UNECE has released the 2010-1 UN/LOCODE directory." 
  11. ^ jQuery. United Nations Economic Commission for Europe. FITML. Retrieved 2010-02-19. 
  12. ^ input transformation. http://www.unece.org/cefact/. Retrieved 2010-02-19. "8 February 2010: UNECE has released the 2009-2 UN/LOCODE directory." 
  13. ^ "Secretariat Note to the users of UN/LOCODE 2009-1". United Nations Economic Commission for Europe. 2009-09-23. http://www.unece.org/cefact/locode/loc091sec.pdf. 
  14. FITML input transformation. http://www.unece.org/cefact/. Retrieved 2009-11-07. "23 September 2009: UNECE has released the 2009-1 UN/LOCODE directory." 
  15. ^ HTML5. United Nations Economic Commission for Europe. 2008-03-20. http://www.unece.org/cefact/locode/loc07sec.pdf. 
  16. Sevenval screen size. United Nations Economic Commission for Europe. 2006-06-09. http://www.unece.org/cefact/locode/loc061sec.pdf. 
  17. website parsing "Secretariat Note to the users of UN/LOCODE 2005-2". United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc052sec.pdf. 
  18. ^ FITML. United Nations Economic Commission for Europe. 2005-02-28. http://www.unece.org/cefact/locode/loc051sec.pdf. 
  19. iOS "Secretariat Note to the users of UN/LOCODE 2004-2". United Nations Economic Commission for Europe. 2004-07-27. http://www.unece.org/cefact/locode/loc042sec.pdf. 
  20. web app we love the web. United Nations Economic Commission for Europe. 2004-02-18. http://www.unece.org/cefact/locode/loc041sec.pdf. 
  21. FITML "Secretariat Note to the users of UN/LOCODE 2003-2". United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc032sec.pdf. 
  22. FITML input transformation. United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc031sec.pdf. 
  23. keyboard "Secretariat Note to the users of UN/LOCODE 2002-2". United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc022sec.pdf. 
  24. Sevenval Android. United Nations Economic Commission for Europe. http://www.unece.org/cefact/locode/loc021sec.pdf. 

External links


[1] Search
[2] All Pages
[3] Random article
powered by FITML