Changeset 7250 in josm for trunk/data/validator
- Timestamp:
- 2014-06-17T19:22:59+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r7243 r7250 112 112 /* {0.key} without {1.key} or {2.tag} */ 113 113 *[segregated ][!highway][railway=crossing], 114 *[toll ][!highway][route!~/^(ferry|road)$/],115 114 *[boat ][!waterway][natural!=water], 116 115 *[intermittent ][!waterway][natural!=water] { … … 121 120 *[snowplowing ][!highway][!amenity][!leisure] { 122 121 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}"); 123 127 } 124 128 … … 153 157 154 158 /* 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)$/] { 156 160 throwWarning: tr("sport without physical feature"); 157 161 assertMatch: "node sport=tennis";
Note:
See TracChangeset
for help on using the changeset viewer.