Changeset 18674 in josm for trunk/resources/data/validator
- Timestamp:
- 2023-02-22T17:19:59+01:00 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r18660 r18674 296 296 } 297 297 298 /* {0.tag} together with {1.key}, see #22576, #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888, #20530, #21736, #22076 */298 /* {0.tag} together with {1.key}, see #22576, #17664, #17707, #16464, #10837, #14034, #9389, #11977, #13156, #16888, #20530, #21736, #22076, #21778 */ 299 299 *[amenity=marketplace][highway], 300 300 *[power=plant][/^generator:/], … … 311 311 *[actuator][handle][actuator !~ /(^|;)manual(;|$)/], 312 312 *[mechanical_driver][handle][mechanical_driver !~ /(^|;)manual(;|$)/], 313 way[oneway =yes][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/],314 way[oneway =yes][/:forward/ ][!traffic_sign:forward ][bicycle:forward!=use_sidepath ][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/],315 way[oneway=-1 ][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/],316 way[oneway=-1 ][/:forward/ ][!traffic_sign:forward ][bicycle:forward!=use_sidepath ][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/] {313 way[oneway? ][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/][!/^oneway:(.+:)?conditional$/], 314 way[oneway? ][/:forward/ ][!traffic_sign:forward ][bicycle:forward!=use_sidepath ][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/][!/^oneway:(.+:)?conditional$/], 315 way[oneway=-1][/:backward/][!traffic_sign:backward][bicycle:backward!=use_sidepath][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/][!/^oneway:(.+:)?conditional$/], 316 way[oneway=-1][/:forward/ ][!traffic_sign:forward ][bicycle:forward!=use_sidepath ][/^oneway:(bicycle|bus|mofa|moped|psv)$/!~/^no$/][!/^oneway:(.+:)?conditional$/] { 317 317 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.key}"); 318 318 group: tr("suspicious tag combination"); 319 319 assertMatch: "way power=plant generator:source=wind"; 320 320 assertMatch: "way power=generator plant:source=combustion"; 321 assertMatch: "way oneway=yes bicycle:backward=destination"; 322 assertNoMatch: "way oneway=-1 bicycle:forward=destination oneway:bicycle=no"; 323 assertNoMatch: "way oneway=yes bicycle:backward=destination oneway:bicycle=no"; 324 assertNoMatch: "way oneway=yes bicycle:backward:conditional=\"yes @ (Mo-Fr)\" oneway:bicycle:conditional=\"no @ (Mo-Fr)\""; 321 325 } 322 326
Note:
See TracChangeset
for help on using the changeset viewer.