Ticket #15751: 15751_v5.patch

File 15751_v5.patch, 13.6 KB (added by reichg, 5 years ago)

moves motorroad back into motorway - primary_link

  • resources/data/defaultpresets.xml

     
    2020            <list_entry value="very_horrible" short_description="Specialized off-road: tractor, ATV" />
    2121            <list_entry value="impassable" short_description="No wheeled vehicle" />
    2222        </combo>
     23        <space/>
    2324    </chunk>
    2425    <chunk id="sport_surface">
    2526        <combo key="surface" text="Surface" values="artificial_turf,asphalt,clay,concrete,decoturf,grass,sand,tartan,ground" />
     
    3940        <space />
    4041        <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" values_sort="false" />
    4142        <reference ref="surface_smoothness" />
     43        <space/>
    4244    </chunk>
    4345    <chunk id="highway_yesno">
    4446        <checkgroup columns="4">
     
    4648            <check key="tunnel" text="Tunnel" disable_off="true" />
    4749            <check key="embankment" text="Embankment" disable_off="true" />
    4850            <check key="cutting" text="Cutting" disable_off="true" />
     51            <check key="lit" text="Lit" />
    4952        </checkgroup>
    50     </chunk>
    51     <chunk id="highway_yesno_incline">
    52         <reference ref="highway_yesno" />
     53        <space />
    5354        <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
    5455    </chunk>
    5556    <chunk id="highway_yesno_incline_oneway_lit_width">
    56         <checkgroup columns="4">
    57             <check key="bridge" text="Bridge" disable_off="true" />
    58             <check key="tunnel" text="Tunnel" disable_off="true" />
    59             <check key="embankment" text="Embankment" disable_off="true" />
    60             <check key="cutting" text="Cutting" disable_off="true" />
    61             <check key="oneway" text="Oneway" />
    62             <check key="lit" text="Lit" />
    63         </checkgroup>
    64         <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
     57        <reference ref="highway_yesno" />
    6558        <text key="width" text="Width (meters)" />
    6659    </chunk>
    6760    <chunk id="highway_yesno_incline_oneway_lit_width_busbay_sidewalk">
     
    591584        <preset_link preset_name="Road Restrictions" />
    592585        <preset_link preset_name="Access Restrictions" />
    593586    </chunk>
     587
    594588  <!-- Groups -->
    595589  <group name="Highways" icon="presets/transport/way/way_secondary.svg">
    596590    <group name="Streets" icon="presets/transport/way/way_secondary.svg">
     
    603597            <optional>
    604598                <text key="name" text="Name" />
    605599                <check key="noname" text="Street has no name" disable_off="true" />
     600                <space/>
     601                <check key="motorroad" text="Motorroad" />
    606602                <reference ref="highway_base" />
    607603                <text key="destination" text="Destination" />
    608604                <text key="destination:ref" text="Destination reference" />
     
    609605                <text key="width" text="Width (meters)" />
    610606                <space />
    611607                <reference ref="highway_yesno" />
    612                 <checkgroup columns="4">
    613                     <check key="oneway" text="Oneway" default="on" />
    614                     <check key="lit" text="Lit" />
    615                     <check key="toll" text="Toll" />
    616                 </checkgroup>
    617608                <reference ref="placement_shoulder" />
    618609            </optional>
    619610            <reference ref="link_road_access_restrictions" />
     
    624615            <optional>
    625616                <text key="ref" text="Reference" />
    626617                <check key="noref" text="Street has no reference" disable_off="true" />
     618                <space/>
     619                <check key="motorroad" text="Motorroad" />
    627620                <reference ref="highway_base" />
    628621                <text key="destination" text="Destination" />
    629622                <text key="destination:ref" text="Destination reference" />
     
    631624                <text key="width" text="Width (meters)" />
    632625                <space />
    633626                <reference ref="highway_yesno" />
    634                 <checkgroup columns="4">
    635                     <check key="oneway" text="Oneway" default="on" />
    636                     <check key="lit" text="Lit" />
    637                     <check key="toll" text="Toll" />
    638                 </checkgroup>
    639627                <reference ref="placement_shoulder" />
    640628            </optional>
    641629            <reference ref="link_road_access_restrictions" />
     
    649637            <optional>
    650638                <text key="name" text="Name" />
    651639                <check key="noname" text="Street has no name" disable_off="true" />
     640                <space/>
     641                <check key="motorroad" text="Motorroad" />
    652642                <reference ref="highway_base" />
    653643                <text key="destination" text="Destination" />
    654644                <text key="destination:ref" text="Destination reference" />
     
    655645                <text key="width" text="Width (meters)" />
    656646                <space />
    657647                <reference ref="highway_yesno" />
    658                 <checkgroup columns="4">
    659                     <check key="oneway" text="Oneway" default="on" />
    660                     <check key="lit" text="Lit" />
    661                     <check key="toll" text="Toll" />
    662                     <check key="motorroad" text="Motorroad" default="on" />
    663                 </checkgroup>
    664648                <reference ref="placement_shoulder" />
    665649            </optional>
    666650            <reference ref="link_road_access_restrictions" />
     
    672656            <optional>
    673657                <text key="ref" text="Reference" />
    674658                <check key="noref" text="Street has no reference" disable_off="true" />
     659                <space/>
     660                <check key="motorroad" text="Motorroad" />
    675661                <reference ref="highway_base" />
    676662                <text key="destination" text="Destination" />
    677663                <text key="destination:ref" text="Destination reference" />
     
    679665                <text key="width" text="Width (meters)" />
    680666                <space />
    681667                <reference ref="highway_yesno" />
    682                 <checkgroup columns="4">
    683                     <check key="oneway" text="Oneway" default="on" />
    684                     <check key="lit" text="Lit" />
    685                     <check key="toll" text="Toll" />
    686                     <check key="motorroad" text="Motorroad" default="on" />
    687                 </checkgroup>
    688668                <reference ref="placement_shoulder" />
    689669            </optional>
    690670            <reference ref="link_road_access_restrictions" />
     
    699679            <optional>
    700680                <text key="name" text="Name" />
    701681                <check key="noname" text="Street has no name" disable_off="true" />
     682                <space/>
     683                <check key="motorroad" text="Motorroad" />
    702684                <reference ref="highway_base" />
    703685                <reference ref="highway_yesno_incline_oneway_lit_width_busbay_sidewalk" />
    704                 <checkgroup columns="4">
    705                     <check key="motorroad" text="Motorroad" />
     686                <checkgroup columns="2">
    706687                    <check key="narrow" text="Narrow" disable_off="true" />
    707688                    <check key="trolley_wire" text="Overhead trolley wires" />
    708689                </checkgroup>
     
    714695            <link wiki="Highway_link" />
    715696            <key key="highway" value="primary_link" />
    716697            <optional>
     698                <check key="motorroad" text="Motorroad" />
    717699                <reference ref="highway_base" />
    718700                <text key="destination" text="Destination" />
    719701                <text key="destination:ref" text="Destination reference" />
    720702                <text key="junction:ref" text="Junction reference" />
    721                 <check key="motorroad" text="Motorroad" />
    722703                <reference ref="highway_yesno_incline_oneway_lit_width_busbay_sidewalk" />
    723704                <space />
    724705                <reference ref="placement_shoulder" />
     
    818799                <text key="ref" text="Reference" />
    819800                <reference ref="highway_base" />
    820801                <reference ref="highway_yesno" />
    821                 <checkgroup columns="4">
    822                     <check key="oneway" text="Oneway" />
    823                     <check key="oneway:bicycle" text="Oneway for bicycle" />
    824                     <check key="lit" text="Lit" />
    825                 </checkgroup>
     802                <check key="oneway:bicycle" text="Oneway for bicycle" />
    826803                <text key="width" text="Width (meters)" />
    827804                <combo key="bus_bay" text="Bus bay" values="both,left,right" />
    828805                <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" />
     
    847824                <combo key="lanes" text="Lanes" values="1,2,3" length="3" />
    848825                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" values_sort="false" />
    849826                <reference ref="surface_smoothness" />
    850                 <reference ref="highway_yesno_incline" />
    851                 <checkgroup columns="4">
    852                     <check key="oneway" text="Oneway" />
    853                     <check key="oneway:bicycle" text="Oneway for bicycle" />
    854                     <check key="lit" text="Lit" />
    855                 </checkgroup>
     827                <reference ref="highway_yesno" />
     828                <check key="oneway:bicycle" text="Oneway for bicycle" />
    856829                <text key="width" text="Width (meters)" />
    857830                <combo key="bus_bay" text="Bus bay" values="both,left,right" />
    858831                <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" />
     
    887860                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" values_sort="false" />
    888861                <reference ref="surface_smoothness" />
    889862                <check key="area" text="Area" />
    890                 <reference ref="highway_yesno_incline" />
    891                 <check key="lit" text="Lit" />
     863                <reference ref="highway_yesno" />
    892864                <text key="width" text="Width (meters)" />
    893865            </optional>
    894866            <reference ref="link_road_access_restrictions" />
     
    913885            <key key="service" value="parking_aisle" />
    914886            <optional>
    915887                <reference ref="surface_smoothness" />
    916                 <check key="oneway" text="Oneway" />
    917888                <check key="lit" text="Lit" />
    918889            </optional>
    919890            <reference ref="link_road_access_restrictions" />
     
    965936        <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 -->
    966937            <link wiki="Key:access" />
    967938            <space />
    968             <checkgroup columns="3" >
    969                 <check key="oneway" text="Oneway" />
     939            <checkgroup columns="4" >
     940                <check key="ice_road" text="Ice road" disable_off="true" />
     941                <check key="noexit" text="No exit (cul-de-sac)" disable_off="true" />
    970942                <check key="toll" text="Toll" />
    971                 <check key="noexit" text="No exit (cul-de-sac)" disable_off="true" />
    972943                <check key="winter_road" text="Winter road" disable_off="true" />
    973                 <check key="ice_road" text="Ice road" disable_off="true" />
    974944            </checkgroup>
     945            <space/>
     946            <combo key="oneway" text="Oneway" values="yes,no,reversible,alternating" />
    975947            <text key="maxspeed" text="Max. speed (km/h)" />
    976948            <text key="maxspeed:forward" text="Max. speed in way direction" />
    977949            <text key="maxspeed:backward" text="Max. speed opposed to way direction" />
     
    10501022                <reference ref="name_layer" />
    10511023                <combo key="lanes" text="Lanes" values="1,2,3" length="3" />
    10521024                <reference ref="highway_yesno" />
    1053                 <check key="oneway" text="Oneway" />
     1025                <combo key="oneway" text="Oneway" values="yes,no,reversible,alternating" />
    10541026                <text key="width" text="Width (meters)" />
    10551027            </optional>
    10561028            <reference ref="link_road_access_restrictions" />
     
    11591131            <space />
    11601132            <optional text="Edit Highway Attributes:">
    11611133                <combo key="highway" text="Highway" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary,tertiary_link,unclassified,residential,living_street,service,bus_guideway,construction" values_context="Highway" values_sort="false" />
    1162                 <check key="oneway" text="Oneway" />
     1134                <combo key="oneway" text="Oneway" values="yes,no,reversible,alternating" />
    11631135            </optional>
    11641136        </item> <!-- Cycle Lane/Track -->
    11651137        <item name="Dedicated Cycleway" icon="presets/transport/way/dedicated_cycleway.svg" type="way,closedway" preset_name_label="true">
     
    23422314            <optional>
    23432315                <text key="name" text="Name" />
    23442316                <reference ref="highway_yesno" />
    2345                 <check key="oneway" text="Oneway" />
     2317                <combo key="oneway" text="Oneway" values="yes,no,reversible,alternating" />
    23462318                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" values_sort="false" />
    23472319                <reference ref="surface_smoothness" />
    23482320                <text key="maxspeed" text="Max. speed (km/h)" />