diff --git a/Makefile b/Makefile index 3050b0f..c5687fc 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ in/airports.dat: | in in/countries.dat: | in wget -c https://raw.githubusercontent.com/jpatokal/openflights/master/data/countries.dat -O $@ +# https://gist.githubusercontent.com/hrbrmstr/91ea5cc9474286c72838/raw/59421ff9b268ff0929b051ddafafbeb94a4c1910/continents.json in/continents.geojson: continents.geojson.gz | in gunzip -c $< > $@ diff --git a/continents.geojson.gz b/continents.geojson.gz index 50c51f9..2765462 100644 Binary files a/continents.geojson.gz and b/continents.geojson.gz differ diff --git a/internal/parsers/db/continents/geojson/calls.go b/internal/parsers/db/continents/geojson/calls.go index 6d85f71..b152bd1 100644 --- a/internal/parsers/db/continents/geojson/calls.go +++ b/internal/parsers/db/continents/geojson/calls.go @@ -10,7 +10,7 @@ import ( "github.com/paulmach/orb/planar" ) -const continentProperty = "Continent" +const continentProperty = "CONTINENT" // PointContinent goes through all polygons and returns the continent // in which the point is located. diff --git a/pkg/locodedb/data/locodes.csv.bz2 b/pkg/locodedb/data/locodes.csv.bz2 index ae1f209..4dd8223 100644 Binary files a/pkg/locodedb/data/locodes.csv.bz2 and b/pkg/locodedb/data/locodes.csv.bz2 differ