Ticket #20442: 20442_v3.patch

File 20442_v3.patch, 857 bytes (added by Gabe, 5 years ago)

moved to highway.mapcss

  • resources/data/validator/highway.mapcss

     
    163163  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    164164  suggestAlternative: "kerb=*";
    165165  group: tr("suspicious tag combination");
     166}
     167
     168/* #20442 Addressing traffic signals on roundabouts */
     169node[highway=traffic_signals][traffic_signals=signal] < way[highway][junction=roundabout],
     170node[highway][highway=~/^(traffic_signals|stop|give_way)$/][!traffic_signals] < way[highway][junction=roundabout] {
     171  throwWarning: tr("{0} without right of way", "{1.tag}");
     172  group: tr("suspicious tag combination");
     173  suggestAlternative: "junction=circular";
    166174}
     175 No newline at end of file