Ticket #20742: 20742_v7.patch

File 20742_v7.patch, 1017 bytes (added by reichg, 5 years ago)

suspicious barrier and removed asserts.

  • resources/data/validator/combinations.mapcss

     
    109109  group: tr("missing tag");
    110110}
    111111
     112/* #20742 - No warning about barrier with inappropriate access tags on highway */
     113 way[highway=~/^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/][!access][!vehicle] > node[barrier][barrier!~/entrance|border_control|height_restrictor|toll_booth/][!access][!motor_vehicle][!vehicle] {
     114    throwWarning: tr("{0} without access tags such as {1}, {2}, or {3}.", "{0.tag}", "access", "motor_vehicle", "vehicle");
     115    group: tr("suspicious barrier");
     116}
     117
    112118/* {0.key} without {1.tag} or {2.tag} */
    113119*[bridge:movable               ][bridge!=movable][man_made!=bridge],
    114120*[substation                   ][power!=substation][pipeline!=substation],