NSI matcher shouldn't treat old_name like a name tag

(closes #8617)
This commit is contained in:
Bryan Housel
2021-08-02 12:21:34 -04:00
parent bd97df6aac
commit 1d5c8253be
+1
View File
@@ -349,6 +349,7 @@ function gatherNames(tags) {
}
function isNamelike(osmkey, which) {
if (osmkey === 'old_name') return false;
return patterns[which].test(osmkey) && !notNames.test(osmkey);
}
}