mapcomplete/assets/themes/grb_import
2022-04-28 00:35:08 +02:00
..
grb.json Translation sync 2022-04-13 18:42:40 +02:00
grb_fixme.json Translations sync 2022-04-28 00:35:08 +02:00
housenumber_blank.svg Autoreformat all the things 2022-01-18 18:52:42 +01:00
license_info.json Fix the last fake images, fix non-square theme icons, throw an error on fake svgs and non-square icons (if public theme) 2022-02-10 23:10:39 +01:00
logo.svg Fix the last fake images, fix non-square theme icons, throw an error on fake svgs and non-square icons (if public theme) 2022-02-10 23:10:39 +01:00
missing_streets.json Remove empty social images 2022-02-19 17:40:51 +01:00
README.md Full code cleanup 2021-11-07 16:34:51 +01:00
warning.svg Furhter cleanup of fake svgs 2022-02-08 02:24:37 +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