Ignore:
Timestamp:
2014-01-05T13:25:04+01:00 (10 years ago)
Author:
simon04
Message:

fix #9379 - warn foot on major roads only if foot=yes and sidewalk is missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/highway.mapcss

    r6601 r6632  
    5353}
    5454
    55 way.major_road[foot] {
     55way.major_road[foot?][!sidewalk] {
    5656  throwWarning: tr("{0} used with {1}", tr("major road"), "{0.tag}");
    5757  suggestAlternative: "sidewalk";
     
    5959  assertMatch: "way highway=primary foot=yes";
    6060  assertNoMatch: "way highway=primary";
     61  assertNoMatch: "way highway=primary foot=yes sidewalk=both";
     62  assertNoMatch: "way highway=primary foot=no";
    6163}
    6264
Note: See TracChangeset for help on using the changeset viewer.