Fix connect features with uncontrolled crossing (#9443)

This commit is contained in:
archpdx
2023-01-19 02:59:16 -08:00
committed by GitHub
parent 75edf18586
commit 81374c3735
+1 -1
View File
@@ -146,7 +146,7 @@ export function validationCrossingWays(context) {
return {};
}
var pathFeature = entity1IsPath ? entity1 : entity2;
if (['marked', 'unmarked', 'traffic_signals'].indexOf(pathFeature.tags.crossing) !== -1) {
if (['marked', 'unmarked', 'traffic_signals', 'uncontrolled'].indexOf(pathFeature.tags.crossing) !== -1) {
// if the path is a crossing, match the crossing type
return bothLines ? { highway: 'crossing', crossing: pathFeature.tags.crossing } : {};
}