diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-19 23:21:31 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-19 23:21:31 +1000 |
commit | 66ec9f9177a685129e917ff6bb8d503779c668f9 (patch) | |
tree | 1cf15607a3501cd8b2d07ca2beb679e3cabaa4be /bin/conflate.js | |
parent | a7151f6a4c935971250684a94d4ee47dc5fda8af (diff) |
log progress as actual number
Diffstat (limited to 'bin/conflate.js')
-rwxr-xr-x | bin/conflate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/conflate.js b/bin/conflate.js index f2b5328..cc39ec0 100755 --- a/bin/conflate.js +++ b/bin/conflate.js @@ -83,7 +83,7 @@ const filterOSMAddrPoly = new Transform({ osmAddrCount++ if (process.stdout.isTTY && osmAddrCount % 10000 === 0) { - process.stdout.write(` ${osmAddrCount / 1000}k\r`) + process.stdout.write(` ${osmAddrCount.toLocaleString()}\r`) } if (feature && feature.geometry && feature.geometry.type) { @@ -122,7 +122,7 @@ const conflate = new Transform({ sourceCount++ if (process.stdout.isTTY && sourceCount % 10000 === 0) { - process.stdout.write(` ${sourceCount / 1000}k\r`) + process.stdout.write(` ${sourceCount.toLocaleString()}\r`) } // find which block this vicmap address is in |