Changes between Initial Version and Version 1 of Ticket #20742, comment 34
- Timestamp:
- 2021-09-17T20:24:49+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20742, comment 34
initial v1 11 11 {{{ 12 12 #!rule 13 way[highway=~/^(footway|path|bridleway|cycleway|service)$/] > 13 way[highway=~/^(footway|path|bridleway|cycleway|service)$/] >node[barrier]:connection { 14 14 set .barrierSmallRoadConnection; 15 15 } 16 way[highway=~/^(unclassified|residential)$/] >[index = 1] node.barrierSmallRoadConnection, 17 way[highway=~/^(unclassified|residential)$/] >[index = -1] node.barrierSmallRoadConnection { 18 set .barrierAllowedAtConnection; 19 } 16 20 /* 20742; warnings for major roads set by other rule, also issue 20742 */ 17 way[highway=~/^(unclassified|residential)$/] > node[barrier][barrier!=bollard][!access][!access:conditional][!vehicle][!vehicle:conditional][!motor_vehicle][!motor_vehicle:conditional].barrierSmallRoadConnection {21 way[highway=~/^(unclassified|residential)$/] > node[barrier][barrier!=bollard][!access][!access:conditional][!vehicle][!vehicle:conditional][!motor_vehicle][!motor_vehicle:conditional].barrierSmallRoadConnection!.barrierAllowedAtConnection { 18 22 throwWarning: tr("Suspicious {0} on a connection of a small highway with a larger highway", "{0.tag}"); 19 23 set .hasWarningForBarrierOnWay;