Changeset 8120 in josm for trunk/data


Ignore:
Timestamp:
2015-03-08T21:39:00+01:00 (10 years ago)
Author:
Klumbumbus
Message:

see #11183 - update validator for sport without physical feature

File:
1 edited

Legend:

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

    r8117 r8120  
    238238}
    239239
    240 /* see #9593 */
    241 *[sport][!building][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground)$/][natural !~ /^(beach|bare_rock|peak)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/] {
     240/* see #9593, #11183 */
     241*[sport][!building][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground)$/][natural !~ /^(beach|bare_rock|peak)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/] {
    242242    throwWarning: tr("sport without physical feature");
    243243    assertMatch: "node sport=tennis";
Note: See TracChangeset for help on using the changeset viewer.