aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-17 23:51:01 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-17 23:51:01 +1000
commitf7b92ee6d240782f5e5957c20f6ea40e4b9dd2d1 (patch)
treeb27d8be67961e78e2913bfc690cfc8a0b207f0b4
parent1965b051faf2ca7d086be8a1360fa79404aaa1cc (diff)
fix summarise
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6fcca58..00dd106 100644
--- a/Makefile
+++ b/Makefile
@@ -128,8 +128,8 @@ dist/blocksByOSMAddr.fgb: data/victoria-addr.osm.centroids.fgb data/blocks.fgb
dist/blocksByOSMAddr.geojson: dist/blocksByOSMAddr.fgb
ogr2ogr -f GeoJSONSeq $@ $<
-summariseBlocksByOSMAddr:
- ogrinfo -dialect sqlite -sql 'select count(*), NUMPOINTS = 0 from blocksByOSMAddr group by (NUMPOINTS = 0)' data/blocksByOSMAddr.fgb
+summariseBlocksByOSMAddr: dist/blocksByOSMAddr.geojson
+ ogrinfo -dialect sqlite -sql 'select count(*), NUMPOINTS = 0 from blocksByOSMAddr group by (NUMPOINTS = 0)' $<
# conflate processed vicmap data with osm data
dist/conflate: dist/vicmap-osm-uniq-flats.geojson data/victoria-addr.osm.geojson dist/blocksByOSMAddr.geojson