Changeset 15190 in josm for trunk/data/defaultpresets.xml


Ignore:
Timestamp:
2019-06-22T18:46:34+02:00 (5 years ago)
Author:
Klumbumbus
Message:
  • fix #17815 - add direction=* to traffic_sign presets
  • warn about traffic_sign=maxspeed without maxspeed=*
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15189 r15190  
    11101110            <link wiki="Tag:highway=stop" />
    11111111            <key key="highway" value="stop" />
     1112            <optional>
     1113                <combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270,forward,backward" values_sort="false" />
     1114            </optional>
    11121115        </item> <!-- Stop -->
    11131116        <item name="Give Way" icon="presets/vehicle/restriction/give_way.svg" type="node" preset_name_label="true">
    11141117            <link wiki="Tag:highway=give_way" />
    11151118            <key key="highway" value="give_way" />
     1119            <optional>
     1120                <combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270,forward,backward" values_sort="false" />
     1121            </optional>
    11161122        </item> <!-- Give Way -->
    11171123        <item name="Mini-Roundabout" icon="presets/vehicle/restriction/mini_roundabout_left.svg" type="node" preset_name_label="true">
     
    12051211            <key key="traffic_sign" value="city_limit" />
    12061212            <text key="name" text="Name" />
    1207             <text key="alt_name" text="Second Name" />
     1213            <optional>
     1214                <text key="alt_name" text="Second Name" />
     1215                <combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270,forward,backward" values_sort="false" />
     1216            </optional>
    12081217        </item> <!-- City Limit -->
    12091218        <item name="Speed Limit Sign" icon="presets/vehicle/restriction/maxspeed.svg" type="node" preset_name_label="true">
     
    12121221            <key key="traffic_sign" value="maxspeed" />
    12131222            <text key="maxspeed" text="Max. speed (km/h)" />
     1223            <optional>
     1224                <combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270,forward,backward" values_sort="false" />
     1225            </optional>
    12141226        </item> <!-- Speed Limit -->
    12151227        <item name="Speed Camera" icon="presets/vehicle/restriction/speed_camera.svg" type="node" preset_name_label="true">
Note: See TracChangeset for help on using the changeset viewer.