Ticket #18662: josm_17661_18662_v2_update.patch

File josm_17661_18662_v2_update.patch, 4.9 KB (added by skyper, 4 years ago)

small update not using "Road Restrictions" anymore

  • resources/data/defaultpresets.xml

     
    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" />
    7171    </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" />
     79    </chunk>
    7280    <chunk id="placement_shoulder">
    7381        <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,left_of:4,left_of:5,middle_of:1,middle_of:2,middle_of:3,middle_of:4,middle_of:5,right_of:1,right_of:2,right_of:3,right_of:4,right_of:5,transition" />
    7482        <combo key="placement:forward" text="Placement in way direction" values="left_of:1,left_of:2,left_of:3,left_of:4,left_of:5,middle_of:1,middle_of:2,middle_of:3,middle_of:4,middle_of:5,right_of:1,right_of:2,right_of:3,right_of:4,right_of:5" />
     
    954962            <reference ref="link_road_access_restrictions" />
    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 />
    960968            <checkgroup columns="3" >
     
    971979            <text key="maxspeed:advisory" text="Signposted advisory max. speed (km/h)" />
    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" />
    982985            <preset_link preset_name="Access Restrictions" />
     
    21922195                <space />
    21932196                <reference ref="oh" />
    21942197                <reference ref="pt_route_opt2" />
     2198                <space />
     2199                <reference ref="highway_max" />
    21952200            </optional>
    2196             <reference ref="link_road_access_restrictions" />
     2201            <preset_link preset_name="Access Restrictions" />
    21972202        </item> <!-- Ferry Route -->
    21982203        <separator/>
    21992204        <item name="Marina" icon="presets/nautical/marina.svg" type="node,closedway,multipolygon" preset_name_label="true">
     
    29062911                <reference ref="oh" />
    29072912                <reference ref="public_transport_route_optionals" />
    29082913                <reference ref="pt_route_opt2" />
     2914                <space />
     2915                <reference ref="highway_max" />
    29092916            </optional>
    2910             <reference ref="link_road_access_restrictions" />
     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" />
    29132920                <role key="platform" text="platform" requisite="optional" type="node,way,closedway,multipolygon" member_expression="public_transport=platform ferry=yes" />
     
    30833090                <text key="description" text="Description" />
    30843091                <reference ref="color" />
    30853092                <reference ref="pt_route_opt2" />
     3093                <space />
     3094                <reference ref="highway_max" />
    30863095            </optional>
    3087             <reference ref="link_road_access_restrictions" />
     3096            <preset_link preset_name="Access Restrictions" />
    30883097            <roles>
    30893098                <role key="" text="route segment" requisite="optional" type="way,closedway" member_expression="route=ferry" />
    30903099                <role key="forward" text="forward segment" requisite="optional" type="way,closedway" member_expression="route=ferry" />