Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.21 KB

File metadata and controls

27 lines (19 loc) · 1.21 KB

badge

List mantained by the SMDG Secretariat to specify the port terminal facilities in UN/EDIFACT messages. The list is directly linked with the UN/LOCODE codelist (see data package)

Data

Example segment where the main location is RULED (UN/LOCODE for Saint Petersburg, Russia) and the facility is PLP (SMDG code for Petrolesport).

LOC+11+RULED:139:6+PLP:72:306

Preparation

Process is recorded and automated in python script:

# Install requirements
pip install -r scripts/requirements.txt

# Run the script
python scripts/process.py

Automation

Up-to-date (auto-updates every 3 months) smdg dataset could be found on the datahub.io: https://datahub.io/core/smdg-master-terminal-facilities-list

License

All data is licensed under the Creative Commons 4.0 Attribution License. You may need to attribute the specific code to the SMDG Secretariat.