Changeset 17947 in josm for trunk


Ignore:
Timestamp:
2021-07-03T21:56:57+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #19996 - Remove motor_vehicle warning on minor roads and reduce severity on major roads (patch by reichg, modified)

File:
1 edited

Legend:

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

    r17630 r17947  
    11*[access][highway=proposed],
    2 *[motor_vehicle?][!vehicle][!access][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link|unclassified|residential|service|living_street)$/],
    32*[bridge=no],
    43*[building=no],
     
    1211  assertMatch: "way bridge=no";
    1312  assertMatch: "way highway=proposed access=no";
     13}
     14
     15/* #19996 */
     16*[motor_vehicle?][!vehicle][!access][bicycle_road!=yes][highway =~ /^(motorway|motorway_link|trunk|trunk_link|primary|primary_link|secondary|secondary_link|tertiary|tertiary_link)$/] {
     17  throwOther: tr("{0} is optional on {1}", "{0.tag}", "{4.tag}");
    1418  assertMatch: "way highway=motorway motor_vehicle=yes";
    1519  assertNoMatch: "way highway=motorway access=no motor_vehicle=yes";
Note: See TracChangeset for help on using the changeset viewer.