Changeset 9050 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-11-21T18:12:08+01:00 (4 years ago)
Author:
Klumbumbus
Message:

see #12102 - ignore man_made=petroleum_well, add validator warning for unusual value of admin_level

Location:
trunk/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/ignoretags.cfg

    r9047 r9050  
    3939E:loc_name
    4040E:attribution
    41 E:admin_level
    4241E:heritage
    4342E:old_name
     
    9493K:bicycle=dismount
    9594K:wall=no
     95K:man_made=petroleum_well
    9696;
    9797; Highway Key/Value Pairs
  • trunk/data/validator/numeric.mapcss

    r8725 r9050  
    175175  assertNoMatch: "node amenity=cinema screen=8";
    176176}
     177*[admin_level][admin_level !~ /^(1|2|3|4|5|6|7|8|9|10|11|12)$/] {
     178  throwWarning: tr("unusual value of {0}", "admin_level");
     179  assertMatch: "node admin_level=0";
     180  assertMatch: "node admin_level=-1";
     181  assertMatch: "node admin_level=13";
     182  assertNoMatch: "node admin_level=5";
     183}
Note: See TracChangeset for help on using the changeset viewer.