diff options
Diffstat (limited to 'bin/building.js')
-rwxr-xr-x | bin/building.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/building.js b/bin/building.js index 966c470..2b18aad 100755 --- a/bin/building.js +++ b/bin/building.js @@ -106,7 +106,7 @@ const conflate = new Transform({ */ if (nearbyMatches.length === 1) { // a single nearby OSM features found with similar name - if (nearbyMatchedFeatures[0].properties.name.toLowerCase === name.toLowerCase()) { + if (nearbyMatchedFeatures[0].properties.name.toLowerCase() === name.toLowerCase()) { // name exactly matched console.log(`Exact match: ${properties.name} = ${nearbyMatchedFeatures[0].properties.name}`) } else { |