Changeset 6701 in josm for trunk


Ignore:
Timestamp:
2014-01-16T11:43:46+01:00 (11 years ago)
Author:
Don-vip
Message:

see #9327 - refactor parking presets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6697 r6701  
    299299        <check key="payment:account_cards" text="Account or loyalty cards" />
    300300    </chunk>
     301    <chunk id="parking_name_type_ref">
     302        <text key="name" text="Name" />
     303        <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
     304        <text key="ref" text="Reference number" />
     305    </chunk>
     306    <chunk id="parking_access_fee_operator_surface">
     307        <space />
     308        <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
     309        <combo key="fee" text="Fee" values="yes,no,interval" />
     310        <text key="operator" text="Operator" />
     311        <reference ref="surface" />
     312        <space />
     313    </chunk>
     314    <chunk id="stay">
     315        <combo key="stay" text="Time Limit (minutes)" values="0,30-60,30-180,30+" />
     316    </chunk>
     317    <chunk id="supervised_lit_oh">
     318        <combo key="supervised" text="Supervised" values="yes,no,interval" />
     319        <combo key="lit" text="Lit" values="yes,no,interval" />
     320        <reference ref="oh" />
     321    </chunk>
    301322  <!-- Link chunks -->
    302323  <chunk id="link_contact">
     
    22882309            <space />
    22892310            <key key="amenity" value="parking" />
    2290             <text key="name" text="Name" />
    2291             <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
    2292             <text key="ref" text="Reference number" />
     2311            <reference ref="parking_name_type_ref" />
    22932312            <text key="maxheight" text="Max. height (meters)" />
    2294             <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
    2295             <combo key="park_ride" text="Park and Ride" values="yes,no" />
    2296             <combo key="fee" text="Fee" values="yes,no" />
    2297             <text key="operator" text="Operator" />
    2298             <space />
     2313            <combo key="park_ride" text="Park and Ride" values="yes,no,bus,train,tram,metro,ferry" />
     2314            <reference ref="parking_access_fee_operator_surface" />
    22992315            <text key="capacity" text="Capacity (overall)" />
    23002316            <combo key="capacity:disabled" text="Spaces for Disabled" values="yes,no,unknown,1,2,3" />
     
    23022318            <combo key="capacity:parent" text="Spaces for Parents" values="yes,no,unknown,1,2,3" />
    23032319            <label text="See the Wiki for other capacity:[types]=*." />
     2320            <space />
     2321            <reference ref="stay" />
     2322            <reference ref="supervised_lit_oh" />
    23042323        </item>
    23052324        <item name="Parking space" icon="presets/parking.png" type="node,closedway">
     
    23132332            <space />
    23142333            <key key="amenity" value="parking_space" />
    2315             <text key="name" text="Name" />
    2316             <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
    2317             <text key="ref" text="Reference number" />
     2334            <reference ref="parking_name_type_ref" />
    23182335            <text key="capacity" text="Capacity" />
    2319             <space />
    2320             <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
    2321             <combo key="fee" text="Fee" values="yes,no,interval" />
    2322             <text key="operator" text="Operator" />
    2323             <reference ref="surface" />
    2324             <combo key="covered" text="Covered (with roof)" values="yes,no" />
    2325             <combo key="stay" text="Time Limit (minutes)" values="0,30-60,30-180,30+" />
    2326             <combo key="supervised" text="Supervised" values="yes,no,interval" />
    2327             <combo key="lit" text="Lit" values="yes,no,interval" />
    2328             <reference ref="oh" />
     2336            <reference ref="parking_access_fee_operator_surface" />
     2337            <reference ref="stay" />
     2338            <reference ref="supervised_lit_oh" />
     2339            <check key="covered" text="Covered (with roof)" />
    23292340        </item>
    23302341        <item name="Parking entrance" icon="presets/parking.png" type="node">
     
    23372348            <space />
    23382349            <key key="amenity" value="parking_entrance" />
    2339             <text key="name" text="Name" />
    2340             <combo key="parking" text="Type" values="multi-storey,surface,underground,rooftop" />
    2341             <text key="ref" text="Reference number" />
    2342             <space />
    2343             <combo key="access" text="Access" values="yes,private,customers,permissive,no" />
    2344             <combo key="fee" text="Fee" values="yes,no,interval" />
    2345             <text key="operator" text="Operator" />
    2346             <reference ref="surface" />
    2347             <combo key="covered" text="Covered (with roof)" values="yes,no" />
    2348             <combo key="stay" text="Time Limit (minutes)" values="0,30-60,30-180,30+" />
    2349             <combo key="supervised" text="Supervised" values="yes,no,interval" />
    2350             <combo key="lit" text="Lit" values="yes,no,interval" />
    2351             <reference ref="oh" />
     2350            <reference ref="parking_name_type_ref" />
     2351            <text key="maxheight" text="Max. height (meters)" />
     2352            <reference ref="parking_access_fee_operator_surface" />
     2353            <reference ref="supervised_lit_oh" />
     2354            <check key="covered" text="Covered (with roof)" />
    23522355        </item>
    23532356        <separator/>
     
    35453548            <key key="amenity" value="bbq" />
    35463549            <text key="name" text="Name" />
    3547             <combo key="covered" text="Covered" values="yes,no" />
    35483550            <combo key="fuel" text="Fuel" text_context="grill" values="charcoal,electric,wood" />
     3551            <check key="covered" text="Covered" />
    35493552        </item>
    35503553        <item name="Fishing" icon="presets/fishing.png" type="node,closedway">
Note: See TracChangeset for help on using the changeset viewer.