Changeset 6703 in josm


Ignore:
Timestamp:
2014-01-16T14:56:42+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #9583 - presets updates on barriers and entrance (modified patch by akks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6701 r6703  
    284284        </optional>
    285285    </chunk>
     286    <chunk id="optional_maxheight_maxwidth">
     287        <optional>
     288            <text key="maxheight" text="Max. height (meters)" length="7" />
     289            <text key="maxwidth" text="Max. width (meters)" length="7" />
     290        </optional>
     291    </chunk>
    286292    <chunk id="name_leisure_pitch">
    287293        <text key="name" text="Name" />
     
    320326        <reference ref="oh" />
    321327    </chunk>
     328    <chunk id="general_access">
     329        <combo key="access" text="General Access" values="yes,destination,delivery,permissive,private,customers,agricultural,forestry,no" values_searchable="true" />
     330    </chunk>
    322331  <!-- Link chunks -->
    323332  <chunk id="link_contact">
     
    12621271        </item> <!-- cycle_barrier -->
    12631272        <item name="Cattle Grid" icon="presets/cattle_grid.png" type="node">
    1264             <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=cattle_grid"
     1273            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=cattle_grid"
    12651274                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:barrier=cattle_grid"
    12661275                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:barrier=cattle_grid" />
     
    12981307        </item> <!-- toll_booth -->
    12991308        <item name="Border Control" icon="presets/douane.png" type="node">
     1309            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=border_control" />
    13001310            <label text="Edit Border Control" />
    13011311            <key key="barrier" value="border_control" />
     
    13911401        </item> <!-- ditch -->
    13921402        <item name="Kerb" type="way,closedway">
     1403            <link pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:barrier=kerb" />
    13931404            <label text="Edit Kerb" />
    13941405            <key key="barrier" value="kerb" />
     
    14161427            <key key="barrier" value="gate" />
    14171428            <reference ref="barrier_5" />
    1418             <reference ref="optional_maxwidth" />
     1429            <reference ref="optional_maxheight_maxwidth" />
     1430            <reference ref="general_access" />
    14191431        </item> <!-- gate -->
    14201432        <item name="Lift Gate" icon="presets/lift_gate.png" type="node">
     
    14291441            <reference ref="barrier_5" />
    14301442            <reference ref="optional_maxwidth" />
     1443            <reference ref="general_access" />
    14311444        </item> <!-- lift_gate -->
    14321445        <item name="Hampshire Gate" icon="presets/empty.png" type="node">
     
    25372550            <reference ref="name_operator" />
    25382551            <text key="capacity" text="Capacity" />
    2539             <combo key="bicycle_parking" text="Type" values="anchors,building,ground_slots,informal,lockers,shed,stands,wall_loops" />
     2552            <combo key="bicycle_parking" text="Type" values="anchors,building,ground_slots,informal,lockers,rack,shed,stands,wall_loops" />
    25402553            <check key="covered" text="Covered" />
    25412554            <check key="supervised" text="Supervised" />
     
    48524865            <combo key="entrance" text="Entrance" values="yes,main,service,exit,emergency" values_context="entrance" default="yes" match="key" />
    48534866            <combo key="access" text="Access" values="yes,delivery,private,no" />
    4854             <combo key="wheelchair" text="Wheelchairs" values="yes,no" />
     4867            <combo key="wheelchair" text="Wheelchairs" values="yes,no,limited" />
     4868            <optional>
     4869                <text key="ref" text="Entrance number" />
     4870                <text key="addr:flats" text="Flat numbers" />
     4871            </optional>
    48554872        </item>
    48564873        <item name="Tower" icon="presets/tower.png" type="node,closedway">
Note: See TracChangeset for help on using the changeset viewer.