aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-19 23:20:47 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-19 23:20:47 +1000
commita7151f6a4c935971250684a94d4ee47dc5fda8af (patch)
tree1a2baf7360aa286f63cbea93cd03b5e4960afaad
parentf662e9db5d320a1308b12e2d9581933e2f6017d8 (diff)
convert dist/conflate to fgb for faster loading in qgis
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c05de47..baf7ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -142,3 +142,10 @@ summariseBlocksByOSMAddr: dist/blocksByOSMAddr.geojson
dist/conflate:
mkdir -p $@
./bin/conflate.js dist/vicmap-osm-uniq-flats.geojson data/victoria-addr.osm.geojson dist/blocksByOSMAddr.geojson $@
+
+convertConflationResultsToFGB:
+ ogr2ogr -f FlatGeobuf dist/conflate/withinExistingOSMAddressPoly.fgb dist/conflate/withinExistingOSMAddressPoly.geojson
+ ogr2ogr -f FlatGeobuf dist/conflate/notFoundInBlocks.fgb dist/conflate/notFoundInBlocks.geojson
+ ogr2ogr -f FlatGeobuf dist/conflate/exactMatch.fgb dist/conflate/exactMatch.geojson
+ ogr2ogr -f FlatGeobuf dist/conflate/noExactMatch.fgb dist/conflate/noExactMatch.geojson
+ ogr2ogr -f FlatGeobuf dist/conflate/noOSMAddressWithinBlock.fgb dist/conflate/noOSMAddressWithinBlock.geojson