Changeset 15112 in josm


Ignore:
Timestamp:
2019-05-25T20:09:08+02:00 (5 months ago)
Author:
Don-vip
Message:

fix #17689, fix #17690, fix #17692 - add telecom presets (street_cabinet=telecom, telecom=exchange, telecom=connection_point, telecom=service_device)

Location:
trunk
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15093 r15112  
    116116        <text key="ref" text="Reference" />
    117117    </chunk>
     118    <chunk id="ref_operator">
     119        <text key="ref" text="Reference" />
     120        <text key="operator" text="Operator" />
     121    </chunk>
    118122    <chunk id="name_ref_operator">
    119123        <text key="name" text="Name" />
    120         <text key="ref" text="Reference" />
    121         <text key="operator" text="Operator" />
     124        <reference ref="ref_operator" />
    122125    </chunk>
    123126    <chunk id="name_operator">
     
    326329        <reference ref="frequency" />
    327330    </chunk>
    328     <chunk id="ref_operator">
    329         <text key="ref" text="Reference" />
    330         <text key="operator" text="Operator" />
    331     </chunk>
    332331    <chunk id="cables">
    333332        <combo key="cables" text="Amount of Cables" values="1,2,3,4,6,9,12" />
     
    394393            <combo key="windings:configuration" text="Windings configuration" values="star,delta,open-delta,zigzag,open,scott,leblanc" values_context="power_windings" />
    395394        </optional>
     395    </chunk>
     396    <chunk id="telecom_medium">
     397        <combo key="telecom:medium" text="Local loop type" values="copper,fibre,coaxial" />
    396398    </chunk>
    397399    <chunk id="optional_bridge">
     
    53165318        </item> <!-- Power Cable -->
    53175319    </group> <!-- Power -->
     5320    <group name="Telecom" icon="presets/telecom/telecom.svg">
     5321        <item name="Telecom Street Cabinet" icon="presets/telecom/telecom_cabinet.svg" type="node" preset_name_label="true">
     5322            <link wiki="Tag:man_made=street_cabinet" />
     5323            <space />
     5324            <key key="man_made" value="street_cabinet" />
     5325            <key key="street_cabinet" value="telecom" />
     5326            <reference ref="ref_operator" />
     5327        </item> <!-- Telecom Street Cabinet -->
     5328        <item name="Telephone Exchange" icon="presets/telecom/exchange.svg" type="node,closedway" preset_name_label="true">
     5329            <link wiki="Tag:telecom=exchange" />
     5330            <space />
     5331            <key key="telecom" value="exchange" />
     5332            <reference ref="telecom_medium" />
     5333            <reference ref="ref_operator" />
     5334        </item> <!-- Telephone Exchange -->
     5335        <item name="Connection Point" icon="presets/telecom/connection_point.svg" type="node,closedway" preset_name_label="true">
     5336            <link wiki="Tag:telecom=connection_point" />
     5337            <space />
     5338            <key key="telecom" value="connection_point" />
     5339            <reference ref="telecom_medium" />
     5340            <reference ref="ref_operator" />
     5341        </item> <!-- Connection Point -->
     5342        <item name="Service Device" icon="presets/telecom/service_device.svg" type="node,closedway" preset_name_label="true">
     5343            <link wiki="Tag:telecom=service_device" />
     5344            <space />
     5345            <key key="telecom" value="service_device" />
     5346            <reference ref="telecom_medium" />
     5347            <reference ref="ref_operator" />
     5348        </item> <!-- Service Device -->
     5349    </group> <!-- Telecom -->
    53185350    <group name="Historic Places" icon="presets/sightseeing/castle.svg">
    53195351        <item name="Castle" icon="presets/sightseeing/castle.svg" type="node,closedway,multipolygon" preset_name_label="true">
Note: See TracChangeset for help on using the changeset viewer.