aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/conflate.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/conflate.js b/bin/conflate.js
index 7b7f09b..f986028 100755
--- a/bin/conflate.js
+++ b/bin/conflate.js
@@ -140,6 +140,7 @@ const conflate = new Transform({
})
if (matches.length) {
// matching number and street, high confidence
+ feature.properties._matches = matches.map(match => `${match.properties['@type']}/${match.properties['@id']}`).join(',')
outputStreams.exactMatch.write(feature)
} else {
// no exact match, probably can import