Changeset 8983 in josm


Ignore:
Timestamp:
2015-11-02T22:51:18+01:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #12049 - add maxspeed:forward/backward and lanes:forward/backward to internal preset, add spaces and move layer down after maxspeed and lanes (except for bridge and tunnel presets)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8958 r8983  
    3434    </chunk>
    3535    <chunk id="highway_base">
    36         <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3"/>
    37         <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3"/>
    38         <text key="maxspeed" text="Max. speed (km/h)"/>
     36        <space />
     37        <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
     38        <combo key="lanes:forward" text="Lanes in way direction" values="1,2,3,4,5" length="3" />
     39        <combo key="lanes:backward" text="Lanes opposed to way direction" values="1,2,3,4,5" length="3" />
     40        <space />
     41        <text key="maxspeed" text="Max. speed (km/h)" />
     42        <text key="maxspeed:forward" text="Max. speed in way direction" />
     43        <text key="maxspeed:backward" text="Max. speed opposed to way direction" />
     44        <space />
     45        <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    3946        <reference ref="surface_smoothness" />
    4047    </chunk>
     
    308315            <text key="name" text="Name" />
    309316            <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" default="1" length="3" />
     317            <space />
    310318            <text key="maxspeed" text="Max. speed (km/h)" />
     319            <text key="maxspeed:forward" text="Max. speed in way direction" />
     320            <text key="maxspeed:backward" text="Max. speed opposed to way direction" />
     321            <space />
    311322            <text key="maxweight" text="Max. weight (tonnes)" />
    312323            <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
     
    642653            <text key="maxspeed" text="Max. speed (km/h)" default="30" />
    643654            <optional>
     655                <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
    644656                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" />
    645                 <combo key="lanes" text="Lanes" values="1,2,3,4,5" />
    646657                <reference ref="surface_smoothness" />
    647658                <check key="oneway" text="Oneway" />
     
    667678            <text key="name" text="Name" />
    668679            <optional>
     680                <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
    669681                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    670                 <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
    671682                <reference ref="surface_smoothness" />
    672683                <reference ref="highway_yesno_incline_oneway_lit_width" />
     
    690701            <optional>
    691702                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" />
    692                 <combo key="lanes" text="Lanes" values="1,2,3,4,5" length="3" />
    693703                <reference ref="surface_smoothness" />
    694704                <check key="area" text="Area" />
     
    843853            <combo key="psv" text="Public Service Vehicles (psv)" values="yes,official,designated,destination,permissive,private,no" match="key" />
    844854            <combo key="tourist_bus" text="Tourist buses" values="yes,no" match="key" />
     855            <space />
    845856            <text key="maxspeed" text="Max. speed (km/h)" />
     857            <text key="maxspeed:forward" text="Max. speed in way direction" />
     858            <text key="maxspeed:backward" text="Max. speed opposed to way direction" />
    846859            <text key="minspeed" text="Min. speed (km/h)" match="key" />
    847860            <text key="maxweight" text="Max. weight (tonnes)" match="key" />
     
    16711684                <text key="width" text="Width (meters)" />
    16721685                <text key="maxheight" text="Max. height (meters)" />
     1686                <space />
    16731687                <text key="maxspeed" text="Max. speed (km/h)" />
     1688                <text key="maxspeed:forward" text="Max. speed in way direction" />
     1689                <text key="maxspeed:backward" text="Max. speed opposed to way direction" />
     1690                <space />
    16741691                <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" />
    16751692                <check key="toll" text="Toll" />
Note: See TracChangeset for help on using the changeset viewer.