mapcomplete/assets/themes/grb_import
2022-01-26 20:47:08 +01:00
..
grb.json Performance optimazations 2022-01-26 20:47:08 +01:00
grb_fixme.json Merge branch 'master' into develop 2022-01-06 15:38:44 +01:00
housenumber_blank.svg Autoreformat all the things 2022-01-18 18:52:42 +01:00
license_info.json Add decent intersection detection to GRB theme 2021-12-22 00:42:34 +01:00
missing_streets.json Add check: layer and theme ids must be lowercase and match [a-z_-]* 2021-12-30 22:36:34 +01:00
README.md Full code cleanup 2021-11-07 16:34:51 +01:00
warning.svg Resize all SVG images 2022-01-06 20:54:00 +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