Changeset 14591 in josm


Ignore:
Timestamp:
2018-12-23T00:37:15+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #16525 - improve sport=climbing presets (patch by schoschi, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r14575 r14591  
    204204    </chunk>
    205205    <chunk id="sport">
    206             <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
     206        <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
    207207    </chunk>
    208208    <chunk id="fee">
     
    466466    <text key="description" text="Description" />
    467467    <combo key="colour" text="Color (HTML name or hexadecimal code)" values_context="color" values="black,brown,green,red,blue,gray,white,#CD853F" />
     468  </chunk>
     469  <chunk id="climbing_styles">
     470    <label text="Climbing styles:" />
     471    <checkgroup columns="2">
     472      <check key="climbing:boulder" text="Boulders" />
     473      <check key="climbing:sport" text="Sport climbing" />
     474         <check key="climbing:toprope" text="Top rope (approach at the route top + letting the rope down)" />
     475         <check key="climbing:trad" text="Traditional climbing (no fixed anchors)" />
     476      <check key="climbing:multipitch" text="Multi-pitch climbing" />
     477      <check key="climbing:ice" text="Ice climbing" />
     478      <check key="climbing:mixed" text="Mixed climbing" />
     479      <check key="climbing:deepwater" text="Deep Water Soloing" />
     480    </checkgroup>
     481  </chunk>
     482  <chunk id="climbing_optional_attributes">
     483    <optional>
     484      <combo key="climbing:orientation" text="Orientation" values="N,NE,E,SE,S,SW,W,NW" values_no_i18n="true" values_sort="false"/>
     485      <combo key="climbing:quality" text="Rock/ice quality" values="fragile,medium,solid" />
     486      <combo key="climbing:rock" text="Rock type" rows="3" values="limestone,sandstone,granite,basalt,slate" />
     487      <check key="climbing:summit_log" text="Summit/route log/register" />
     488      <check key="indoor" text="Climbing routes indoor" />
     489      <check key="outdoor" text="Climbing routes outdoor" />           
     490      <text key="website" text="Official web site (e.g. operator)" />
     491      <text key="url" text="Unofficial web site" />
     492      <combo key="opening_hours" text="Opening hours" values="24/7,sunset-sunrise open; sunrise-sunset closed,Mar-Jun: closed; Jul-Feb: open,Mo-Fr 15:00-22:00; Sa-Su 11:00-22:00" values_no_i18n="true"/>
     493      <combo key="fee" text="Fee" values="yes,no,Sa-Su 08:00-20:00"/>
     494      <combo key="access" text="Access" values="yes,no,customers,private" />
     495    </optional>
    468496  </chunk>
    469497  <!--  Groups -->
     
    69526980            <combo key="leisure" text="Type" values="pitch,sports_centre,stadium,track" values_context="running" />
    69536981        </item> <!-- Running -->
    6954         <item name="Climbing" icon="presets/sport/climbing.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
     6982        <item name="Climbing site" icon="presets/sport/climbing.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
    69556983            <link href="https://wiki.openstreetmap.org/wiki/Tag:sport=climbing"
    69566984                  de.href="https://wiki.openstreetmap.org/wiki/DE:Tag:sport=climbing"
     
    69626990            <text key="name" text="Name" />
    69636991            <combo key="leisure" text="Type" values="sports_centre" />
    6964         </item> <!-- Climbing -->
     6992              <reference ref="climbing_styles" />
     6993            <text key="climbing:routes" text="Number of routes" />
     6994            <text key="ele" text="Usual elevation at the bottom of the routes" />
     6995            <space />
     6996            <combo key="climbing:length" text="Usual route length (m)" values="8 m,10 m,12 m,15 m,20 m,25 m,30 m,35 m,40 m"/>
     6997            <combo key="climbing:length:min" text="Minimal climbing length (m)" values="8 m,10 m,12 m,15 m,20 m,25 m,30 m,35 m,40 m"/>
     6998            <combo key="climbing:length:max" text="Maximum climbing length (m)" values="8 m,10 m,12 m,15 m,20 m,25 m,30 m,35 m,40 m"/>
     6999            <space />
     7000            <combo key="climbing:grade:UIAA:min" text="UIAA: Simplest route" values="4,4+,5-,5,5+,6-,6,6+,7-,7,7+,8-,8,8+,9-,9,9+,10-,10,10+,11-,11,11+,12-" />
     7001            <combo key="climbing:grade:UIAA:max" text="UIAA: Most difficult route" values="4,4+,5-,5,5+,6-,6,6+,7-,7,7+,8-,8,8+,9-,9,9+,10-,10,10+,11-,11,11+,12-" />
     7002            <combo key="climbing:grade:UIAA:mean" text="UIAA: Main difficulty" values="4,4+,5-,5,5+,6-,6,6+,7-,7,7+,8-,8,8+,9-,9,9+,10-,10,10+,11-,11,11+,12-" />
     7003            <space />
     7004            <combo key="climbing:grade:french:min" text="French: Simplest route" values="4,5a,5b,5c,6a,6a+,6b,6b+,6c,6c+,7a,7a+,7b,7b+,7c,7c+,8a,8a+,8b,8b+,8c,8c+,9a,9a+,9b,9b+" />
     7005            <combo key="climbing:grade:french:max" text="French: Most difficult route" values="4,5a,5b,5c,6a,6a+,6b,6b+,6c,6c+,7a,7a+,7b,7b+,7c,7c+,8a,8a+,8b,8b+,8c,8c+,9a,9a+,9b,9b+" />
     7006            <combo key="climbing:grade:french:mean" text="French: Main difficulty" values="4,5a,5b,5c,6a,6a+,6b,6b+,6c,6c+,7a,7a+,7b,7b+,7c,7c+,8a,8a+,8b,8b+,8c,8c+,9a,9a+,9b,9b+" />
     7007            <space />
     7008            <combo key="climbing:grade:saxon:min" text="Saxon: Simplest route" values="IV,V,VI,VIIa,VIIb,VIIc,VIIIa,VIIIb,VIIIc,IXa,IXb,IXc,Xa,Xb,Xc,XIa,XIb,XIc" />
     7009            <combo key="climbing:grade:saxon:max" text="Saxon: Most difficult route" values="IV,V,VI,VIIa,VIIb,VIIc,VIIIa,VIIIb,VIIIc,IXa,IXb,IXc,Xa,Xb,Xc,XIa,XIb,XIc" />
     7010            <combo key="climbing:grade:saxon:mean" text="Saxon: Main difficulty" values="IV,V,VI,VIIa,VIIb,VIIc,VIIIa,VIIIb,VIIIc,IXa,IXb,IXc,Xa,Xb,Xc,XIa,XIb,XIc" />
     7011            <reference ref="climbing_optional_attributes" />
     7012            <space />
     7013        </item> <!-- Climbing site -->
     7014        <item name="Climbing route" icon="presets/sport/climbing.svg" type="node,way" preset_name_label="true">
     7015            <link href="https://wiki.openstreetmap.org/wiki/Tag:sport=climbing"
     7016                  de.href="https://wiki.openstreetmap.org/wiki/DE:Tag:sport=climbing"
     7017                  fr.href="https://wiki.openstreetmap.org/wiki/FR:Tag:sport=climbing"
     7018                  it.href="https://wiki.openstreetmap.org/wiki/IT:Tag:sport=climbing"
     7019                  pl.href="https://wiki.openstreetmap.org/wiki/Pl:Tag:sport=climbing" />
     7020            <space />
     7021            <key key="sport" value="climbing" />
     7022            <key key="climbing" value="route" />
     7023            <text key="name" text="Name" />
     7024               <reference ref="climbing_styles" />
     7025            <combo key="climbing:bolted" text="Bolts" values="yes,no,1 m,2 m,3 m,4 m,5 m,6 m" values_sort="false"/>
     7026            <combo key="climbing:pitches" values="1,2,3,4,5,6,7,8" default="1" />
     7027            <combo key="climbing:length" text="Route length (m)" values="8 m,10 m,12 m,15 m,20 m,25 m,30 m,35 m,40 m"/>
     7028            <space />
     7029            <combo key="climbing:grade:UIAA" text="UIAA grading" values="4,4+,5-,5,5+,6-,6,6+,7-,7,7+,8-,8,8+,9-,9,9+,10-,10,10+,11-,11,11+,12-" />
     7030            <combo key="climbing:grade:french" text="French grading" values="4,5a,5b,5c,6a,6a+,6b,6b+,6c,6c+,7a,7a+,7b,7b+,7c,7c+,8a,8a+,8b,8b+,8c,8c+,9a,9a+,9b,9b+" />
     7031            <combo key="climbing:grade:saxon" text="Saxon grading" values="IV,V,VI,VIIa,VIIb,VIIc,VIIIa,VIIIb,VIIIc,IXa,IXb,IXc,Xa,Xb,Xc,XIa,XIb,XIc" />
     7032            <reference ref="climbing_optional_attributes" />
     7033        </item> <!-- Climbing route -->
    69657034        <item name="Canoeing/Kayaking" icon="presets/sport/canoe.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
    69667035            <link href="https://wiki.openstreetmap.org/wiki/Tag:sport=canoe" />
Note: See TracChangeset for help on using the changeset viewer.