diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-19 11:38:53 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-19 11:38:53 +1000 |
commit | 13d18026a77a1acfeab7ed264c2ce1f9f2ae0e83 (patch) | |
tree | a5ed42d55b99dee3312e432731a424af675efa9a | |
parent | c04a881049b0409242edfb019e5b3d531af2dec2 (diff) |
consistent logging
-rwxr-xr-x | bin/conflate.js | 5 |
1 files changed, 2 insertions, 3 deletions
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) |