diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-23 22:52:51 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-23 22:52:51 +1000 |
commit | e3d3de6853aa24318fba13eadf6b87b0768b5923 (patch) | |
tree | ebe2224eefd740fe002916cc7b331263dbf6e880 /bin | |
parent | bb80fafe08e5fd97f51d50f34d1fc91cc0dd1ced (diff) |
log progress
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/conflate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/conflate.js b/bin/conflate.js index 6a9e036..e6fedd1 100755 --- a/bin/conflate.js +++ b/bin/conflate.js @@ -241,7 +241,7 @@ pipeline( osmAddrPolygonIndex++ if (process.stdout.isTTY && osmAddrPolygonIndex % 1000 === 0) { - process.stdout.write(` ${osmAddrPolygonIndex.toLocaleString()}\r`) + process.stdout.write(` ${osmAddrPolygonIndex.toLocaleString()} of ${osmAddrPolygons.length.toLocaleString()} (${Math.round(osmAddrPolygonIndex / osmAddrPolygons.length * 100)}%)\r`) } // find the blocks it might intersect |