Changeset 15285 in josm for trunk/data/validator


Ignore:
Timestamp:
2019-08-06T20:56:18+02:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #17970 - don't warn about missing ref=* on highway=* if it is part of a type=route route=road relation which has a ref=*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/highway.mapcss

    r14354 r15285  
    5353}
    5454
    55 way.major_road[!ref][!destination:ref][noref!=yes][junction!=roundabout] {
     55/* #17970 */
     56relation[type=route][route=road][ref] > way.major_road {
     57  set road_route_has_ref;
     58}
     59way.major_road!.road_route_has_ref[!ref][!destination:ref][noref!=yes][junction!=roundabout] {
    5660  throwOther: tr("highway without a reference");
    5761  group: tr("missing tag");
Note: See TracChangeset for help on using the changeset viewer.