Changeset 7630 in josm for trunk/data


Ignore:
Timestamp:
2014-10-18T16:22:52+02:00 (5 years ago)
Author:
Klumbumbus
Message:

see #8281 - deprecate sport=diving, add preset and mappaint style for sport=scuba_diving

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7629 r7630  
    47444744            <combo key="leisure" text="Type" values="sports_centre,stadium,swimming_pool,water_park" default="swimming_pool" values_searchable="true" />
    47454745        </item> <!-- Swimming -->
     4746        <item name="Scuba Diving" icon="styles/standard/sport/scuba_diving.svg" type="node,closedway" preset_name_label="true">
     4747            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=scuba_diving" />
     4748            <space />
     4749            <key key="sport" value="scuba_diving" />
     4750            <text key="name" text="Name" />
     4751        </item> <!-- Scuba Diving -->
    47464752        <item name="Skiing" icon="presets/skiing_downhill.png" type="node,way,closedway" preset_name_label="true">
    47474753            <link href="http://wiki.openstreetmap.org/wiki/Proposed_features/Piste_Maps"
  • trunk/data/validator/deprecated.mapcss

    r7623 r7630  
    314314  fixDeleteObject: this;
    315315}
     316
     317/* see #8281 */
     318*[sport=diving] {
     319  throwWarning: tr("{0} is deprecated", "{0.tag}");
     320  suggestAlternative: "sport=scuba_diving";
     321  suggestAlternative: "sport=cliff_diving";
     322}
Note: See TracChangeset for help on using the changeset viewer.