Changeset 8003 in josm for trunk


Ignore:
Timestamp:
2015-02-03T15:43:53+01:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #11062 - Add a preset for natural=rock

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8001 r8003  
    72317231            <text key="name" text="Name" />
    72327232        </item> <!-- Bare Rock -->
    7233         <item name="Stone" icon="presets/empty.png" type="node,closedway,relation" preset_name_label="true">
     7233        <item name="Rock" icon="styles/standard/misc/rock.svg" type="node,closedway" preset_name_label="true">
     7234            <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=rock" />
     7235            <label text="A notable rock or group of rocks, with at least one of them firmly attached to the underlying bedrock." />
     7236            <space />
     7237            <key key="natural" value="rock" />
     7238            <reference ref="name_wikipedia" />
     7239            <optional>
     7240                <check key="tourism" text="Tourism attraction" value_on="attraction" disable_off="true" />
     7241            </optional>
     7242        </item> <!-- Rock -->
     7243        <item name="Stone" icon="styles/standard/misc/stone.svg" type="node,closedway" preset_name_label="true">
    72347244            <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=stone"
    72357245                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=stone"
  • trunk/styles/standard/elemstyles.mapcss

    r7997 r8003  
    39093909    fill-color: bare_rock#f8f8c7;
    39103910}
     3911area[natural=rock] {
     3912    fill-color: stone#f8f8c7;
     3913}
     3914node[natural=rock] {
     3915    icon-image: "misc/rock.svg";
     3916    set icon_z17;
     3917    text: auto;
     3918}
    39113919area[natural=stone] {
    39123920    fill-color: stone#f8f8c7;
    39133921}
    39143922node[natural=stone] {
    3915     icon-image: "misc/no_icon.png";
     3923    icon-image: "misc/stone.svg";
    39163924    set icon_z17;
    39173925    text: auto;
Note: See TracChangeset for help on using the changeset viewer.