Ignore:
Timestamp:
2024-04-08T07:34:12+02:00 (8 months ago)
Author:
GerdP
Message:

fix #23604: false warning in osmose because of a problem in JOSM

  • add tag key building:part as a physical feature for sport=*
File:
1 edited

Legend:

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

    r18920 r19035  
    542542}
    543543
    544 /* #9593, #11183, #12418, #12761, #17254, #19311  */
    545 *[sport][sport!=skiing][!building][!club][tourism != hotel][highway !~ /^(pedestrian|raceway)$/][!leisure][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(bar|dojo|pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports][attraction!=summer_toboggan] {
     544/* #9593, #11183, #12418, #12761, #17254, #19311,#23604  */
     545*[sport][sport!=skiing][!building][!"building:part"][!club][tourism != hotel][highway !~ /^(pedestrian|raceway)$/][!leisure][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(bar|dojo|pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports][attraction!=summer_toboggan] {
    546546    throwWarning: tr("sport without physical feature");
    547547    group: tr("missing tag");
     
    552552    assertNoMatch: "node sport=swimming tourism=hotel";
    553553    assertNoMatch: "node sport=10pin amenity=restaurant";
     554    assertNoMatch: "node sport=boxing building:part=yes";
    554555}
    555556
Note: See TracChangeset for help on using the changeset viewer.