From a7151f6a4c935971250684a94d4ee47dc5fda8af Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Wed, 19 May 2021 23:20:47 +1000 Subject: convert dist/conflate to fgb for faster loading in qgis --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3