Changeset 15175 in josm


Ignore:
Timestamp:
2019-06-16T19:17:35+02:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #17814 - add man_made=street_cabinet (icon derived from power street cabinet icon, CC0 and PD licensed), unify the three presets

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15174 r15175  
    48554855            <combo key="opening_hours" text="Operation times" values="Mo-Fr 22:00-05:00" values_no_i18n="true" />
    48564856        </item> <!-- Street Lamp -->
     4857        <item name="Street cabinet" icon="presets/misc/street_cabinet.svg" type="node" preset_name_label="true">
     4858            <link wiki="Tag:man_made=street_cabinet" />
     4859            <key key="man_made" value="street_cabinet" />
     4860            <optional>
     4861                <combo key="street_cabinet" text="Type" values="cable_tv,gas,postal_service,power,street_lighting,telecom,traffic_control,traffic_monitoring,transport_management,waste,water,water_management" />
     4862                <reference ref="ref_operator" />
     4863                <text key="manufacturer" text="Manufacturer" />
     4864                <combo key="colour" text="Color (HTML name or hexadecimal code)" values_context="color" values="black,brown,green,red,blue,gray,white,#CD853F" />
     4865             </optional>
     4866        </item> <!-- Street cabinet -->
    48574867        <item name="Monitoring Station" icon="presets/misc/monitoring_station.svg" type="node,closedway" preset_name_label="true">
    48584868            <link wiki="Tag:man_made=monitoring_station" />
     
    52435253        <item name="Power Street Cabinet" icon="presets/power/cable_distribution_cabinet.svg" type="node" preset_name_label="true">
    52445254            <link wiki="Tag:man_made=street_cabinet" />
    5245             <space />
    52465255            <key key="man_made" value="street_cabinet" />
    52475256            <key key="street_cabinet" value="power" />
    5248             <combo key="voltage" text="Voltage in Volts (V)" values="600,400,220,110" /> <!-- Recheck values -->
    5249             <reference ref="ref_operator" />
     5257            <optional>
     5258                <combo key="voltage" text="Voltage in Volts (V)" values="600,400,220,110" /> <!-- Recheck values -->
     5259                <reference ref="ref_operator" />
     5260                <text key="manufacturer" text="Manufacturer" />
     5261                <combo key="colour" text="Color (HTML name or hexadecimal code)" values_context="color" values="black,brown,green,red,blue,gray,white,#CD853F" />
     5262             </optional>
    52505263        </item> <!-- Power Street Cabinet -->
    52515264        <separator/>
     
    53735386        <item name="Telecom Street Cabinet" icon="presets/telecom/telecom_cabinet.svg" type="node" preset_name_label="true">
    53745387            <link wiki="Tag:man_made=street_cabinet" />
    5375             <space />
    53765388            <key key="man_made" value="street_cabinet" />
    53775389            <key key="street_cabinet" value="telecom" />
    5378             <reference ref="ref_operator" />
     5390            <optional>
     5391                <reference ref="ref_operator" />
     5392                <text key="manufacturer" text="Manufacturer" />
     5393                <combo key="colour" text="Color (HTML name or hexadecimal code)" values_context="color" values="black,brown,green,red,blue,gray,white,#CD853F" />
     5394             </optional>
    53795395        </item> <!-- Telecom Street Cabinet -->
    53805396        <item name="Telephone Exchange" icon="presets/telecom/exchange.svg" type="node,closedway" preset_name_label="true">
  • trunk/styles/standard/elemstyles.mapcss

    r15171 r15175  
    12191219area[power=generator] {
    12201220    fill-color: power#eeeeee;
     1221}
     1222node[man_made=street_cabinet] {
     1223    icon-image: "presets/misc/street_cabinet.svg";
     1224    set icon_z17;
    12211225}
    12221226node[man_made=street_cabinet][street_cabinet=power] {
Note: See TracChangeset for help on using the changeset viewer.