UN/LOCODE

Last updated

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). 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. [1]

Contents

Structure

UN/LOCODEs have five characters. The first two letters code a country by the table defined in ISO 3166-1 alpha-2. 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 with the letters "O" and "I" respectively.

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

For the US, the letter combinations have almost all been exhausted. So in 2006, the Secretariat added 646 entries with a digit as the last character.

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

Example of locations as shown in Issue 2006-2 [3]
ChLOCODENameNameWoDiacriticsSubDivFunctionStatusDateIATACoordinatesRemarks
US NYCNew YorkNew YorkNY12345---AI04014042N 07400W
DE BERBerlinBerlinBE12345---AF02075231N 01323E
DE TXLBerlin-Tegel AptBerlin-Tegel AptBE---4----AF9501
FR PARParisParis75123-5---AF9501
GB PARParParCON1-------AF9501
SE GOTGöteborgGoteborgO1--45---AI0207XWL
IN TRVThiruvananthapuram Thiruvananthapuram KL1234----AI1207TRV0829N 07655E
Explanations

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: [2]
X  Marked for deletion in the next issue
#  Change in location name (usually spelling)
¦  Other changes in the entry (not location)
+  Entry added to the current issue
=  Reference entry
!  Retained for certain entries in the USA code list ("controlled duplications")

Locode

The code is represented with a space between the alpha-2 codes of ISO 3166-1 country code and the 3-character element.

Name

Names of locations should be shown using the 26 letters of the Roman alphabet with, where appropriate, diacritic signs as contained in ISO 10646-1/1993 or ISO 8859-1/1987.

Name Without Diacritics

The name of the location, but non-practicable Diacritics may be ignored and should not be converted into additional characters(e.g., Göteborg may be read as Goteborg, rather than Goeteborg, Gothenburg, Gotembourg, etc.).
Can contain an apostrophe, e.g. L'viv

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 ropeway terminals.
  • B = Border crossing function
  • 0 = function not known, to be specified

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)
  • AM: Approved by the UN/LOCODE Maintenance Agency
  • AQ: Entry approved, functions not verified
  • 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
  • UR: Entry included on user's request; not officially approved
  • 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.
The edition published in 2008 uses the value 0701 for additions, while in other cases the exact month is used like 9710, 0212.

IATA

For correlation purposes, the IATA code for the location is marked if different from the second part of the UN/LOCODE.

Coordinates

Some entries have coordinates in the database. They are represented as: ddmmN dddmmW, ddmmS dddmmE, etc.

Remarks

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

Availability

Availability UN/LOCODE is available on the UNECE website, where the latest release of UNLOCODE directories and background documents are listed. Complete UN/LOCODE code list may be downloaded in the format of.mdb (MS Access database), .txt (text file) and .csv (Comma-separated values). HTML pages are also displayed on the website by countries.

Data Maintenance Requests

UN/LOCODE Data Maintenance Request system is web-based (http://apps.unece.org/unlocode/), which enables registered users to submit online requests for new UN/LOCODE entry modifications.

The system provides online functions for

  • Registration of users and password retrieval
  • Submission of requests for new UN/LOCODE entries
  • Submission of requests for modification changes in existing UN/LOCODE entries
  • A guide to explain the use of the system

Release history

Notes
+  Additions to the current issue
¦  Other changes
#  Change in location (spelling or other)
X  Entries marked for deletion in the next issue
IssueDateEntriesChangesNotes
+¦#XTotal
2002-1 [4] 200235,4602,503597100243,224Based on 2006-1, entries should be 34,766
2002-2 [5] 2002-07-29 [6] 36,0051,2352529361,586Based on 2006-1, entries should be 35,977
2003-1 [7] 2002-12-20 [6] 38,0007075232,77924,011Based on 2006-1, entries should be 36,678
2003-2 [8] 2003-08-01 [6] 40,0002,4021,0992833244,108Based on 2006-1, entries should be 39,078
2004-1 [9] 2004-02-18 [10] 47,7251,9586942081673,027Based on 2006-1, entries should be 40,712
2004-2 [11] 2004-07-27 [10] 50,0001,707872651,825Based on 2006-1, entries should be 42,252
2005-1 [12] 2005-02-28 [10] 50,0002,29119646162,549Based on 2006-1, entries should be 44,538
2005-2 [13] 200550,0009291785581,170Based on 2006-1, entries should be 45,451
2006-1 [14] 2006-06-09 [10] 48,5533,1104243113,206
2006-2 [2] 2007-04-30 [10] 54,7056,40079151576,651
2007 [15] 2008-03-20 [10] 58,8754,327753153245,257
2009-1 [16] 2009-09-23 [10] 71,66513,27100813,279
2009-2 [17] 2010-02-08 [10] 76,3754,377347851654,974
2010-1 [18] 2010-10-29 [10] 79,9733,80012132554,008
2010-2 [19] 2010-12-18 [10] 81,4641,538230471,608
2011-1 [1] 2011-09-2282,3585676541,8194773,517
2011-2 [20] 2012-02-28 [10] 83,2871,6550701,662loc112sec.pdf: "main code list has now over 84 000 entries"
2012-1 [21] 2012-09-14 [22] 88,3005,31149514235,951The loc121txt/loc121sec.pdf says: "UN/LOCODE 2012-1 includes 83 287 entries."
2012-2 [23] 2013-03-07 [24] 2,2994792211163,115The loc122sec.pdf says: "main code list has now over 90 000 entries and the database contains a total of over 100 000 records", "2012-2 includes 90 645 entries"
2013-1 [25] 2013-07-05 [26] 4,709503972,1757,484The loc131sec.pdf says: "2013-1 main code list has now over 90 000 entries and the database contains a total of over 100 000 records", "2013-1 includes 95 721 entries"
2013-2 [27] 2013-12-20 [28] 95,0661,5181,48236553,091
2015-1 [29] 2015-07-062,0665133412227352015-1_UNLOCODE_SecretariatNotes.pdf: "UN/LOCODE 2015-1 main code list has now 100 969 entries."
2015-2 [30] 2015-12-172187531905828662015-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2015-2 main code list has now 103 034 entries."
2016-1 [31] 2016-07-012356106201624982016-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2016-1 includes 104 848 entries. "
2016-2 [32] 2016-12-221631284234019782016-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2016-2 includes 107 010 entries."
2017-1 [33] 2017-07-13120189455513902017-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2017-1 main code list has now 108 170 entries."
2017-2 [34] 2017-12-21928225131811842017-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2017-2 main code list has now 108 502 entries."
2018-1 [35] 2018-07-021396438989020222018-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2018-1 main code list has now 110 361 entries."
2018-2 [36] 2018-12-211252523922115642018-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2018-2 main code list has now 111 486 entries."
2019-1 [37] 2019-07-052584401128912160692019-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2019-1 main code list has now 111 513 entries."
2019-2 [38] 2019-12-1212115923253282019-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2019-2 main code list has now 111 522 entries."
2020-1 [39] 2020-07-014002714134542020-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2020-1 main code list has now 111 897 entries."
2020-2 [40] 2020-12-152677625143822020-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2020-2 main code list has now 112 151 entries."
2021-2 [41] 2021-12-133698128988810859832021-2 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2021-2 main code list has now 115 989 entries."
2022-1 [42] 2022-07-082161341133642022-1 UNLOCCODE SecritariatNotes.pdf: "UN/LOCODE 2022-1 main code list has now 116 097 entries."

See also

Related Research Articles

UN/CEFACT is the United Nations Centre for Trade Facilitation and Electronic Business. It was established as an intergovernmental body of the United Nations Economic Commission for Europe (UNECE) in 1996 and evolved from UNECE's long tradition of work in trade facilitation which began in 1957.

ISO 3166-1 is a standard defining codes for the names of countries, dependent territories, and special areas of geographical interest. It is the first part of the ISO 3166 standard published by the International Organization for Standardization.

<span class="mw-page-title-main">ISO 3166-1 alpha-2</span> Two-letter country codes defined in ISO 3166-1

ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They are the most widely used of the country codes published by ISO, and are used most prominently for the Internet's country code top-level domains. They are also used as country identifiers extending the postal code when appropriate within the international postal system for paper mail, and have replaced the previous one consisting one-letter codes. They were first included as part of the ISO 3166 standard in its first edition in 1974.

ISO 3166-2:AR is the entry for Argentina in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions of all countries coded in ISO 3166-1.

United Nations/Electronic Data Interchange for Administration, Commerce and Transport (UN/EDIFACT) is an international standard for electronic data interchange (EDI) developed for the United Nations and approved and published by UNECE, the UN Economic Commission for Europe.

The UN/LOCODEs for Argentina start with AR, the ISO 3166-1 alpha-2 code for that country.

ISO 3166-2:IQ is the entry for Iraq in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions of all countries coded in ISO 3166-1.

References

  1. 1 2 "Secretariat Note to the users of UN/LOCODE 2011-1" (PDF). UNECE. 2011-09-22.
  2. 1 2 3 "Secretariat Note to the users of UN/LOCODE 2006-2" (PDF). UNECE. 2007-04-30.
  3. "UN/LOCODE (United Nations Code for Trade and Transport Locations), Issue 2006-2". 30 April 2007. Archived from the original on 9 May 2007.
  4. "Secretariat Note to the users of UN/LOCODE 2002-1" (PDF). UNECE. 2002.
  5. "Secretariat Note to the users of UN/LOCODE 2002-2" (PDF). UNECE. 2002-07-29.
  6. 1 2 3 "UN/CEFACT: News". UNECE. Archived from the original on 2003-12-05.
  7. "Secretariat Note to the users of UN/LOCODE 2003-1" (PDF). UNECE. 2002-12-20.
  8. "Secretariat Note to the users of UN/LOCODE 2003-2" (PDF). UNECE. 1 August 2003.
  9. "Secretariat Note to the users of UN/LOCODE 2004-1" (PDF). UNECE. 2004-02-18.
  10. 1 2 3 4 5 6 7 8 9 10 11 "UN/CEFACT: News Archive". UNECE . Retrieved 2012-08-26.
  11. "Secretariat Note to the users of UN/LOCODE 2004-2" (PDF). UNECE. 2004-07-27.
  12. "Secretariat Note to the users of UN/LOCODE 2005-1" (PDF). UNECE. 2005-02-28.
  13. "Secretariat Note to the users of UN/LOCODE 2005-2" (PDF). UNECE. 2005. Archived from the original (PDF) on 2006-03-04.
  14. "Secretariat Note to the users of UN/LOCODE 2006-1" (PDF). UNECE. 2006-06-09.
  15. "Secretariat Note to the users of UN/LOCODE 2007" (PDF). UNECE. 2008-03-20.
  16. "Secretariat Note to the users of UN/LOCODE 2009-1" (PDF). UNECE. 2009-09-23.
  17. "Secretariat Note to the users of UN/LOCODE 2009-2" (PDF). UNECE. 2010-02-08. Archived from the original (PDF) on 2010-04-14.
  18. "Secretariat Note to the users of UN/LOCODE 2010-1" (PDF). UNECE. 2010-10-29.
  19. "Secretariat Note to the users of UN/LOCODE 2010-2" (PDF). UNECE. 2010-12-18.
  20. "Secretariat Note to the users of UN/LOCODE 2011-2" (PDF). UNECE. 2012-02-28.
  21. "Secretariat Note to the users of UN/LOCODE 2012-1" (PDF). UNECE. 2012-09-14.
  22. "UN Centre for Trade Facilitation and E-business (UN/CEFACT)". UNECE . Retrieved 2012-10-07.
  23. "Secretariat Note to the users of UN/LOCODE 2012-2" (PDF). UNECE. 2013-03-09.
  24. "UN Centre for Trade Facilitation and E-business (UN/CEFACT)". UNECE . Retrieved 2013-03-09.
  25. "Secretariat Note to the users of UN/LOCODE 2013-1" (PDF). UNECE. 2013-08-21.
  26. "UN Centre for Trade Facilitation and E-business (UN/CEFACT)". UNECE . Retrieved 2013-08-21.
  27. "Secretariat Note to the users of UN/LOCODE 2013-2" (PDF). UNECE. 2013-12-20.
  28. "UN Centre for Trade Facilitation and E-business (UN/CEFACT)". UNECE . Retrieved 2013-12-20.
  29. "Secretariat Note to the users of UN/LOCODE 2015-1" (PDF). UNECE. 2015-07-06.
  30. "Secretariat Note to the users of UN/LOCCODE 2015-2" (PDF). UNECE. 2015-12-17.
  31. "Secretariat Note to the users of UN/LOCCODE 2016-1" (PDF). UNECE. 2016-07-01.
  32. "Secretariat Note to the users of UN/LOCCODE 2016-2" (PDF). UNECE. 2016-12-22.
  33. "Secretariat Note to the users of UN/LOCCODE 2017-1" (PDF). UNECE. 2017-07-13.
  34. "Secretariat Note to the users of UN/LOCCODE 2017-2" (PDF). UNECE. 2017-12-21.
  35. "Secretariat Note to the users of UN/LOCCODE 2018-1" (PDF). UNECE. 2018-07-02.
  36. "Secretariat Note to the users of UN/LOCCODE 2018-2" (PDF). UNECE. 2018-12-21.
  37. "Secretariat Note to the users of UN/LOCCODE 2019-1" (PDF). UNECE. 2019-07-05.
  38. "Secretariat Note to the users of UN/LOCCODE 2019-2" (PDF). UNECE. 2019-12-12.
  39. "Secretariat Note to the users of UN/LOCCODE 2020-1" (PDF). UNECE. 2020-07-01.
  40. "Secretariat Note to the users of UN/LOCCODE 2020-2" (PDF). UNECE. 2020-12-15.
  41. "Secretariat Note to the users of UN/LOCCODE 2021-2" (PDF). UNECE. 2021-12-13.
  42. "Secretariat Note to the users of UN/LOCCODE 2022-1" (PDF). UNECE. 2022-07-08.