Changeset 14735 in josm


Ignore:
Timestamp:
2019-01-26T12:26:58+01:00 (3 weeks ago)
Author:
Klumbumbus
Message:

fix #17253, fix #17254, fix #17255, fix #17256 - remove some false positve validator warnings of attraction=summer_toboggan

Location:
trunk
Files:
3 edited

Legend:

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

    r14593 r14735  
    201201}
    202202
    203 /* {0.key} without {1.key}, {2.key} or {3.key} */
    204 way[oneway][!highway][!railway][!aerialway],
    205 *[snowplowing                  ][!highway][!amenity][!leisure] {
     203/* {0.key} without {1.key}, {2.key} or {3.key}, #17253 */
     204way[oneway   ][!highway][!railway][!aerialway][attraction!=summer_toboggan],
     205*[snowplowing][!highway][!amenity][!leisure] {
    206206  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.key}");
    207207  group: tr("missing tag");
    208208}
    209209
    210 /* {0.key} without {1.key}, {2.key} or {3.tag} */
    211 way[incline                    ][!highway][!railway][aeroway!~/^(runway|taxiway)$/],
     210/* {0.key} without {1.key}, {2.key} or {3.tag}, #17255 */
     211way[incline                    ][!highway][!railway][aeroway!~/^(runway|taxiway)$/][attraction!=summer_toboggan],
    212212*[toll                         ][!highway][!barrier][route!~/^(ferry|road)$/] {
    213213  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.tag}");
     
    377377}
    378378
    379 /* #9593, #11183, #12418, #12761 */
    380 *[sport][sport!=skiing][!building][!club][tourism != hotel][highway != raceway][!leisure][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] {
     379/* #9593, #11183, #12418, #12761, #17254 */
     380*[sport][sport!=skiing][!building][!club][tourism != hotel][highway != raceway][!leisure][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports][attraction!=summer_toboggan] {
    381381    throwWarning: tr("sport without physical feature");
    382382    group: tr("missing tag");
  • trunk/data/validator/ignoretags.cfg

    r14696 r14735  
    187187K:allotments=plot
    188188K:land_area=administrative
     189K:attraction=summer_toboggan
    189190;
    190191; Highway Key/Value Pairs
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java

    r14577 r14735  
    144144        new UnclosedWaysCheck(1103, "amenities", marktr("amenities type {0}")),
    145145        new UnclosedWaysCheck(1104, "sport",     marktr("sport type {0}"),
    146                 new HashSet<>(Arrays.asList("water_slide", "climbing", "skiing"))),
     146                new HashSet<>(Arrays.asList("water_slide", "climbing", "skiing", "toboggan", "bobsleigh"))),
    147147        new UnclosedWaysCheck(1105, "tourism",   marktr("tourism type {0}"),
    148148                new HashSet<>(Arrays.asList("attraction", "artwork"))),
Note: See TracChangeset for help on using the changeset viewer.