Lably
Skip to content

UN/LOCODE

Geographic coding scheme

  • 5 min read
  • 6 chapters

Related on Lably

Through Trade, Transport and Port

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.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Cities