Changeset 7250 in josm


Ignore:
Timestamp:
2014-06-17T19:22:59+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10159, fix #10160 - new allowed combinations

File:
1 edited

Legend:

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

    r7243 r7250  
    112112/* {0.key} without {1.key} or {2.tag} */
    113113*[segregated                   ][!highway][railway=crossing],
    114 *[toll                         ][!highway][route!~/^(ferry|road)$/],
    115114*[boat                         ][!waterway][natural!=water],
    116115*[intermittent                 ][!waterway][natural!=water] {
     
    121120*[snowplowing                  ][!highway][!amenity][!leisure] {
    122121  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.key}");
     122}
     123
     124/* {0.key} without {1.key}, {2.key} or {3.tag} */
     125*[toll                         ][!highway][!barrier][route!~/^(ferry|road)$/] {
     126  throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.tag}");
    123127}
    124128
     
    153157
    154158/* see ticket #9593 */
    155 *[sport][tourism != hotel][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool)$/][natural !~ /^(beach|bare_rock)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/] {
     159*[sport][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool)$/][natural !~ /^(beach|bare_rock)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/] {
    156160    throwWarning: tr("sport without physical feature");
    157161    assertMatch: "node sport=tennis";
Note: See TracChangeset for help on using the changeset viewer.