Changeset 17935 in josm for trunk/resources/data
- Timestamp:
- 2021-06-21T19:00:00+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/highway.mapcss
r17388 r17935 165 165 group: tr("suspicious tag combination"); 166 166 } 167 168 /* #20987 */ 169 way[turn ][turn !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;)+$/], 170 way[turn:forward ][turn:forward !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;)+$/], 171 way[turn:backward ][turn:backward !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;)+$/], 172 way[turn:both_ways ][turn:both_ways !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;)+$/], 173 way[turn:lanes ][turn:lanes !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;|\|)+$/], 174 way[turn:lanes:forward ][turn:lanes:forward !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;|\|)+$/], 175 way[turn:lanes:backward ][turn:lanes:backward !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;|\|)+$/], 176 way[turn:lanes:both_ways][turn:lanes:both_ways !~ /^((sharp_|slight_|merge_to_|slide_)?(left|right)|reverse|through|none|;|\|)+$/] { 177 throwWarning: tr("unusual value of {0}", "{0.key}"); 178 assertMatch: "way turn=straight"; /* through would be correct */ 179 assertMatch: "way turn=slight_reverse"; /* wrong value */ 180 assertMatch: "way turn=through|right"; /* :lanes missing in key */ 181 assertNoMatch: "way turn=through;right"; 182 assertMatch: "way turn:lanes:forward=straight|right"; /* through would be correct */ 183 assertMatch: "way turn:lanes:forward=slight_reverse|right"; /* wrong value */ 184 assertNoMatch: "way turn:lanes:forward=sharp_left;left|left;through;slight_right|slight_right;right"; 185 }
Note:
See TracChangeset
for help on using the changeset viewer.