Changeset 17050 in josm for trunk/resources
- Timestamp:
- 2020-09-22T17:40:37+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r17046 r17050 9 9 /* {0.key} without {1.key} (warning level) */ 10 10 way[junction ][!highway][junction!=yes][!area:highway], 11 way[lanes ][!highway][leisure!=track][leisure!=swimming_pool],12 11 way[living_street ][!highway], 13 12 way[maintenance ][!highway], … … 74 73 throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}"); 75 74 group: tr("missing tag"); 76 assertMatch: "way lanes=42";77 assertNoMatch: "way lanes=42 highway=unclassified";78 75 assertMatch: "node source:addr:postcode=postman"; 79 76 } … … 338 335 } 339 336 340 /* only {0.key}, see #11104 #12422 #14950 */ 337 /* only {0.key}, #11104, #12422, #14950, #19572 */ 338 *[lanes][eval(number_of_tags()) = 1], 339 *[surface][eval(number_of_tags()) = 1], 341 340 *[access][eval(number_of_tags()) = 1], 342 341 *[area][eval(number_of_tags()) = 1]!.area_yes_autofix, … … 345 344 *[lit][eval(number_of_tags()) = 1] { 346 345 throwWarning: tr("incomplete object: only {0}", "{0.key}"); 346 set only_one_tag; 347 347 group: tr("missing tag"); 348 348 } … … 406 406 } 407 407 408 /* {0} on suspicious object, #17255, #19650 */ 408 /* {0} on suspicious object, #17255, #19650, #19572 */ 409 node[lanes ][!barrier][!ford][highway!=mini_roundabout][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, 410 way[lanes ][!barrier][!ford][!highway ][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, 409 411 *[tunnel ][!highway][!railway][!waterway][!piste:type][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=tunnel], 410 412 *[bridge ][!highway][!railway][!waterway][!piste:type][public_transport!=platform][route!=ferry][man_made!=pipeline][man_made!=goods_conveyor][man_made!=wildlife_crossing][man_made!=bridge][building!=bridge],
Note:
See TracChangeset
for help on using the changeset viewer.