aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reduceDuplicates.js3
-rwxr-xr-xbin/reduceOverlap.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/reduceDuplicates.js b/bin/reduceDuplicates.js
index 7eaba30..0abef54 100755
--- a/bin/reduceDuplicates.js
+++ b/bin/reduceDuplicates.js
@@ -75,9 +75,10 @@ const reduce = new Transform({
process.stdout.write(` ${reduceIndex.toLocaleString()} / ${sourceCount.toLocaleString()} (${Math.round(reduceIndex / sourceCount * 100)}%)\r`)
}
+ // groupedFeatures is a list of features which all shared the same attributes, these may or may not share the same geometry
const groupedFeatures = features[key]
if (groupedFeatures.length === 1) {
- // address not duplicated
+ // address not duplicated, pass through as unique
this.push(groupedFeatures[0])
} else {
diff --git a/bin/reduceOverlap.js b/bin/reduceOverlap.js
index 49a06ad..3b4adb1 100755
--- a/bin/reduceOverlap.js
+++ b/bin/reduceOverlap.js
@@ -18,7 +18,7 @@ const argv = require('yargs/yargs')(process.argv.slice(2))
})
.option('verbose', {
type: 'boolean',
- description: ''
+ description: 'Verbose logging'
})
.argv