Changeset 10350 in josm for trunk/data/validator
- Timestamp:
- 2016-06-11T17:11:11+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r10320 r10350 156 156 157 157 /* {0.key} without {1.key} or {2.key} */ 158 *[oneway][!highway][!railway] {158 way[oneway][!highway][!railway] { 159 159 throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.key}"); 160 160 } … … 217 217 } 218 218 219 /* see #11127*/219 /* #11127 */ 220 220 way[waterway][bridge=yes] { 221 221 throwWarning: tr("{0} together with {1}", "{0.key}", "{1.tag}"); … … 237 237 } 238 238 239 /* see#9811, #11491, #12865 */239 /* #9811, #11491, #12865 */ 240 240 *[place][place!=farm][/^addr:/], 241 241 *[boundary][/^addr:/], … … 262 262 } 263 263 264 /* see#9195 */264 /* #9195 */ 265 265 *[highway=footway][cycleway=lane] { 266 266 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); … … 292 292 } 293 293 294 /* #6932 */ 294 295 *[natural=water][leisure=swimming_pool], 295 296 *[natural=water][amenity=swimming_pool] { 296 /* see #6932 */297 297 throwWarning: tr("natural water used for swimming pool"); 298 298 fixRemove: "natural"; 299 299 } 300 300 301 /* see#9593, #11183, #12418, #12761 */301 /* #9593, #11183, #12418, #12761 */ 302 302 *[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|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] { 303 303 throwWarning: tr("sport without physical feature"); … … 310 310 } 311 311 312 /* see#10140 */312 /* #10140 */ 313 313 *[building:levels][!building][!building:part] { 314 314 throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.key}"); 315 315 } 316 316 317 /* see#10471 */317 /* #10471 */ 318 318 way[waterway] > node[ford?] { set ford_on_waterway; } 319 319 way[highway] > node[ford?] { set ford_on_highway; } … … 327 327 } 328 328 329 /* see#10837 */329 /* #10837 */ 330 330 way[destination][!oneway?][junction!=roundabout][highway] { 331 331 throwWarning: tr("incomplete usage of {0} on a way without {1}", "{0.key}", "{1.key}"); … … 334 334 } 335 335 336 /* see#11389 */336 /* #11389 */ 337 337 way["maxspeed:forward"=*"maxspeed:backward"][!maxspeed] { 338 338 throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}"); … … 356 356 } 357 357 358 /* see#11837 */358 /* #11837 */ 359 359 way[layer][layer<0][bridge][bridge!=no][location!=underground][indoor!=yes][!tunnel], 360 360 way[layer][layer>0][tunnel][tunnel!=no][location!=overground][indoor!=yes][!bridge] { 361 361 throwWarning: tr("Suspicious tag combination: {0} and {1}", "{2.tag}", "{0.tag}"); 362 362 } 363 364 /* #12942 */ 365 relation[oneway][type!=route] { 366 throwWarning: tr("{0} on a relation without {1}", "{0.key}", "{1.tag}"); 367 }
Note:
See TracChangeset
for help on using the changeset viewer.