Ticket #20442: 20442_v2.patch

File 20442_v2.patch, 819 bytes (added by reichg, 5 years ago)

switched logic so child node would be selected.

  • resources/data/validator/combinations.mapcss

     
    898898  assertMatch: "way highway=living_street maxspeed=30";
    899899  assertMatch: "way highway=living_street maxspeed=\"20 mph\"";
    900900}
     901
     902/* #20442 Addressing traffic signals on roundabouts */
     903node[highway=traffic_signals][traffic_signals=signal] < way[highway][junction=roundabout],
     904node[highway][highway=~/^(traffic_signals|stop|give_way)$/][!traffic_signals] < way[highway][junction=roundabout] {
     905  throwWarning: tr("{0} without right of way", "{1.tag}");
     906  group: tr("suspicious tag combination");
     907  suggestAlternative: "junction=circular";
     908}