Changes between Version 10 and Version 11 of Presets/MastAndTower


Ignore:
Timestamp:
2020-03-31T03:36:14+02:00 (6 years ago)
Author:
skyper
Comment:

small fixes; description update; notes

Legend:

Unmodified
Added
Removed
Modified
  • Presets/MastAndTower

    v10 v11  
    1 = Mast and Tower =
    2 [[Image(Tower_freestanding.svg,48,margin-right=20,margin-bottom=15,left)]]\\
     1= [[Image(Tower_freestanding.svg,48,margin-right=20,inline,middle)]] Mast and Tower
    32
    43**A complete tagging preset for all kind of masts and towers.**
    54\\ \\
    65
    7 Following tags are supported:
    8 * [osmwiki:Tag:man_made=mast man_made=mast], [osmwiki:Tag:man_made=tower man_made=tower], [osmwiki:Tag:man_made=communication_tower man_made=communication_tower] and [osmwiki:Tag:man_made=water_tower man_made=water_tower] as main tags.
    9  * [osmwiki:Key:tower:construction tower:construction=*], [osmwiki:Key:tower:type tower:type=*], [osmwiki:Key:technology technology=*], [osmwiki:Key:communication:radio communication:radio=*], [osmwiki:Key:communication:bos communication:bos=*], [osmwiki:Key:communication:gsm-r communication:gsm-r=*], [osmwiki:Key:communication:microwave communication:microwave=*], [osmwiki:Key:communication:mobile_phone communication:mobile_phone=*], [osmwiki:Key:communication:television communication:television=*] and [osmwiki:Tag:historic=tower historic=tower] as secondary tags.
    10  * [osmwiki:Key:name name=*], [osmwiki:Key:ref ref=*], [osmwiki:Key:operator operator=*], [osmwiki:Key:height height=*], [osmwiki:Key:ele ele=*], [osmwiki:Key:access access=*], [osmwiki:Key:material material=*] as additional tags.
    11 
    12 == Notes ==
     6== Supported Tags
     7=== Main tags
     8* [osmwiki:Tag:man_made=mast man_made=mast]
     9* [osmwiki:Tag:man_made=tower man_made=tower]
     10* [osmwiki:Tag:man_made=communication_tower man_made=communication_tower]
     11* [osmwiki:Tag:man_made=water_tower man_made=water_tower]
     12
     13=== Secondary tags
     14* [osmwiki:Key:tower:construction tower:construction=*]
     15* [osmwiki:Key:tower:type tower:type=*]
     16* [osmwiki:Key:technology technology=*]
     17* [osmwiki:Key:communication:radio communication:radio=*], [osmwiki:Key:communication:bos communication:bos=*] and [osmwiki:Key:communication:gsm-r communication:gsm-r=*], [osmwiki:Key:communication:microwave communication:microwave=*], [osmwiki:Key:communication:mobile_phone communication:mobile_phone=*], [osmwiki:Key:communication:television communication:television=*]
     18* [osmwiki:Tag:historic=tower historic=tower]
     19
     20=== Additional tags
     21[osmwiki:Key:name name=*], [osmwiki:Key:ref ref=*], [osmwiki:Key:operator operator=*], [osmwiki:Key:height height=*], [osmwiki:Key:ele ele=*], [osmwiki:Key:access access=*] and [osmwiki:Key:material material=*]
     22
     23== Notes
     24* I'd love to use `editable="false" on combos but #6157 prevents it.
     25* The multiselect need to be one row bigger than values to get rid of the scrollbar. No ticket, yet.
    1326* Please, feel free to enhance and update the preset.
    1427* Icons in [attachment:MastTower_icons.zip​ MastTower_icons.zip] are PD from [osmwiki: wiki.openstreetmap.org].
     
    1629* Still needs some nicer icons as vector graphic for minaret, monitoring and radar
    1730
    18 == Preset Code ==
     31== Preset Code
    1932
    2033{{{
     
    4053        <text key="height" text="Height (in meter)" length="7" />
    4154        <text key="ele" text="Elevation at the bottom" />
    42         <combo key="access" text="Access" values="yes,private,permissive,no" />
    43         <combo key="material" text="Material" values="adobe,brick,concrete,masonry,metal,plastic,reinforced_concrete,steel,stone,wood" />
     55        <combo key="access" text="Access" values="yes,private,permissive,no" values_sort="false" />
     56        <combo key="material" text="Material" values="adobe,brick,concrete,masonry,metal,plastic,reinforced_concrete,steel,stone,wood" values_searchable="false" />
    4457    </chunk>
    4558
     
    5568
    5669    <chunk id="tw_con_tw">
    57         <combo key="tower:construction" text="Construction" values_sort="false">
     70        <combo key="tower:construction" text="Construction" values_sort="false" values_searchable="true">
    5871            <list_entry value="dome" display_value="Dome" icon="Tower_dome.svg" />
    5972            <list_entry value="freestanding" display_value="freestanding" icon="Tower_freestanding.svg" />
     
    6376
    6477    <chunk id="tw_con_tw_com">
    65         <combo key="tower:construction" text="Construction" values_sort="false">
     78        <combo key="tower:construction" text="Construction" values_sort="false" values_searchable="true">
    6679            <list_entry value="dome" display_value="Dome" icon="Tower_dome.svg" />
    6780            <list_entry value="freestanding" display_value="freestanding" icon="Tower_cantilever_communication.svg" />
     
    7184
    7285    <chunk id="tw_con_mt">
    73         <combo key="tower:construction" text="Construction" values_sort="false">
     86        <combo key="tower:construction" text="Construction" values_sort="false" values_searchable="true">
    7487            <list_entry value="guyed_lattice" display_value="guyed lattice" icon="Mast_general.svg" />
    7588            <list_entry value="guyed_tube" display_value="guyed tube" icon="Mast_general.svg" />
     
    8699
    87100    <chunk id="tech">
    88         <multiselect key="technology" text="Technology" values="LTE; UMTS; GSM 900; GSM 1800" rows="5"/>
     101        <multiselect key="technology" text="Technology" values="LTE; UMTS; GSM 900; GSM 1800" values_searchable="false" values_sort="false" rows="5"/>
    89102        <label text="Transmitting:" />
    90103        <checkgroup columns="3">
     
    107120                <space />
    108121                <key key="man_made" value="mast" match="keyvalue!" />
    109                 <multiselect key="tower:type" text="Tower type" values_searchable="true" rows="7" match="keyvalue!">
     122                <multiselect key="tower:type" text="Tower type" values_searchable="true" values_sort="false" rows="7">
    110123                    <list_entry value="communication" display_value="Communication" icon="Mast_communications.svg" />
    111124                    <list_entry value="lighting" display_value="Lighting" icon="Mast_lighting.svg" />
     
    195208                <space />
    196209                <key key="man_made" value="tower" match="keyvalue!" />
    197                 <multiselect key="tower:type" text="Type of tower" values_searchable="true" rows="11" match="keyvalue!">
     210                <multiselect key="tower:type" text="Type of tower" values_searchable="true" values_sort="false" rows="11">
    198211                    <list_entry value="bell_tower" display_value="Bell tower" icon="Tower_bell_tower.svg" />
    199212                    <list_entry value="communication" display_value="Small communication tower" icon="Tower_cantilever_communication.svg" />
     
    225238                <key key="man_made" value="communications_tower" match="keyvalue!" />
    226239                <multiselect key="tower:type" values="communication;watchtower" text="Type of tower" default="communication"
    227                              editable="false" rows="2" />
     240                             rows="3" />
    228241                <optional>
    229242                    <reference ref="tw_con_tw_com" />