Changeset 18734 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2023-05-22T21:03:10+02:00 (18 months ago)
Author:
Klumbumbus
Message:

fix #22739 - Don't warn about missing access tags on barrier=cattle_grid nodes also in major roads (tertiary_link and above)(patch by Famlam)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r18731 r18734  
    120120}
    121121
    122 /* #20742 - No warning about barrier with inappropriate access tags on highway */
    123 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] {
     122/* #20742 - No warning about barrier with inappropriate access tags on highway, #22739 */
     123way[highway=~/^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/][!access][!vehicle] > node[barrier][barrier!~/entrance|border_control|cattle_grid|height_restrictor|toll_booth/][!access][!motor_vehicle][!vehicle] {
    124124  throwWarning: tr("{0} without access tags such as {1}, {2}, or {3}.", "{0.tag}", "{2.key}", "{3.key}", "{4.key}");
    125125  group: tr("suspicious barrier");
Note: See TracChangeset for help on using the changeset viewer.