Changeset 16716 in josm


Ignore:
Timestamp:
2020-06-25T21:41:02+02:00 (3 weeks ago)
Author:
Klumbumbus
Message:

fix #19427 - Add pipeline=substation (icon self created based on internal pipeline icon, PD and CC0 licensed)

Location:
trunk/resources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16715 r16716  
    52505250            <text key="pressure" text="Pressure (bar)" />
    52515251        </item> <!-- Pipeline -->
     5252        <item name="Pipeline Substation" icon="presets/misc/pipeline_substation.svg" type="node,closedway,multipolygon" preset_name_label="true">
     5253            <link wiki="Tag:pipeline=substation" />
     5254            <space />
     5255            <key key="pipeline" value="substation" />
     5256            <text key="name" text="Name" />
     5257            <combo key="substation" text="Type" values="compression,distribution,field_gathering,inspection_gauge,measurement,valve,valve_group" values_context="pipeline" />
     5258            <text key="ref" text="Reference" />
     5259            <reference ref="operator_substance" />
     5260        </item> <!-- Pipeline Substation -->
    52525261        <item name="Pipeline Valve" icon="presets/misc/valve.svg" type="node" preset_name_label="true">
    52535262            <link wiki="Tag:pipeline=valve" />
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16715 r16716  
    15151515    width: 2;
    15161516    color: pipeline#660000;
     1517}
     1518area[pipeline=substation] {
     1519    fill-color: pipeline_substation#eeeeee;
     1520}
     1521node[pipeline=substation] {
     1522    icon-image: "presets/misc/pipeline_substation.svg";
     1523    set icon_z17;
    15171524}
    15181525node[marker] {
Note: See TracChangeset for help on using the changeset viewer.