Ticket #23604: 23604.patch

File 23604.patch, 1.6 KB (added by GerdP, 2 years ago)
  • resources/data/validator/combinations.mapcss

     
    541541  fixRemove: "natural";
    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");
    548548    assertMatch: "node sport=tennis";
     
    551551    assertNoMatch: "node sport=skiing"; /* skiing has deprecated warning */
    552552    assertNoMatch: "node sport=swimming tourism=hotel";
    553553    assertNoMatch: "node sport=10pin amenity=restaurant";
     554    assertNoMatch: "node sport=boxing building:part=yes";
    554555}
    555556
    556557/* {0.key} without {1.key} or {2.key} see #10140 */