Changeset 18210 in josm for trunk


Ignore:
Timestamp:
2021-09-11T18:09:59+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #18662 - small update not using "Road Restrictions" anymore (patch by skyper)

File:
1 edited

Legend:

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

    r18204 r18210  
    6969        <combo key="bus_bay" text="Bus bay" values="both,left,right" />
    7070        <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" />
     71    </chunk>
     72    <chunk id="highway_max">
     73            <text key="maxweight" text="Max. weight (tonnes)" match="key" />
     74            <text key="maxaxleload" text="Max. axleload (tonnes)" match="key" />
     75            <space />
     76            <text key="maxheight" text="Max. height (meters)" match="key" />
     77            <text key="maxwidth" text="Max. width (meters)" match="key" />
     78            <text key="maxlength" text="Max. length (meters)" match="key" />
    7179    </chunk>
    7280    <chunk id="placement_shoulder">
     
    955963        </item> <!-- Construction -->
    956964        <separator/>
    957         <item name="Road Restrictions" icon="presets/vehicle/restriction/maxspeed.svg" type="node,way,closedway,multipolygon,relation" preset_name_label="true"> <!-- There are links from MPs and route relations to this preset -->
     965        <item name="Road Restrictions" icon="presets/vehicle/restriction/maxspeed.svg" type="node,way,closedway,multipolygon" preset_name_label="true" > <!-- There are links from MP relations to this preset -->
    958966            <link wiki="Key:access" />
    959967            <space />
     
    972980            <text key="minspeed" text="Min. speed (km/h)" match="key" />
    973981            <space />
    974             <text key="maxweight" text="Max. weight (tonnes)" match="key" />
    975             <text key="maxaxleload" text="Max. axleload (tonnes)" match="key" />
    976             <space />
    977             <text key="maxheight" text="Max. height (meters)" match="key" />
    978             <text key="maxwidth" text="Max. width (meters)" match="key" />
    979             <text key="maxlength" text="Max. length (meters)" match="key" />
     982            <reference ref="highway_max" />
    980983            <space />
    981984            <combo key="overtaking" text="Overtaking" values="yes,both,forward,backward,no" values_context="overtaking" values_sort="false" match="key" />
     
    21932196                <reference ref="oh" />
    21942197                <reference ref="pt_route_opt2" />
    2195             </optional>
    2196             <reference ref="link_road_access_restrictions" />
     2198                <space />
     2199                <reference ref="highway_max" />
     2200            </optional>
     2201            <preset_link preset_name="Access Restrictions" />
    21972202        </item> <!-- Ferry Route -->
    21982203        <separator/>
     
    29072912                <reference ref="public_transport_route_optionals" />
    29082913                <reference ref="pt_route_opt2" />
    2909             </optional>
    2910             <reference ref="link_road_access_restrictions" />
     2914                <space />
     2915                <reference ref="highway_max" />
     2916            </optional>
     2917            <preset_link preset_name="Access Restrictions" />
    29112918            <roles>
    29122919                <role key="stop" text="stop_position" requisite="optional" type="node" member_expression="public_transport=stop_position ferry=yes" />
     
    30483055    </group> <!-- Public Transport -->
    30493056    <group name="Public Transport (Legacy)" icon="presets/transport/bus_old.svg">
    3050         <item name="Public transport route (Legacy) (Bus/Train)" icon="presets/misc/route.svg" type="relation" preset_name_label="true">
     3057        <item name="Public transport route (Legacy)" icon="presets/misc/route.svg" type="relation" preset_name_label="true">
    30513058            <link wiki="Public_transport#Service_routes" />
    30523059            <space />
     
    30683075                <role key="platform" text="platform" requisite="optional" type="node,way,closedway,multipolygon" member_expression="highway=platform OR railway=platform" />
    30693076            </roles>
    3070         </item> <!-- Public transport route (Legacy) (Bus/Train) -->
     3077        </item> <!-- Public transport route (Legacy) -->
    30713078        <item name="Public transport route (Legacy) (Ferry)" icon="presets/misc/route.svg" type="relation" preset_name_label="true">
    30723079            <link wiki="Tag:route=ferry" />
     
    30843091                <reference ref="color" />
    30853092                <reference ref="pt_route_opt2" />
    3086             </optional>
    3087             <reference ref="link_road_access_restrictions" />
     3093                <space />
     3094                <reference ref="highway_max" />
     3095            </optional>
     3096            <preset_link preset_name="Access Restrictions" />
    30883097            <roles>
    30893098                <role key="" text="route segment" requisite="optional" type="way,closedway" member_expression="route=ferry" />
Note: See TracChangeset for help on using the changeset viewer.