Changeset 12194 in josm


Ignore:
Timestamp:
2017-05-16T20:09:26+02:00 (7 months ago)
Author:
Klumbumbus
Message:

fix #14807 - don't warn for missing ref if explizit noref=yes is set

File:
1 edited

Legend:

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

    r11439 r12194  
    5353}
    5454
    55 way.major_road[!ref][!destination:ref] {
     55way.major_road[!ref][!destination:ref][noref!=yes] {
    5656  throwOther: tr("highway without a reference");
    5757  group: tr("missing tag");
     
    5959  assertNoMatch: "way highway=primary ref=123";
    6060  assertNoMatch: "way highway=primary destination:ref=123";
     61  assertNoMatch: "way highway=primary noref=yes";
    6162}
    6263
Note: See TracChangeset for help on using the changeset viewer.