Ticket #22547: josm_22547.patch
| File josm_22547.patch, 2.7 KB (added by , 3 years ago) |
|---|
-
resources/data/validator/combinations.mapcss
237 237 assertNoMatch: "way power=generator generator:output:electricity=yes voltage=1"; 238 238 } 239 239 240 /* {0.key} without {1.key} or {2.tag} */240 /* {0.key} without {1.key} or {2.tag}, #22547 */ 241 241 way[bridge:structure ][!bridge][man_made!=bridge], 242 242 *[segregated ][!highway][railway!=crossing] { 243 243 throwWarning: tr("{0} without {1} or {2}", "{0.key}", "{1.key}", "{2.tag}"); 244 244 group: tr("missing tag"); 245 245 } 246 way[tunnel=culvert][man_made!=tunnel][!waterway] { 247 throwWarning: tr("{0} without {1} or {2}", "{0.tag}", "{1.tag}", "{2.key}"); 248 group: tr("suspicious tag combination"); 249 set TunnelCulvertWithoutWaterway; 250 } 246 251 247 252 /* {0.tag} without {1.tag} (info level) see #11600 #11393 #11850 */ 248 253 way[highway=motorway][!oneway][junction!=roundabout], … … 488 493 way[oneway ][!highway][!area:highway][!railway][!aerialway][attraction!=summer_toboggan][aeroway!~/^(runway|taxiway)$/][leisure!=track][waterway !~ /^(canal|fairway|lock|river|tidal_channel)$/], 489 494 node[lanes ][!barrier][!ford][highway!=mini_roundabout][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, 490 495 way[lanes ][!barrier][!ford][!highway ][!area:highway][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, 491 *[tunnel ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=tunnel][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=tunnel][power!=cable] ,496 *[tunnel ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=tunnel][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=tunnel][power!=cable]!.TunnelCulvertWithoutWaterway, 492 497 *[bridge ][!highway][!area:highway][!railway][!waterway][!piste:type][type!=bridge][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=bridge][building!=bridge], 493 498 *[psv ][!highway][!area:highway][!railway][!waterway][barrier !~ /^(bollard|bump_gate|bus_trap|cattle_grid|chain|coupure|entrance|gate|height_restrictor|jersey_barrier|kerb|lift_gate|rope|sally_port|sliding_beam|sliding_gate|spikes|swing_gate|toll_booth|yes)$/][amenity !~ /^parking.*/], 494 499 *[width ][!highway][!area:highway][!railway][!waterway][!aeroway][!cycleway][!footway][!barrier][!man_made][!entrance][natural!=stone][leisure!=track],
