Changeset 9835 in josm for trunk/data


Ignore:
Timestamp:
2016-02-19T18:24:58+01:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #12500 - deprecate sport=skating in favor of sport=ice_skating and sport=roller_skating; roller_skating icon see [o32077]

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9792 r9835  
    187187    </chunk>
    188188    <chunk id="sport">
    189             <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,skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
     189            <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" />
    190190    </chunk>
    191191    <chunk id="fee">
     
    53965396            <key key="leisure" value="track" />
    53975397            <text key="name" text="Name" />
    5398             <combo key="sport" text="Sport" values="athletics,cycling,dog_racing,equestrian,horse_racing,running,skating" values_context="sport" />
     5398            <combo key="sport" text="Sport" values="athletics,cycling,dog_racing,equestrian,horse_racing,running,roller_skating,ice_skating" values_context="sport" />
    53995399        </item> <!-- Racetrack -->
    54005400        <group name="Golf" icon="styles/standard/sport/golf/golf.svg">
     
    56355635            <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" />
    56365636        </item> <!-- Gymnastics -->
    5637         <item name="Skating" icon="presets/skating.png" type="node,closedway,multipolygon" preset_name_label="true">
    5638             <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=skating"
    5639                   uk.href="http://wiki.openstreetmap.org/wiki/Uk:Tag:sport=skating" />
    5640             <space />
    5641             <key key="sport" value="skating" />
     5637        <item name="Ice Skating" icon="presets/skating.png" type="node,closedway,multipolygon" preset_name_label="true">
     5638            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=ice_skating" />
     5639            <space />
     5640            <key key="sport" value="ice_skating" />
    56425641            <text key="name" text="Name" />
    56435642            <combo key="leisure" text="Type" values="ice_rink,pitch,sports_centre,stadium" default="ice_rink" />
    5644         </item> <!-- Skating -->
     5643        </item> <!-- Ice Skating -->
     5644        <item name="Roller Skating" icon="styles/standard/sport/roller_skating.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5645            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=roller_skating"/>
     5646            <space />
     5647            <key key="sport" value="roller_skating" />
     5648            <text key="name" text="Name" />
     5649            <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" />
     5650        </item> <!-- Roller Skating -->
    56455651        <item name="Skateboard" icon="styles/standard/sport/skateboard.png" type="node,closedway,multipolygon" preset_name_label="true">
    56465652            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=skateboard"
  • trunk/data/validator/deprecated.mapcss

    r9747 r9835  
    792792  throwWarning: tr("questionable key (ending with a number): {0}", "{0.key}");
    793793}
     794
     795/* #12500 */
     796*[sport=skating] {
     797  throwWarning: tr("{0} is deprecated", "{0.tag}");
     798  suggestAlternative: "sport=ice_skating";
     799  suggestAlternative: "sport=roller_skating";
     800}
Note: See TracChangeset for help on using the changeset viewer.