Changeset 7925 in josm


Ignore:
Timestamp:
2015-01-04T18:11:11+01:00 (10 years ago)
Author:
Klumbumbus
Message:

Validator: do not warn about natural=peak + sport=climbing, see #10546 for examples.

File:
1 edited

Legend:

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

    r7923 r7925  
    177177
    178178/* see #9593 */
    179 *[sport][!building][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground)$/][natural !~ /^(beach|bare_rock)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/] {
     179*[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)$/] {
    180180    throwWarning: tr("sport without physical feature");
    181181    assertMatch: "node sport=tennis";
Note: See TracChangeset for help on using the changeset viewer.