Changeset 15086 in josm


Ignore:
Timestamp:
2019-05-18T17:57:10+02:00 (5 months ago)
Author:
Klumbumbus
Message:

fix #17556 - deprecate leisure=common

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15081 r15086  
    69646964            <reference ref="optional_name" />
    69656965        </item> <!-- Village Green -->
    6966         <item name="Common" icon="presets/leisure/common.svg" type="closedway,multipolygon" preset_name_label="true">
    6967             <link wiki="Tag:leisure=common" />
    6968             <space />
    6969             <key key="leisure" value="common" />
    6970             <reference ref="optional_name" />
    6971         </item> <!-- Common -->
    69726966        <item name="Park" icon="presets/leisure/park.svg" type="closedway,multipolygon" preset_name_label="true">
    69736967            <link wiki="Tag:leisure=park" />
  • trunk/data/validator/deprecated.mapcss

    r15004 r15086  
    14341434  group: tr("deprecated tagging");
    14351435}
     1436
     1437/* #17556 */
     1438*[leisure=common] {
     1439  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1440  suggestAlternative: "landuse=*";
     1441  suggestAlternative: "leisure=*";
     1442  suggestAlternative: "designation=common";
     1443  group: tr("deprecated tagging");
     1444}
  • trunk/styles/standard/elemstyles.mapcss

    r15081 r15086  
    17541754area[leisure=playground],
    17551755area[leisure=garden],
    1756 area[leisure=common],
    17571756area[leisure=firepit] {
    17581757    fill-color: leisure#c7f1a3;
     
    17791778}
    17801779node[leisure=common] {
    1781     icon-image: "presets/leisure/common.svg";
     1780    icon-image: "presets/misc/deprecated.svg";
    17821781    set icon_z17;
    17831782}
Note: See TracChangeset for help on using the changeset viewer.