Changeset 19475 in josm for trunk


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

fix #21927 - add direction to cycleway

Location:
trunk/resources/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r19467 r19475  
    15271527            <link wiki="Tag:cycleway=asl" />
    15281528            <key key="cycleway" value="asl" />
     1529            <optional>
     1530                <combo key="direction" text="Direction" values="forward,backward" values_sort="false" />
     1531            </optional>
    15291532        </item> <!-- Advanced stop line -->
    15301533        <item name="Mini-Roundabout" icon="presets/vehicle/restriction/mini_roundabout_left.svg" type="node" preset_name_label="true">
  • 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.