mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Apply the crossing tag of the path to the node even if it's not a footpath when connecting crossing ways
This commit is contained in:
@@ -164,9 +164,7 @@ export function validationCrossingWays() {
|
||||
return {};
|
||||
}
|
||||
var pathFeature = entity1IsPath ? entity1 : entity2;
|
||||
if (pathFeature.tags.highway === 'footway' &&
|
||||
pathFeature.tags.footway === 'crossing' &&
|
||||
['marked', 'unmarked'].indexOf(pathFeature.tags.crossing) !== -1) {
|
||||
if (['marked', 'unmarked'].indexOf(pathFeature.tags.crossing) !== -1) {
|
||||
// if the path is a crossing, match the crossing type
|
||||
return { highway: 'crossing', crossing: pathFeature.tags.crossing };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user