Changeset 10451 in josm for trunk


Ignore:
Timestamp:
2016-06-21T20:24:39+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #13008 - deprecate name:botanical in favor of species; remove empty node icons in mapview for barrier=fence|portcullis|drawbridge

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10450 r10451  
    89998999            <text key="name" text="Name" />
    90009000            <text key="height" text="Height (meters)" />
    9001             <text key="name:botanical" text="Botanical Name" />
    9002             <optional>
    9003                 <text key="genus" text="Genus" />
    9004                 <text key="species" text="Species" />
    9005                 <text key="taxon" text="Taxon" />
    9006                 <reference ref="leaf" />
    9007             </optional>
     9001            <text key="genus" text="Genus" />
     9002            <text key="species" text="Species" />
     9003            <text key="taxon" text="Taxon" />
     9004            <reference ref="leaf" />
    90089005        </item> <!-- Tree -->
    90099006        <item name="Tree Row" icon="styles/standard/misc/landmark/tree_row.svg" type="way" preset_name_label="true">
  • trunk/data/validator/deprecated.mapcss

    r10329 r10451  
    849849  throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
    850850}
     851
     852/* #13008 */
     853*[name:botanical] {
     854  throwWarning: tr("{0} is deprecated", "{0.key}");
     855  suggestAlternative: "species";
     856}
  • trunk/styles/standard/elemstyles.mapcss

    r10450 r10451  
    452452    set icon_z17;
    453453}
    454 node[barrier=fence][!is_prop_set(icon-image)],
    455454node[barrier=kissing_gate][!is_prop_set(icon-image)],
    456455node[barrier=bump_gate][!is_prop_set(icon-image)],
    457 node[barrier=portcullis][!is_prop_set(icon-image)],
    458456node[barrier=bus_trap][!is_prop_set(icon-image)],
    459 node[barrier=drawbridge][!is_prop_set(icon-image)],
    460457node[barrier=jersey_barrier][!is_prop_set(icon-image)],
    461458node[barrier=hampshire_gate][!is_prop_set(icon-image)] {
Note: See TracChangeset for help on using the changeset viewer.