aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--Makefile6
-rw-r--r--README.md2
3 files changed, 6 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7a761c1..d868db7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,7 +104,8 @@ build osm:
script:
- yarn install
- mkdir -p dist data
- - make dist/addressesPerBlock.fgb
+ - make dist/blocksByOSMAddr.fgb
+ - make summariseBlocksByOSMAddr
when: manual
artifacts:
name: "build osm"
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
diff --git a/README.md b/README.md
index bfe9899..59c0a84 100644
--- a/README.md
+++ b/README.md
@@ -152,4 +152,4 @@ Generate city blocks:
Sort blocks into containing some OSM addresses or containing no OSM addresses:
- make data/addressPerBlock.fgb
+ make data/blocksByOSMAddr.fgb