aboutsummaryrefslogtreecommitdiff
path: root/bin/reduceDuplicates.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reduceDuplicates.js')
-rwxr-xr-xbin/reduceDuplicates.js3
1 files changed, 2 insertions, 1 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 {