aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-05 16:20:25 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-05 16:20:25 +1000
commitdcf9e62e968dd26f87616480f62f50a470316188 (patch)
tree465709285329c8f81d7f7bbb6ef5abb682dfe357
parentb5ad42df4ae777148a6c2455f284ae07848a63f3 (diff)
include debug output in CI and increase memory allocation
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b967400..cd46e5a 100644
--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,12 @@ dist/vicmap-osm.geojson: data/vicmap.geojson
./bin/vicmap2osm.js $< $@
dist/vicmap-osm-uniq.geojson: dist/vicmap-osm.geojson
- node --max-old-space-size=4096 bin/reduceDuplicates.js $< $@
+ mkdir -p debug/reduceDuplicates
+ node --max_old_space_size=4096 ./bin/reduceDuplicates.js --debug $< $@
dist/vicmap-osm-uniq-flats.geojson: dist/vicmap-osm-uniq.geojson
- ./bin/reduceOverlap.js $< $@
+ mkdir -p debug/reduceOverlap
+ node --max_old_space_size=4096 ./bin/reduceOverlap.js --debug $< $@
loadPgOSM: dist/vicmap-osm.geojson
ogr2ogr -f PostgreSQL PG: $< -lco UNLOGGED=YES -nln vm_osm