From 9d6b461d0ec92551b9db84008f75a749c28d5bdf Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 30 Apr 2019 11:53:03 -0700 Subject: [PATCH] Apply the crossing tag of the path to the node even if it's not a footpath when connecting crossing ways --- modules/validations/crossing_ways.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/validations/crossing_ways.js b/modules/validations/crossing_ways.js index 25758ba6f..306d2b1c8 100644 --- a/modules/validations/crossing_ways.js +++ b/modules/validations/crossing_ways.js @@ -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 }; }