Skip to content

Releases: nspcc-dev/locode-db

v0.7.0

28 Aug 13:12
845edb1
Compare
Choose a tag to compare

Changed

  • Go 1.22 is required to build now (#40, #43)
  • Corrected known bad coordinates via a local override (#38)
  • Drop cobra dependency, use standard packages to deal with flags (#42)

Updated

  • UN/LOCODE to 2024-1 version (#44)
  • Switch data source to github.com/datasets/un-locode which has more suitable data format (#37)
  • Continents file from known source (#45)

Fixed

  • UN/LOCODE files now in UTF-8, without wrong symbols (#37)
  • Support float coordinates from UN/LOCODE files (#38)

v0.6.0

20 Feb 12:15
2613640
Compare
Choose a tag to compare

Changed

  • Go 1.20 is required to build now (#33)

Updated

  • UN/LOCODE to 2023-2 version (#33)
  • All dependencies to current versions (#33)

v0.5.0

28 Nov 14:09
5c26fc1
Compare
Choose a tag to compare

The DB is now provided as a Go package, import it as github.com/nspcc-dev/locode-db/pkg/locodedb. Old binary DB is no longer
being built and released.

Changed

  • Dropped deb packages (#18)
  • License is MIT now (#18)
  • DB is stored in a Go package (#22, #23, #28)
  • neofs-cli is no longer required to regenerate the DB (#22)

Updated

  • UN/LOCODE to 2023-1 version (#22)
  • golang.org/x/text dependency from 0.3.7 to 0.3.8 (#27)

v0.4.0

12 Apr 09:17
9aa5e3a
Compare
Choose a tag to compare

Updated

  • UN/LOCODE to 2022-2 version

Binary built with neofs-cli 0.35.0.

Sources SHA256:

47fd4f92017638c1d3568168ac6f81e788ca5c14796dc2674f95d26f0e98b6b0  2022-2 SubdivisionCodes.csv
8ba78de01bb968739f870d46330622b5d43c47431e86a630362fcff4bd6924b2  2022-2 UNLOCODE CodeListPart1.csv
e3e1e970bb35471e28462127d5923995bdd7000e10e9cf74066ccc8f8e23f512  2022-2 UNLOCODE CodeListPart2.csv
a9cfb06c3604f9c59bfc4e84bcd6b4406653a838703ab0502d18256f9624a00b  2022-2 UNLOCODE CodeListPart3.csv
63c987298bb11229aa13ecbd577e2c957b0abf491f2ecd0b369ff9d5b8421593  2022-2 UNLOCODE SecretariatNotes.pdf
9387cdb38df5bd664da823f8ccb69fdd9b33a1888f5b7cca09c34a3cd9ff59f9  airports.dat
3d1445f444f57bedc301271bd97a02a1c25c97d83f281d7750118cf457d1c5b6  continents.geojson
5cbd1a7da0f4f8003f595d22d80f025f483caad7a0672354ef9bc70221d348ed  countries.dat

Resulting DB SHA256:

f1ccb503ffdb48dfa77d46f1f752ed753c0fdff870409d1c32c71a7da4e1d78f  locode_db

v0.3.0

28 Oct 19:56
Compare
Choose a tag to compare

Built with neofs-cli v0.32.0

Changed

  • Added Makefile to simplify DB build (#9)
  • Added .deb packages support (#11)

Updated

  • UN/LOCODE to 2022-1 version
Sources:
5c379f170f531f025a66f49d564fa9c9ceefd098b5363e8d64419022bb46d76a  2022-1 SubdivisionCodes.csv
cd56223bece92a838969029a17adf2dd44112bb43f1b517f0dc6de2fcfbaf401  2022-1 UNLOCODE CodeListPart1.csv
5c677d84ab8bcab69a8634b5f9778d1f5d68ded90198de6820e9ac7245ea967e  2022-1 UNLOCODE CodeListPart2.csv
c71e9fcdd19cdc388a8ecefd1f70e0d8a32c5a959af9580a000bf62ef76e451c  2022-1 UNLOCODE CodeListPart3.csv
ebcde50f7d01466e11ae26795939463c650dac623d4b8a673bc205b5a7da90fb  2022-1 UNLOCODE SecretariatNotes.pdf
9387cdb38df5bd664da823f8ccb69fdd9b33a1888f5b7cca09c34a3cd9ff59f9  airports.dat
3d1445f444f57bedc301271bd97a02a1c25c97d83f281d7750118cf457d1c5b6  continents.geojson
5cbd1a7da0f4f8003f595d22d80f025f483caad7a0672354ef9bc70221d348ed  countries.dat

Resulting BoltDB database:
6161576053c9711eae74a797d3e5b1841ea2ef1d6c3a1a432bb035d38dc1a8e5  locode_db

v0.2.1

02 Nov 15:13
v0.2.1
Compare
Choose a tag to compare

Built with neofs-cli v0.26.1

Changed

  • Find the nearest continent for LOCODEs without exact continent match (#3, #6)

Checksums

Sources:
aa5cf0c45f27db3941d72aaed1419e7f  2021-1 SubdivisionCodes.csv
fe16f76ad454017f23e8c979c82e4193  2021-1 UNLOCODE CodeListPart1.csv
9f4ce9eb9abb2b792c07c8227fb9cd08  2021-1 UNLOCODE CodeListPart2.csv
29c5035dbf6edd6de1e507da4fb7f093  2021-1 UNLOCODE CodeListPart3.csv
acfcde754e66b4f224562fa74b567b2b  airports.dat
c071299e8583cc5df070e09dcf4cd5fd  continents.geojson
6807f95b4259edb4c87c12cf1677d3e4  countries.dat

Resulting BoltDB database:
697728c70b40ba696e09c2d51747c32b  locode_db

v0.2.0

21 Oct 20:40
v0.2.0
Compare
Choose a tag to compare

Built with neofs-cli v0.26.0

Fixed

  • Decimal parts of coordinates contains minutes, not degrees (#2)

Updated

  • UN/LOCODE to 2021-1 version

Checksums

Sources:
aa5cf0c45f27db3941d72aaed1419e7f  locode_0.2.0/2021-1 SubdivisionCodes.csv
fe16f76ad454017f23e8c979c82e4193  locode_0.2.0/2021-1 UNLOCODE CodeListPart1.csv
9f4ce9eb9abb2b792c07c8227fb9cd08  locode_0.2.0/2021-1 UNLOCODE CodeListPart2.csv
29c5035dbf6edd6de1e507da4fb7f093  locode_0.2.0/2021-1 UNLOCODE CodeListPart3.csv
acfcde754e66b4f224562fa74b567b2b  locode_0.2.0/airports.dat
c071299e8583cc5df070e09dcf4cd5fd  locode_0.2.0/continents.geojson
6807f95b4259edb4c87c12cf1677d3e4  locode_0.2.0/countries.dat

Resulting BoltDB database:
3b5900c8e6acc5696d2de3b2f69510ad  locode_db

v0.1.0

10 Feb 17:27
Compare
Choose a tag to compare

Initial release, built with neofs-cli v0.15.0

Checksums

Sources:
acfcde754e66b4f224562fa74b567b2b  openflights/airports.dat
6807f95b4259edb4c87c12cf1677d3e4  openflights/countries.dat
66796f3e2bccef8b4897806f405e4f64  locode/2020-2 SubdivisionCodes.csv
3fea5f3d0d3ebcb4ecdcb5278b206272  locode/2020-2 UNLOCODE CodeListPart1.csv
fffb6841f31d6624a94ba443549058fd  locode/2020-2 UNLOCODE CodeListPart2.csv
2a394b3ff1f4c9ff350f1a2dc824af6f  locode/2020-2 UNLOCODE CodeListPart3.csv
c071299e8583cc5df070e09dcf4cd5fd  continents.geojson

Resulting BoltDB database:
f94cb71c6d01e8801bddee99f4e8ad02  locode_db