- Timestamp:
- 2016-10-24T19:39:25+02:00 (8 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r11153 r11159 338 338 339 339 /* #9593, #11183, #12418, #12761 */ 340 *[sport][ !building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink|horse_riding)$/][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] {340 *[sport][sport!=skiing][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink|horse_riding)$/][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] { 341 341 throwWarning: tr("sport without physical feature"); 342 342 group: tr("missing tag"); … … 344 344 assertNoMatch: "node sport=tennis leisure=pitch"; 345 345 assertNoMatch: "node sport=beachvolleyball natural=beach"; 346 assertNoMatch: "node sport=skii ing landuse=piste";346 assertNoMatch: "node sport=skiing"; /* skiing has deprecated warning */ 347 347 assertNoMatch: "node sport=swimming tourism=hotel"; 348 348 assertNoMatch: "node sport=10pin amenity=restaurant"; -
trunk/data/validator/deprecated.mapcss
r11146 r11159 524 524 525 525 /* unclear definition, see #11183 */ 526 *[sport=skiing] [!piste:type]{526 *[sport=skiing] { 527 527 throwWarning: tr("Definition of {0} is unclear", "{0.tag}"); 528 suggestAlternative: {1.key}; 528 suggestAlternative: tr("{0} + {1} + {2}", "piste:type=*", "piste:difficulty=*", "piste:grooming=*"); 529 group: tr("deprecated tagging"); 529 530 } 530 531 -
trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
r11129 r11159 140 140 new UnclosedWaysCheck(1103, "amenities", marktr("amenities type {0}")), 141 141 new UnclosedWaysCheck(1104, "sport", marktr("sport type {0}"), 142 new HashSet<>(Arrays.asList("water_slide", "climbing" ))),142 new HashSet<>(Arrays.asList("water_slide", "climbing", "skiing"))), 143 143 new UnclosedWaysCheck(1105, "tourism", marktr("tourism type {0}"), 144 144 new HashSet<>(Arrays.asList("attraction", "artwork"))),
Note:
See TracChangeset
for help on using the changeset viewer.