| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
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. The version from 2008 contained codes for about 60,000 locations.[1] [edit] Anglicized namesBeside 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 romanized local name.[2] [edit] StructureUN/LOCODEs have five characters. The first two characters are letters. They 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" avoids confusion between "O" and "0", and between "I" and "1". For each country there can be at maximum 34*34*34 = 39 304 entries. For the US, the 17575 possible combinations of 3-character codes 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. [edit] Loose consistency with existing IATA airport codesFor 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] [edit] Official UN/LOCODE tablesUN/LOCODEs are released as a table. An individual revision is officially referred to as an "issue". A discussion of the table's structure follows. [edit] Examples
[edit] Data fieldsThe fields are listed in the official order. [edit] Ch (Changes)
[edit] Locode
[edit] Name
[edit] Name Without Diacritics
[edit] SubDiv (Subdivision)
[edit] FunctionEach defined function gets a classifier; the most important are:
[edit] Status
[edit] Date
Observation: The edition published in 2008 contains for additions the value 0701, while in other cases the exact month is used like 9710, 0212. [edit] IATA
[edit] Coordinates
[edit] Remarks
[edit] ErrorsIn 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 is not necessarily an error. 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. 2007 added a 2nd code for Bánovce Nad Bebravou. 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 .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 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 [edit] 2009-1The 2009-1 release added for Ukraine several entries where the longitude to big by power of 10. Ranging from 23230E to 38829E, they are outside what would constitutes an eastern longitude. Apart from Nikolayev, now also Ivano Frankovsk and Chuguyev have two entries. For all three the romanized 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 [edit] ProblemsSome entries do not have coordinates, so it is not clear where they actually refer too. 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 [edit] Release history
[edit] See also[edit] References
[edit] External links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |