Changeset 9049 in josm


Ignore:
Timestamp:
2015-11-21T17:18:09+01:00 (5 years ago)
Author:
Klumbumbus
Message:

see #10907 - add pipeline=valve to preset and mappaint style, add separator to preset menu

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9048 r9049  
    56345634            </optional>
    56355635        </item> <!-- Bunker Silo -->
    5636         <item name="Pipeline" icon="presets/path.png" type="way" preset_name_label="true">
    5637             <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=pipeline"
    5638                   cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:man_made=pipeline"
    5639                   de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:man_made=pipeline"
    5640                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:man_made=pipeline"
    5641                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:man_made=pipeline" />
    5642             <space />
    5643             <key key="man_made" value="pipeline" />
    5644             <text key="name" text="Name" />
    5645             <text key="ref" text="Reference" />
    5646             <reference ref="operator_substance" />
    5647             <combo key="location" text="Location" values="underground,underwater,overground" values_context="pipeline" />
    5648         </item> <!-- Pipeline -->
    5649         <item name="Pipeline Marker" icon="styles/standard/misc/pipeline_marker.svg" type="node" preset_name_label="true">
    5650             <link href="http://wiki.openstreetmap.org/wiki/Tag:pipeline=marker" />
    5651             <space />
    5652             <key key="pipeline" value="marker" />
    5653             <text key="ref" text="Reference" />
    5654             <reference ref="operator_substance" />
    5655             <reference ref="support" />
    5656         </item> <!-- Pipeline Marker -->
    56575636        <item name="Crane" icon="presets/crane.png" type="node,closedway" preset_name_label="true">
    56585637            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=crane"
     
    57105689            <key key="man_made" value="embankment" />
    57115690        </item> <!-- Embankment -->
     5691        <separator/>
     5692        <item name="Pipeline" icon="presets/path.png" type="way" preset_name_label="true">
     5693            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=pipeline"
     5694                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:man_made=pipeline"
     5695                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:man_made=pipeline"
     5696                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:man_made=pipeline"
     5697                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:man_made=pipeline" />
     5698            <space />
     5699            <key key="man_made" value="pipeline" />
     5700            <text key="name" text="Name" />
     5701            <text key="ref" text="Reference" />
     5702            <reference ref="operator_substance" />
     5703            <combo key="location" text="Location" values="underground,underwater,overground" values_context="pipeline" />
     5704        </item> <!-- Pipeline -->
     5705        <item name="Pipeline Marker" icon="styles/standard/misc/pipeline_marker.svg" type="node" preset_name_label="true">
     5706            <link href="http://wiki.openstreetmap.org/wiki/Tag:pipeline=marker" />
     5707            <space />
     5708            <key key="pipeline" value="marker" />
     5709            <text key="ref" text="Reference" />
     5710            <reference ref="operator_substance" />
     5711            <reference ref="support" />
     5712        </item> <!-- Pipeline Marker -->
     5713        <item name="Pipeline Valve" icon="styles/standard/misc/valve.svg" type="node" preset_name_label="true">
     5714            <link href="http://wiki.openstreetmap.org/wiki/Tag:pipeline=valve" />
     5715            <space />
     5716            <key key="pipeline" value="valve" />
     5717            <text key="ref" text="Reference" />
     5718            <reference ref="operator_substance" />
     5719        </item> <!-- Pipeline Valve -->
    57125720        <separator/>
    57135721        <item name="Water Tower" icon="styles/standard/misc/landmark/water_tower.svg" type="node,closedway" preset_name_label="true">
  • trunk/styles/standard/elemstyles.mapcss

    r9048 r9049  
    14031403node[pipeline=marker] {
    14041404    icon-image: "misc/pipeline_marker.svg";
     1405    set icon_z17;
     1406    text: auto;
     1407}
     1408node[pipeline=valve] {
     1409    icon-image: "misc/valve.svg";
    14051410    set icon_z17;
    14061411    text: auto;
Note: See TracChangeset for help on using the changeset viewer.