Changeset 7220 in josm for trunk/data/validator


Ignore:
Timestamp:
2014-06-08T12:56:39+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10113 - invalid "sport without physical feature" with landuse=farm

File:
1 edited

Legend:

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

    r7032 r7220  
    147147
    148148/* see ticket #9593 */
    149 *[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)$/] {
     149*[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)$/] {
    150150    throwWarning: tr("sport without physical feature");
    151151    assertMatch: "node sport=tennis";
Note: See TracChangeset for help on using the changeset viewer.