klaspihl/unlocode

By klaspihl

Updated 2 months ago

UN/Locode translator. Short location name to full location names.

Image
Integration & delivery
0

1.2K

klaspihl/unlocode repository overview

UN/Locode

United Nations Code for Trade and Transport Location UN/Locode

Function

Contaner translate location code to name and back. If multiple location codes is found they can be selected by adding country. In some cases a coordinates to the location is avaiable and those coordinates is translated to long/lat working with maps

Examples

From Name to location code
docker run --rm --env name=yngsjö --env country=se  klaspihl/unlocode
Result
{
  "Location": "YNG",
  "LocatioName": "Yngsjö",
  "Country": "SE",
  "CountryName": "Sweden",
  "Coordinates": "+55.88,+14.22"
}
From location code to name
docker run --rm --env location=yng --env country=se  klaspihl/unlocode

Quick reference

Maintained by: GitHub.com/klaspihl

Requests or help GitHub Issue

Tag summary

Content type

Image

Digest

sha256:e8eb8006a

Size

5.9 MB

Last updated

2 months ago

docker pull klaspihl/unlocode