Changeset 8383 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-05-17T13:56:37+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #11439 - split hockey into field_hockey and ice_hockey

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r8302 r8383  
    241241
    242242/* see #9593, #11183 */
    243 *[sport][!building][!club][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"] {
     243*[sport][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink)$/][natural !~ /^(beach|bare_rock|peak)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"] {
    244244    throwWarning: tr("sport without physical feature");
    245245    assertMatch: "node sport=tennis";
  • trunk/data/validator/deprecated.mapcss

    r8204 r8383  
    470470  fixAdd: "pole=transition";
    471471}
     472
     473/* see #11439 */
     474*[sport=hockey] {
     475  throwWarning: tr("{0} is inaccurate", "{0.tag}");
     476  suggestAlternative: "sport=field_hockey";
     477  suggestAlternative: "sport=ice_hockey";
     478}
Note: See TracChangeset for help on using the changeset viewer.