mapcomplete/assets/themes/grb_import
2021-12-05 21:03:39 +01:00
..
grb.json Update GRB description 2021-12-05 21:03:39 +01:00
grb_fixme.json Translation sync 2021-12-02 23:02:37 +01:00
README.md Full code cleanup 2021-11-07 16:34:51 +01:00

GRB Import helper

Preparing the CRAB dataset

# The original data is downloaded from https://download.vlaanderen.be/Producten/Detail?id=447&title=CRAB_Adressenlijst# (the GML-file here )
wget https://downloadagiv.blob.core.windows.net/crab-adressenlijst/GML/CRAB_Adressenlijst_GML.zip
        
# Extract the zip file
unzip CRAB_Adressenlijst_GML.zip

# convert the pesky GML file into geojson
ogr2ogr -progress -t_srs WGS84 -f \"GeoJson\" CRAB.geojson CrabAdr.gml

# When done, this big file is sliced into tiles with the slicer script
node --max_old_space_size=8000 $(which ts-node) ~/git/MapComplete/scripts/slice.ts CRAB.geojson 18 ~/git/pietervdvn.github.io/CRAB_2021_10_26