Changeset 14954 in josm for trunk


Ignore:
Timestamp:
2019-04-03T00:33:43+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #17547 - make test stricter (patch by mkoniecz)

File:
1 edited

Legend:

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

    r14953 r14954  
    4747*[building:ruian:type=18][building=garage],
    4848*[building:ruian:type=21][building=greenhouse],
    49 *[gnis:Class="Populated Place"][place],
     49*[gnis:Class="Populated Place"][place=city],
     50*[gnis:Class="Populated Place"][place=town],
     51*[gnis:Class="Populated Place"][place=village],
     52*[gnis:Class="Populated Place"][place=hamlet],
    5053*[gnis:Class=Summit][natural=peak] {
    5154  throwWarning: tr("{0} is unnecessary for {1}", "{0.tag}", "{1.tag}");
     
    5457  assertMatch: "way highway=pedestrian foot=designated";
    5558  assertNoMatch: "way highway=pedestrian access=no foot=designated";
     59  assertNoMatch: "node gnis:Class="Populated Place" place=locality";
    5660}
    5761
Note: See TracChangeset for help on using the changeset viewer.