mirror of
https://github.com/nspcc-dev/locode-db.git
synced 2026-03-01 04:28:42 +00:00
No description
| .github | ||
| internal | ||
| pkg/locodedb | ||
| .gitignore | ||
| CHANGELOG.md | ||
| continents.geojson.gz | ||
| go.mod | ||
| go.sum | ||
| LICENSE.md | ||
| Makefile | ||
| override.csv | ||
| README.md | ||
UN/LOCODE database for NeoFS
Overview
This repository contains UN/LOCODE DB in a Go package. It can be used to get additional information about continent, country code and name, location, geo-position, subdivision based on LOCODE.
Prerequisites
- UN/LOCODE database in CSV format
- OpenFlight Airports database
- OpenFlight Countries database
Usage
Import github.com/nspcc-dev/locode-db/pkg/locodedb into your project and use its API.
Development
Just run make to regenerate CSV files with locodes and countries.
$ make
License
This project is licensed under the MIT license - see the LICENSE.md file for details.