Changeset 18093 in josm for trunk/resources/data


Ignore:
Timestamp:
2021-07-28T13:38:11+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21161 - Update member expression of route relations (patch by skyper)

File:
1 edited

Legend:

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

    r18092 r18093  
    489489    <chunk id="walking_routes_roles">
    490490        <roles>
    491             <role key="" text="route segment" requisite="required" type="way,closedway,relation" member_expression="highway|route=ferry"/>
    492             <role key="alternative" text="alternative segment" requisite="optional" type="way,closedway,relation"/>
    493             <role key="approach" text="approach segment" requisite="optional" type="way,closedway,relation"/>
    494             <role key="excursion" text="excursion segment" requisite="optional" type="way,closedway,relation"/>
    495             <role key="connection" text="connection segment" requisite="optional" type="way,closedway,relation"/>
    496             <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/>
    497             <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/>
    498             <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost"/>
     491            <role key="" text="route segment" requisite="required" type="way,closedway,relation" member_expression="highway|route=ferry" />
     492            <role key="alternative" text="alternative segment" requisite="optional" type="way,closedway,relation" member_expression="highway|route=ferry" />
     493            <role key="approach" text="approach segment" requisite="optional" type="way,closedway,relation" member_expression="highway|route=ferry" />
     494            <role key="excursion" text="excursion segment" requisite="optional" type="way,closedway,relation" member_expression="highway|route=ferry" />
     495            <role key="connection" text="connection segment" requisite="optional" type="way,closedway,relation" member_expression="highway|route=ferry" />
     496            <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity" />
     497            <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality" />
     498            <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost" />
    499499        </roles>
    500500    </chunk>
    501501    <chunk id="route_segment_roles">
    502         <role key="" text="route segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry|leisure=track"/>
    503         <role key="forward" text="forward segment" requisite="optional" type="way,closedway" />
    504         <role key="backward" text="backward segment" requisite="optional" type="way,closedway" />
    505         <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost"/>
     502        <role key="" text="route segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry|leisure=track" />
     503        <role key="forward" text="forward segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry|leisure=track" />
     504        <role key="backward" text="backward segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry|leisure=track" />
     505        <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost" />
    506506    </chunk>
    507507    <chunk id="route_start_stop_roles">
     
    28642864                <role key="platform_exit_only" text="platform (exit only)" requisite="optional" type="node,way,closedway,multipolygon" member_expression="public_transport=platform" />
    28652865                <role key="platform_entry_only" text="platform (entry only)" requisite="optional" type="node,way,closedway,multipolygon" member_expression="public_transport=platform" />
    2866                 <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="railway" />
     2866                <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="railway|route=ferry" />
    28672867            </roles>
    28682868        </item> <!-- Public Transport Route (Rail) -->
     
    28852885                <role key="platform_exit_only" text="platform (exit only)" requisite="optional" type="node,way,closedway,multipolygon" member_expression="public_transport=platform" />
    28862886                <role key="platform_entry_only" text="platform (entry only)" requisite="optional" type="node,way,closedway,multipolygon" member_expression="public_transport=platform" />
    2887                 <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway" />
     2887                <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway|route=ferry" />
    28882888                <role key="hail_and_ride" text="hail and ride route segment" requisite="optional" type="way,closedway" member_expression="highway" />
    28892889            </roles>
     
    30183018            </optional>
    30193019            <roles>
    3020                 <role key="" text="route segment" requisite="optional" type="way,closedway" />
    3021                 <role key="forward" text="forward segment" requisite="optional" type="way,closedway" />
    3022                 <role key="backward" text="backward segment" requisite="optional" type="way,closedway" />
     3020                <role key="" text="route segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry" />
     3021                <role key="forward" text="forward segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry" />
     3022                <role key="backward" text="backward segment" requisite="optional" type="way,closedway" member_expression="highway|route=ferry" />
    30233023                <role key="stop" text="halt point" requisite="optional" type="node" member_expression="highway=bus_stop OR railway=station OR railway=halt OR railway=tram_stop" />
    30243024                <role key="forward_stop" text="forward halt point" requisite="optional" type="node" member_expression="highway=bus_stop OR railway=station OR railway=halt OR railway=tram_stop" />
     
    90109010            <key key="type" value="network" />
    90119011            <key key="network:type" value="node_network" />
    9012             <combo key="network" text="Network" values="icn,ncn,rcn,lcn,iwn,nwn,rwn,lwn" display_values="international cycling,national cycling,regional cycling,local cycling,international walking,national walking,regional walking,local walking" values_context="network" values_sort="false"/>
     9012            <combo key="network" text="Network" values="icn,ncn,rcn,lcn,ihn,nhn,rhn,lhn,iwn,nwn,rwn,lwn" display_values="international cycling,national cycling,regional cycling,local cycling,international riding,national riding,regional riding,local riding,international walking,national walking,regional walking,local walking" values_context="network" values_sort="false"/>
    90139013            <optional>
    90149014                <text key="name" text="Name" />
Note: See TracChangeset for help on using the changeset viewer.