diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-25 21:53:08 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-25 21:53:08 +1000 |
commit | 87e5b3eecc2f7b51f3f57baef866d9dd6c4a4c71 (patch) | |
tree | 5c2ee299e7b3ffc3cb4943cc2c00e233961bacf1 | |
parent | b10c8ea6800afa310cad1c9371c6af392473d2d9 (diff) |
blocks only needs NUMPOINTS attribute
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -162,7 +162,7 @@ dist/blocksByOSMAddr.fgb: data/victoria-addr.osm.centroids.fgb data/blocksWithCo qgis_process run native:countpointsinpolygon -- POINTS=$< POLYGONS='data/blocksWithCoastalStripSplit.fgb' FIELD=NUMPOINTS OUTPUT=$@ dist/blocksByOSMAddr.geojson: dist/blocksByOSMAddr.fgb - ogr2ogr -f GeoJSONSeq $@ $< + ogr2ogr -f GeoJSONSeq -select 'NUMPOINTS' $@ $< summariseBlocksByOSMAddr: dist/blocksByOSMAddr.geojson ogrinfo -dialect sqlite -sql 'select count(*), NUMPOINTS = 0 from blocksByOSMAddr group by (NUMPOINTS = 0)' $< @@ -189,7 +189,7 @@ Generate city blocks: Sort blocks into containing some OSM addresses or containing no OSM addresses: - make data/blocksByOSMAddr.fgb + make dist/blocksByOSMAddr.fgb Conflate Vicmap addresses with OSM: |