Changeset 9433 in josm


Ignore:
Timestamp:
2016-01-13T18:38:01+01:00 (9 years ago)
Author:
Klumbumbus
Message:

see #12297 - add power=portal, power=insulator and building=transformer_tower to preset and mappaint style

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9425 r9433  
    56275627                  uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:building" />
    56285628            <space />
    5629             <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,service,train_station,barn,stable,cabin,farm_auxiliary,transportation,greenhouse,office,university,hospital,kindergarten,manufacture,warehouse,retail,shed,storage_tank,supermarket,gasometer,cowshed,construction,basilica,cathedral,chapel,church,temple,mosque,synagogue" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
     5629            <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,service,train_station,barn,stable,cabin,farm_auxiliary,transportation,greenhouse,office,university,hospital,kindergarten,manufacture,warehouse,retail,shed,storage_tank,supermarket,gasometer,cowshed,construction,basilica,cathedral,chapel,church,temple,mosque,synagogue,transformer_tower" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
    56305630            <text key="name" text="Name" />
    56315631            <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" />
     
    64576457        </item> <!-- Cable Distribution Cabinet -->
    64586458        <separator/>
     6459        <item name="Transformer Tower" icon="styles/standard/power/transformer_tower.svg" type="node,closedway" preset_name_label="true">
     6460            <link href="http://wiki.openstreetmap.org/wiki/Tag:building=transformer_tower" />
     6461            <space />
     6462            <key key="building" value="transformer_tower" />
     6463            <text key="height" text="Height (meters)" />
     6464            <reference ref="ref_operator_branch" />
     6465            <preset_link preset_name="Power Substation" />
     6466        </item> <!-- Transformer Tower -->
     6467        <item name="Power Portal" icon="styles/standard/power/portal.svg" type="node,way" preset_name_label="true">
     6468            <link href="http://wiki.openstreetmap.org/wiki/Tag:power=portal"
     6469                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:power=portal" />
     6470            <space />
     6471            <key key="power" value="portal" />
     6472            <text key="height" text="Height (meters)" />
     6473            <combo key="structure" text="Type of construction" values="lattice,tubular,solid" />
     6474            <combo key="material" text="Material" values="metal,plastic,steel,stone,wood,concrete" />
     6475            <combo key="colour" text="Color (HTML name or hexadecimal code)" values="black,red,white,gray,red/white" values_context="color" />
     6476            <reference ref="ref_operator_branch" />
     6477            <combo key="design" text="Portal design" values="portal,portal_two-level,portal_three-level" values_context="power" />
     6478        </item> <!-- Power Portal -->
    64596479        <item name="Power Tower" icon="styles/standard/power/tower.svg" type="node" preset_name_label="true">
    64606480            <link href="http://wiki.openstreetmap.org/wiki/Tag:power=tower"
     
    65276547            </optional>
    65286548        </item> <!-- Pole with Transformer-->
     6549        <item name="Insulator" icon="styles/standard/power/insulator.svg" type="node" preset_name_label="true">
     6550            <link href="http://wiki.openstreetmap.org/wiki/Tag:power=insulator" />
     6551            <space />
     6552            <key key="power" value="insulator" />
     6553            <reference ref="ref_operator_branch" />
     6554        </item> <!-- Insulator -->
    65296555        <item name="Power Line" icon="styles/standard/power/line.svg" type="way" preset_name_label="true">
    65306556            <link href="http://wiki.openstreetmap.org/wiki/Tag:power=line"
  • trunk/data/validator/ignoretags.cfg

    r9425 r9433  
    269269K:man_made=mast
    270270K:man_made=silo
    271 K:power=portal
    272271K:route=foot
    273272
  • trunk/styles/standard/elemstyles.mapcss

    r9423 r9433  
    319319    icon-image: "misc/landuse/garages.png";
    320320    set icon_z17;
     321    text: auto;
     322}
     323node[building=transformer_tower] {
     324    icon-image: "power/transformer_tower.svg";
    321325    text: auto;
    322326}
     
    11301134/**************/
    11311135
     1136node[power=portal] {
     1137    icon-image: "power/portal.svg";
     1138    set icon_z17;
     1139    text: auto;
     1140}
    11321141node[power=tower] {
    11331142    icon-image: "power/tower.svg";
     
    11451154    text: auto;
    11461155}
     1156node[power=insulator] {
     1157    icon-image: "power/insulator.svg";
     1158    set icon_z17;
     1159    text: auto;
     1160}
     1161way[power=portal],
    11471162way[power=line],
    11481163way[power=minor_line] {
Note: See TracChangeset for help on using the changeset viewer.