Changeset 18231 in josm for trunk/resources/data
- Timestamp:
- 2021-09-27T00:37:58+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r18230 r18231 110 110 } 111 111 112 /* #20742 - No warning about barrier with inappropriate access tags on highway */ 113 way[highway=~/^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/][!access][!vehicle] > node[barrier][barrier!~/entrance|border_control|height_restrictor|toll_booth/][!access][!motor_vehicle][!vehicle] { 114 throwWarning: tr("{0} without access tags such as {1}, {2}, or {3}.", "{0.tag}", "{2.key}", "{3.key}", "{4.key}"); 115 group: tr("suspicious barrier"); 116 } 117 118 way[highway=~/^(footway|path|bridleway|cycleway|service)$/] > node[barrier]:connection { 119 set barrierSmallRoadConnection; 120 } 121 122 way[highway=~/^(unclassified|residential)$/] >[index = 1] node.barrierSmallRoadConnection, 123 way[highway=~/^(unclassified|residential)$/] >[index = -1] node.barrierSmallRoadConnection { 124 set barrierAllowedAtConnection; 125 } 126 127 /* 20742; warnings for major roads set by other rule, also issue 20742 */ 128 way[highway=~/^(unclassified|residential)$/] > node[barrier][barrier!=bollard][!access][!access:conditional][!vehicle][!vehicle:conditional][!motor_vehicle][!motor_vehicle:conditional].barrierSmallRoadConnection!.barrierAllowedAtConnection { 129 throwWarning: tr("Suspicious {0} on a connection of a small highway with a larger highway", "{0.tag}"); 130 set hasWarningForBarrierOnWay; 131 group: tr("suspicious barrier"); 132 } 133 134 way[highway=~/^(unclassified|residential)$/] > node[barrier].barrierSmallRoadConnection!.hasWarningForBarrierOnWay { 135 throwOther: tr("Suspicious {0} on a connection of a small highway with a larger highway", "{0.tag}"); 136 group: tr("suspicious barrier"); 137 } 138 112 139 /* {0.key} without {1.tag} or {2.tag} */ 113 140 *[bridge:movable ][bridge!=movable][man_made!=bridge],
Note:
See TracChangeset
for help on using the changeset viewer.