Ticket #20742: 20742_v2.patch
| File 20742_v2.patch, 1.3 KB (added by , 5 years ago) |
|---|
-
resources/data/validator/combinations.mapcss
6 6 set unpaved_surface; 7 7 } 8 8 9 way[highway=~/^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/] { 10 set major_roads; 11 } 12 9 13 /* {0.key} without {1.key} (warning level) */ 10 14 way[junction ][!highway][junction!=yes][!area:highway], 11 15 way[living_street ][!highway], … … 109 113 group: tr("missing tag"); 110 114 } 111 115 116 /* #20742 - No warning about barrier with inappropriate access tags on highway */ 117 way[!access][!vehicle].major_roads > node[barrier][barrier!=entrance][!access][!motor_vehicle] { 118 throwWarning: tr("{0} tag on node missing complimentary tags such as {1}, {2}, or {3}.", "barrier", "access", "motor_vehicle", "vehicle"); 119 group: tr("suspicious barrier tags"); 120 assertMatch: "node barrier=gate way highway=tertiary"; 121 assertNoMatch: "node barrier=entrance way highway=tertiary"; 122 } 123 112 124 /* {0.key} without {1.tag} or {2.tag} */ 113 125 *[bridge:movable ][bridge!=movable][man_made!=bridge], 114 126 *[substation ][power!=substation][pipeline!=substation],
