Ticket #19796: extend_aeroway_presets(WIPv1).patch

File extend_aeroway_presets(WIPv1).patch, 7.6 KB (added by gaben, 7 months ago)
  • resources/data/defaultpresets.xml

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    557557            <check key="communication:gsm-r" text="GSM-R" />
    558558        </checkgroup>
    559559    </chunk>
     560    <chunk id="optional_resource">
     561        <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     562    </chunk>
    560563    <!-- Link chunks -->
    561564    <chunk id="link_contact_address">
    562565        <preset_link preset_name="Contact (Common Schema)" />
     
    30603063            <key key="aeroway" value="runway" />
    30613064            <optional>
    30623065                <text key="ref" text="Reference" />
     3066                <text key="length" text="Length (meters)" />
     3067                <combo key="width" text="Width (meters)" values="18,23,30,45,60" />
     3068                <text key="ele" text="Elevation (meters)" length="10" />
    30633069                <reference ref="surface" />
    30643070            </optional>
    30653071        </item> <!-- Runway -->
     
    30683074            <key key="aeroway" value="taxiway" />
    30693075            <optional>
    30703076                <text key="ref" text="Reference" />
     3077                <text key="width" text="Width (meters)" />
     3078                <reference ref="surface"/>
    30713079            </optional>
    30723080        </item> <!-- Taxiway -->
    30733081        <item name="Holding Position" icon="presets/transport/airport/holding_position.svg" type="node" preset_name_label="true">
     
    30813089            <link wiki="Tag:aeroway=helipad" />
    30823090            <key key="aeroway" value="helipad" />
    30833091            <optional>
    3084                 <text key="ref" text="Reference" />
     3092                <reference ref="name_ref" />
    30853093                <text key="iata" text="IATA" />
    30863094                <text key="icao" text="ICAO" />
     3095                <text key="ele" text="Elevation (meters)" length="10" />
     3096                <reference ref="surface"/>
    30873097                <reference ref="wikipedia_wikidata" />
    30883098            </optional>
    30893099        </item> <!-- Helipad -->
    30903100        <item name="Apron" icon="presets/transport/airport/apron.svg" type="closedway,multipolygon" preset_name_label="true">
    30913101            <link wiki="Tag:aeroway=apron" />
    30923102            <key key="aeroway" value="apron" />
     3103            <optional>
     3104                <reference ref="name_ref" />
     3105                <reference ref="surface"/>
     3106            </optional>
    30933107        </item> <!-- Apron -->
    30943108        <item name="Plane Parking Position" icon="presets/transport/airport/parking_position.svg" type="node,way" preset_name_label="true">
    30953109            <link wiki="Tag:aeroway=parking_position" />
     
    43774391            <space />
    43784392            <combo key="siren:type" text="Type" values="pneumatic,electronic,mechanical" />
    43794393            <multiselect key="siren:purpose" text="Purpose" values="tornado;fire;air_raid;civil_defense" rows="5" values_searchable="true" />
    4380             <text key="siren:range" text="Range (in meters)" />
     4394            <text key="siren:range" text="Range (meters)" />
    43814395        </item> <!-- Siren -->
    43824396    </group> <!-- Emergency -->
    43834397    <group name="Social Facility" icon="presets/social_facility/outreach.svg">
     
    44044418            <key key="amenity" value="social_facility" />
    44054419            <key key="social_facility" value="group_home" />
    44064420            <reference ref="name_operator" />
    4407             <combo key="social_facility:for" text="For" value="senior" default="senior" />
     4421            <combo key="social_facility:for" text="For" values="senior" default="senior" />
    44084422            <text key="capacity" text="Capacity" />
    44094423            <reference ref="link_contact_address" />
    44104424        </item> <!-- Group Home -->
     
    44144428            <key key="amenity" value="social_facility" />
    44154429            <key key="social_facility" value="assisted_living" />
    44164430            <reference ref="name_operator" />
    4417             <combo key="social_facility:for" text="For" value="senior" default="senior" />
     4431            <combo key="social_facility:for" text="For" values="senior" default="senior" />
    44184432            <text key="capacity" text="Capacity" />
    44194433            <reference ref="link_contact_address" />
    44204434        </item> <!-- Assisted Living -->
     
    54445458            <key key="man_made" value="goods_conveyor" />
    54455459            <optional>
    54465460                <reference ref="name_operator" />
    5447                 <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     5461                <reference ref="optional_resource"/>
    54485462                <checkgroup columns="3">
    54495463                    <check key="covered" text="Covered" />
    54505464                    <check key="bridge" text="Bridge" disable_off="true" />
     
    54585472            <key key="man_made" value="mineshaft" />
    54595473            <text key="name" text="Name" />
    54605474            <combo key="mineshaft_type" text="Function" values="winding,air" />
    5461             <text key="depth" text="Depth in meters" />
     5475            <text key="depth" text="Depth (meters)" />
    54625476            <text key="operator" text="Operator" />
    5463             <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     5477            <reference ref="optional_resource"/>
    54645478            <check key="headframe" text="Visible Headframe" />
    54655479            <check key="disused" text="Disused" />
    54665480        </item> <!-- Mineshaft -->
     
    54695483            <space />
    54705484            <key key="man_made" value="adit" />
    54715485            <text key="name" text="Name" />
    5472             <text key="length" text="Length in meters" />
     5486            <text key="length" text="Length (meters)" />
    54735487            <text key="operator" text="Operator" />
    5474             <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     5488            <reference ref="optional_resource"/>
    54755489            <check key="disused" text="Disused" />
    54765490        </item> <!-- Adit -->
    54775491        <item name="Embankment" icon="presets/misc/embankment.svg" type="way" preset_name_label="true">
     
    63826396            <key key="historic" value="mine" />
    63836397            <optional>
    63846398                <text key="name" text="Name" />
    6385                 <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     6399                <reference ref="optional_resource"/>
    63866400            </optional>
    63876401        </item> <!-- Mine -->
    63886402        <item name="Mine shaft" icon="presets/landmark/historic_mine.svg" type="node,closedway,multipolygon" preset_name_label="true">
     
    82908304            <space />
    82918305            <key key="landuse" value="quarry" />
    82928306            <reference ref="name_operator" />
    8293             <combo key="resource" text="Resource" values="aggregate,bauxite,clay,coal,copper,dimension_stone,gold,ilmenite,iron_ore,lead,limestone,nickel,rutile,salt,silver,tin,zinc,zircon" />
     8307            <reference ref="optional_resource"/>
    82948308        </item> <!-- Quarry -->
    82958309    </group> <!-- Landuse -->
    82968310  </group> <!-- Geography -->