From 13d18026a77a1acfeab7ed264c2ce1f9f2ae0e83 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Wed, 19 May 2021 11:38:53 +1000 Subject: consistent logging --- bin/conflate.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/conflate.js') diff --git a/bin/conflate.js b/bin/conflate.js index fd689e1..3e0e321 100755 --- a/bin/conflate.js +++ b/bin/conflate.js @@ -173,7 +173,7 @@ outputKeys.forEach(key => { }) // first pass to index by geometry -console.log('First find OSM addresses represented as areas and store them in memory') +console.log('Pass 1/2: Find OSM addresses represented as areas and store them in memory') pipeline( fs.createReadStream(osmFile), ndjson.parse(), @@ -190,12 +190,11 @@ pipeline( features: osmAddrPoly }) // second pass to conflate with existing OSM data + console.log('Pass 2/2: Conflate with existing OSM data') pipeline( fs.createReadStream(vicmapFile), ndjson.parse(), conflate, - //ndjson.stringify(), - //fs.createWriteStream(outputFile), err => { if (err) { console.log(err) -- cgit v1.2.3