aboutsummaryrefslogtreecommitdiff
path: root/bin/candidates.js
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-06-10 10:27:28 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-06-10 10:27:28 +1000
commit0ae992506b69fbf56008972757edac8201d1f455 (patch)
treed89a48c1d304ba27fbfe419249f119f6f5af988f /bin/candidates.js
parent5b1077017e4b32443f18ba2395d7884af97e7dab (diff)
process from start to end
Diffstat (limited to 'bin/candidates.js')
-rwxr-xr-xbin/candidates.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/candidates.js b/bin/candidates.js
index e350f6f..6e2e7b0 100755
--- a/bin/candidates.js
+++ b/bin/candidates.js
@@ -145,7 +145,7 @@ function outputCandidates() {
}
// first pass to index by geometry
-console.log('Step 1/X: Reading suburbs')
+console.log('Step 1/4: Reading suburbs')
pipeline(
fs.createReadStream(suburbsFile),
ndjson.parse(),
@@ -155,13 +155,13 @@ pipeline(
console.log(err)
process.exit(1)
} else {
- console.log('Step 2/X: Creating index of Suburbs')
+ console.log('Step 2/4: Creating index of Suburbs')
lookupSuburbs = new PolygonLookup({
type: 'FeatureCollection',
features: suburbs
})
- console.log('Step 3/X: noOSMAddressWithinBlock')
+ console.log('Step 3/4: noOSMAddressWithinBlock')
pipeline(
fs.createReadStream(path.join(conflatePath, 'noOSMAddressWithinBlock.geojson')),
ndjson.parse(),
@@ -172,7 +172,7 @@ pipeline(
process.exit(1)
} else {
- console.log('Step 4/X: noExactMatch')
+ console.log('Step 4/4: noExactMatch')
pipeline(
fs.createReadStream(path.join(conflatePath, 'noExactMatch.geojson')),
ndjson.parse(),