Changeset 18091 in josm for trunk


Ignore:
Timestamp:
2021-07-26T22:24:27+02:00 (3 years ago)
Author:
Klumbumbus
Message:

see #20835 - Enhance location combo boxes (add overhead), remove one unneeded chunk

File:
1 edited

Legend:

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

    r18090 r18091  
    377377    <chunk id="power_loc">
    378378        <combo key="location" text="Location" values="outdoor,indoor,underground,platform,roof" values_context="power" />
    379     </chunk>
    380     <chunk id="power_extra">
    381         <reference ref="power_loc" />
    382         <reference ref="voltage_frequency" />
    383         <reference ref="ref_operator" />
    384379    </chunk>
    385380    <chunk id="power_line_extra">
     
    20362031            <key key="substance" value="water" />
    20372032            <key key="usage" value="penstock" />
    2038             <combo key="location" text="Location" values="overground,underground" values_context="pipeline" />
     2033            <combo key="location" text="Location" values="overground,overhead,underground,underwater" values_context="pipeline" />
    20392034            <optional>
    20402035                <reference ref="name_operator" />
     
    58415836            <reference ref="name_ref" />
    58425837            <reference ref="operator_substance" />
    5843             <combo key="location" text="Location" values="underground,underwater,overground" values_context="pipeline" />
     5838            <combo key="location" text="Location" values="overground,overhead,underground,underwater" values_context="pipeline" />
    58445839            <combo key="diameter" text="Diameter (mm)" values="800,1000,1200,1500,1600,1800,2200,2300,2400,2500,2600,2800,3200,3300,3400,3500,4000,4200,4300,4800" />
    58455840            <text key="pressure" text="Pressure (bar)" />
     
    58745869                <combo key="material" text="Material" values="concrete,metal,plastic,steel,stone,wood" />
    58755870                <reference ref="color" />
    5876                 <combo key="location" text="Location" values="underground,overground" values_context="pipeline" />
     5871                <combo key="location" text="Location" values="overground,overhead,underground,underwater" values_context="pipeline" />
    58775872            </optional>
    58785873        </item> <!-- Marker -->
     
    59695964            <optional>
    59705965               <combo key="bunker_type" text="Type" values="command,foxhole,gun_emplacement,hardened_aircraft_shelter,mg_nest,munitions,observation,personnel_shelter,pillbox,technical,tobruk" values_context="bunker" values_searchable="true" />
    5971                <combo key="location" text="Location" values="overground,underground" values_context="bunker" />
     5966               <combo key="location" text="Location" values="overground,underground,underwater" values_context="bunker" />
    59725967               <combo key="building" text="Building" values="bunker,yes" values_context="building" />
    59735968               <text key="name" text="Name" />
     
    61686163            <text key="name" text="Name" />
    61696164            <combo key="substation" text="Type of substation" values="compensation,converter,distribution,industrial,minor_distribution,traction,transition,transmission" values_context="power" />
    6170             <reference ref="power_extra" />
     6165            <reference ref="power_loc" />
     6166            <reference ref="voltage_frequency" />
     6167            <reference ref="ref_operator" />
    61716168            <optional>
    61726169                <combo key="rating" text="Power rating (kVA/MVA)" values="2700 kVA,12500 kVA,15 MVA,50 MVA,100 MVA" />
     
    63786375            <optional>
    63796376                <reference ref="cables_circuits" />
    6380                 <combo key="location" text="Location" values="underground,underwater,overground" values_context="power cable" />
     6377                <combo key="location" text="Location" values="overground,overhead,underground,underwater" values_context="power cable" />
    63816378                <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" values_sort="false" />
    63826379                <check key="communication" text="Used for data communications" value_on="line" disable_off="true" />
Note: See TracChangeset for help on using the changeset viewer.