Changeset 8121 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-03-08T22:14:10+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #11183 - rework skiing sports

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r8120 r8121  
    4646*[border_type                  ][!boundary],
    4747*[bridge:structure             ][!bridge],
     48*[piste:difficulty             ][!piste:type],
    4849*[source:date                  ][!source],
    4950*[source:name                  ][!name],
     
    239240
    240241/* 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)$/] {
     242*[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)$/][!"piste:type"] {
    242243    throwWarning: tr("sport without physical feature");
    243244    assertMatch: "node sport=tennis";
  • trunk/data/validator/deprecated.mapcss

    r8023 r8121  
    392392  throwWarning: tr("Unspecific tag {0}", "{0.tag}");
    393393}
     394
     395/* unclear definition, see #11183 */
     396*[sport=skiing][!piste:type] {
     397  throwWarning: tr("Definition of {0} is unclear", "{0.tag}");
     398  suggestAlternative: {1.key};
     399}
Note: See TracChangeset for help on using the changeset viewer.