Changeset 8123 in josm for trunk/data


Ignore:
Timestamp:
2015-03-08T22:51:18+01:00 (5 years ago)
Author:
Klumbumbus
Message:

simplify sport chunk and add surface at pitch preset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8122 r8123  
    176176        <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" default="pitch" />
    177177    </chunk>
    178     <chunk id="optional_sport">
    179         <optional text="Select sport:">
     178    <chunk id="sport">
    180179            <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_games,golf,gymnastics,handball,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,shooting,skateboard,skating,soccer,swimming,table_tennis,tennis" values_context="sport" />
    181         </optional>
    182180    </chunk>
    183181    <chunk id="fee">
     
    45814579            <key key="leisure" value="stadium" />
    45824580            <text key="name" text="Name" />
    4583             <reference ref="optional_sport" />
     4581            <reference ref="sport" />
    45844582            <reference ref="link_contact_address_payment" />
    45854583        </item> <!-- Stadium -->
     
    45944592            <key key="leisure" value="sports_centre" />
    45954593            <text key="name" text="Name" />
    4596             <reference ref="optional_sport" />
     4594            <reference ref="sport" />
    45974595            <reference ref="link_contact_address_payment" />
    45984596        </item> <!-- Sports Centre -->
     
    46104608            <key key="leisure" value="pitch" />
    46114609            <text key="name" text="Name" />
    4612             <reference ref="optional_sport" />
     4610            <reference ref="sport" />
     4611            <combo key="surface" text="Surface" values="artificial_turf,asphalt,clay,concrete,decoturf,grass,sand,tartan,ground" />
    46134612            <reference ref="link_contact_address_payment" />
    46144613        </item> <!-- Pitch -->
     
    46244623            <key key="leisure" value="track" />
    46254624            <text key="name" text="Name" />
    4626             <reference ref="optional_sport" />
     4625            <reference ref="sport" />
    46274626        </item> <!-- Racetrack -->
    46284627        <item name="Golf Course" icon="styles/standard/sport/golf.svg" type="node,closedway" preset_name_label="true">
Note: See TracChangeset for help on using the changeset viewer.