From 8debcbabfa32359264706db719357b13a676a00f Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Mon, 17 May 2021 16:21:31 +1000 Subject: rename to blocksByOSMAddr as this file represents city blocks which have either no osm addresses or some osm addresses --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ead3ef0..a0f0392 100644 --- a/Makefile +++ b/Makefile @@ -118,8 +118,8 @@ data/blocks.fgb: data/victoria-roads.fgb qgis_process run native:polygonize -- INPUT=$< KEEP_FIELDS=FALSE OUTPUT=$@ # count OSM addresses by block, those with no OSM addresses we can import all the candidate addresses without conflation issues -dist/addressesPerBlock.fgb: data/victoria-addr.osm.centroids.fgb data/blocks.fgb +dist/blocksByOSMAddr.fgb: data/victoria-addr.osm.centroids.fgb data/blocks.fgb qgis_process run native:countpointsinpolygon -- POINTS=$< POLYGONS='data/blocks.fgb|layername=blocks' FIELD=NUMPOINTS OUTPUT=$@ -summariseAddressesPerBlock: - ogrinfo -dialect sqlite -sql 'select count(*), NUMPOINTS = 0 from addressesPerBlock group by (NUMPOINTS = 0)' data/addressesPerBlock.fgb +summariseBlocksByOSMAddr: + ogrinfo -dialect sqlite -sql 'select count(*), NUMPOINTS = 0 from blocksByOSMAddr group by (NUMPOINTS = 0)' data/blocksByOSMAddr.fgb -- cgit v1.2.3