Changeset 19475 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2026-01-20T15:24:02+01:00 (31 hours ago)
Author:
stoecker
Message:

fix #21927 - add direction to cycleway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r19468 r19475  
    11591159       assertNoMatch: "relation type=power power=circuit topology=branched";
    11601160}
     1161
     1162/* #21927 */
     1163way[!cycleway][!cycleway:right][!cycleway:left][!cycleway:both][!cycleway:lanes] > node[cycleway=asl] {
     1164  throwWarning: tr("{0} not on cycleway", "{0.tag}");
     1165  group: tr("suspicious tag combination");
     1166}
     1167
     1168way[/^oneway(:bicycle)?$/!~/^yes$/] > node[cycleway=asl][!direction],
     1169way[!oneway][!oneway:bicycle] > node[cycleway=asl][!direction] {
     1170  throwWarning: tr("{0} without {1}", "{0.tag}", "{1.key}");
     1171  group: tr("missing tag");
     1172  suggestAlternative: "{0.tag} + {1.key}=*";
     1173}
Note: See TracChangeset for help on using the changeset viewer.