From 87d9df1de1d1bc92b0e7d02b298a8670f4433f64 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Thu, 12 Jan 2023 17:14:36 +0300 Subject: [PATCH] [#2] Update DB Update to version 2022-2 Signed-off-by: Stanislav Bogatyrev --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 014742a..649e42e 100644 --- a/Makefile +++ b/Makefile @@ -31,16 +31,16 @@ in/continents.geojson: $(DIRS) zcat continents.geojson.gz > in/continents.geojson unlocode: - wget -c https://service.unece.org/trade/locode/loc221csv.zip -O tmp/loc221csv.zip - unzip -u tmp/loc221csv.zip -d in/ + wget -c https://service.unece.org/trade/locode/loc222csv.zip -O tmp/loc222csv.zip + unzip -u tmp/loc222csv.zip -d in/ locode_db: unlocode in/continents.geojson in/airports.dat in/countries.dat $(FROST) util locode generate \ --airports in/airports.dat \ --continents in/continents.geojson \ --countries in/countries.dat \ - --in in/2022-1\ UNLOCODE\ CodeListPart1.csv,in/2022-1\ UNLOCODE\ CodeListPart2.csv,in/2022-1\ UNLOCODE\ CodeListPart3.csv \ - --subdiv in/2022-1\ SubdivisionCodes.csv \ + --in in/2022-2\ UNLOCODE\ CodeListPart1.csv,in/2022-2\ UNLOCODE\ CodeListPart2.csv,in/2022-2\ UNLOCODE\ CodeListPart3.csv \ + --subdiv in/2022-2\ SubdivisionCodes.csv \ --out locode_db chmod 644 locode_db