aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-06-10 23:03:04 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-06-10 23:03:04 +1000
commitfc2b28841d32c52e5ca60d3baca95f06f7a9977c (patch)
tree4d021778475614bed330da50e6befd4326179440
parentdfa35d39ba36c16f35bc99c24aa954d16caed4ee (diff)
results as FGB for qgis viewing
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 263f827..9763806 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,12 @@ dist/vicmap-osm-uniq-flats-withinrange.geojson: dist/vicmap-osm-uniq-flats.geojs
mkdir -p debug/reduceRangeDuplicates
node --max_old_space_size=4096 ./bin/reduceRangeDuplicates.js --debug $< $@
+convertGeoJSONResultsToFGB:
+ ogr2ogr -f FlatGeobuf dist/vicmap-osm.fgb dist/vicmap-osm.geojson
+ ogr2ogr -f FlatGeobuf dist/vicmap-osm-uniq.fgb dist/vicmap-osm-uniq.geojson
+ ogr2ogr -f FlatGeobuf dist/vicmap-osm-uniq-flats.fgb dist/vicmap-osm-uniq-flats.geojson
+ ogr2ogr -f FlatGeobuf dist/vicmap-osm-uniq-flats-withinrange.fgb dist/vicmap-osm-uniq-flats-withinrange.geojson
+
dist/canidates.geojson: dist/vicmap-osm-uniq-flats-withinrange.geojson
cp $< $@