Ticket #5172: 5172.patch

File 5172.patch, 1.6 KB (added by simon04, 10 years ago)
  • data/defaultpresets.xml

    diff --git a/data/defaultpresets.xml b/data/defaultpresets.xml
    index fb36976..5238aa2 100755
    a b are supplied, then "values" will be treated as "display_values" and translated i 
    848848        <item name="Cycle Barrier" icon="styles/standard/vehicle/cycle_barrier.png" type="node">
    849849            <link href="http://de.wikipedia.org/wiki/Umlaufgitter" />
    850850            <key key="barrier" value="cycle_barrier" />
     851            <label text="Allowed traffic:" />
     852            <space />
     853            <check key="foot" text="Foot" default="on" delete_if_empty="true" />
     854            <check key="bicycle" text="Bicycle" default="on" delete_if_empty="true" />
     855            <check key="horse" text="Horse" default="off" delete_if_empty="true" />
     856            <check key="motorcycle" text="Motorcycle" default="off" delete_if_empty="true" />
    851857        </item> <!-- cycle_barrier -->
    852858        <item name="Block" icon="presets/block.png" type="node,way,closedway">
    853859            <key key="barrier" value="block" />
     860            <label text="Allowed traffic:" />
     861            <space />
     862            <check key="foot" text="Foot" default="on" delete_if_empty="true" />
     863            <check key="bicycle" text="Bicycle" default="on" delete_if_empty="true" />
     864            <check key="horse" text="Horse" default="off" delete_if_empty="true" />
     865            <check key="motorcycle" text="Motorcycle" default="off" delete_if_empty="true" />
    854866        </item> <!-- block -->
    855867        <item name="Cattle Grid" icon="presets/cattle_grid.png" type="node">
    856868            <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=cattle_grid" />