- Timestamp:
- 2016-12-17T21:55:18+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r11398 r11406 477 477 } 478 478 479 way[highway][lanes][!lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1][lanes>2], 480 way[highway][lanes][!lanes: backward][!lanes:forward][oneway!=yes][oneway!=-1][lanes>2] {481 throwWarning: tr("street with {0} > 2, but without {1} and {2} or {3}", "{1.key}", "{2.key}", "{3.key}", "{4.key}");479 /* #14125 */ 480 way[highway][lanes][!lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1][lanes>2][get(split(".", tag(lanes)/2), 1)=5] { 481 throwWarning: tr("street with odd number of {0}, but without {1} and {2} or {3}", "{1.key}", "{2.key}", "{3.key}", "{4.key}"); 482 482 group: tr("missing tag"); 483 483 assertNoMatch: "way highway=primary lanes=2"; 484 484 assertNoMatch: "way highway=primary lanes=3 lanes:backward=2"; 485 485 assertNoMatch: "way highway=primary lanes=3 oneway=-1"; 486 assertNoMatch: "way highway=primary lanes=4"; 486 487 assertMatch: "way highway=primary lanes=3"; 487 488 }
Note:
See TracChangeset
for help on using the changeset viewer.