Changeset 12773 in josm


Ignore:
Timestamp:
2017-09-07T21:25:41+02:00 (7 years ago)
Author:
Klumbumbus
Message:

fix #15208 - warn when route=bicycle relation uses bicycle=use_sidepath ways

File:
1 edited

Legend:

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

    r11146 r12773  
    3434  assertNoMatch: "relation type=enforcement enforcement=maxspeed";
    3535}
     36
     37/* #15208 */
     38relation[type=route][route=mtb    ] > way[bicycle=use_sidepath],
     39relation[type=route][route=bicycle] > way[bicycle=use_sidepath] {
     40  throwWarning: tr("way with {0} is part of a bicycle route relation", "{0.tag}");
     41}
Note: See TracChangeset for help on using the changeset viewer.