Changes between Version 17 and Version 18 of Presets/MastAndTower


Ignore:
Timestamp:
2020-04-03T01:48:57+02:00 (6 years ago)
Author:
skyper
Comment:

add opening_hours + values for fee; more labels and links; tower:construction not optional

Legend:

Unmodified
Added
Removed
Modified
  • Presets/MastAndTower

    v17 v18  
    1919
    2020=== 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=*]
     21[osmwiki:Key:name name=*], [osmwiki:Key:ref ref=*], [osmwiki:Key:operator operator=*], [osmwiki:Key:height height=*], [osmwiki:Key:ele ele=*], [osmwiki:Key:material material=*], [osmwiki:Key:access access=*], [osmwiki:Key:fee fee=*] and [osmwiki:Key:opening_hours opening_hours=*]
    2222
    2323== Notes / ToDos
    24 * I'd love to use `editable="false" on combos but #6157 prevents it.
     24* I'd love to use `editable="false"` on combos but #6157 prevents it.
    2525* The two general presets should be excluded from preset links from [wikitr:/Help/Dialog/TagsMembership Tags/Memberships panel] but this is not implemented, see #19012.
    2626* The multiselect need to be one row bigger than values to get rid of the scrollbar, see #19013.
     
    5454        <text key="height" text="Height (in meters)" length="7" />
    5555        <text key="ele" text="Elevation at the bottom (in meters)" />
    56         <combo key="access" text="Access" values="yes,private,permissive,no" values_sort="false" />
    5756        <combo key="material" text="Material" values="adobe,brick,concrete,glass,masonry,metal,plastic,reinforced_concrete,steel,stone,wood"
    58                 values_searchable="false" />
    59         <check key="fee" text="Fee" />
    60         <check key="viewpoint" text="Viewpoint" />
     57                values_searchable="true" />     
     58        <combo key="access" text="Access" values="yes,private,permissive,customers,no" values_sort="false" />
    6159    </chunk>
    6260
     
    7876
    7977    <chunk id="extra2_tw">
     78        <combo key="fee" text="Fee" delimiter="|" values="yes|no|06:00-20:00|Mo-Fr 09:00-18:00,Sa 08:00-14:00|May-Sep 09:30-12:30,14:15-19:30" values_sort="false" />
     79        <combo key="opening_hours" text="Opening Hours" delimiter="|" values="24/7|08:30-12:30,15:30-20:00|Sa-Su 00:00-24:00|Mo-Su 09:00-21:00|Mo-Sa 08:00-18:00|Mo-Fr 09:00-17:00|Mo-Fr 08:30-20:00; Sa,Su 08:00-15:00; PH off|Mo-Fr 08:30-20:00; Tu-Su 08:00-15:00; Sa 08:00-12:00|Mo-Su 08:00-18:00; Apr 10-15 off; Jun 08:00-14:00; Aug off; Dec 25 off|sunrise-sunset|Su 10:00+|week 01-53/2 Fr 09:00-12:00; week 02-52/2 We 09:00-12:00" values_no_i18n="true" values_sort="false" />
    8080        <check key="historic" value_on="tower" text="Historic tower" disable_off="true" />
    8181        <reference ref="addr_contact" />
     
    8383
    8484    <chunk id="detail_tw">
    85         <reference ref="name_ref_extra" />
    86         <reference ref="extra2_tw" />
     85        <optional>
     86            <reference ref="name_ref_extra" />
     87            <reference ref="extra2_tw" />
     88        </optional>
    8789    </chunk>
    8890
     
    151153                    <list_entry value="siren" display_value="Siren" icon="presets/emergency/siren.svg" />
    152154                </multiselect>
    153                 <optional>
    154                     <reference ref="tw_con_mt" />
     155                <preset_link preset_name="General preset Tower" />
     156                <reference ref="tw_con_mt" />
     157                <optional>
    155158                    <reference ref="name_ref_extra_contact" />
    156159                </optional>
    157                 <label text="Similar but different tags:" text_context="man_made=tower;communication_tower;water_tower;mast" />
    158                 <preset_link preset_name="General preset Tower" />
    159160            </item>
    160161
     
    167168                <key key="man_made" value="mast" />
    168169                <key key="tower:type" value="communication" />
    169                 <optional>
    170                     <reference ref="tw_con_mt" />
     170                <reference ref="tw_con_mt" />
     171                <optional>
    171172                    <reference ref="name_ref_tech_extra" />
    172173                    <reference ref="addr_contact" />
     
    180181                <key key="man_made" value="mast" />
    181182                <key key="tower:type" value="lighting" />
    182                 <optional>
    183                     <reference ref="tw_con_mt" />
     183                <reference ref="tw_con_mt" />
     184                <optional>
    184185                    <reference ref="name_ref_extra_contact" />
    185186                </optional>
     
    192193                <key key="man_made" value="mast" />
    193194                <key key="tower:type" value="monitoring" />
    194                 <optional>
    195                     <reference ref="tw_con_mt" />
     195                <reference ref="tw_con_mt" />
     196                <optional>
    196197                    <reference ref="name_ref_extra_contact" />
    197198                </optional>
     
    205206                <key key="man_made" value="mast" />
    206207                <key key="tower:type" value="radar" />
    207                 <optional>
    208                     <reference ref="tw_con_mt" />
     208                <reference ref="tw_con_mt" />
     209                <optional>
    209210                    <reference ref="name_ref_extra_contact" />
    210211                </optional>
     
    217218                <key key="man_made" value="mast" />
    218219                <key key="tower:type" value="siren" />
    219                 <optional>
    220                     <reference ref="tw_con_mt" />
     220                <reference ref="tw_con_mt" />
     221                <optional>
    221222                    <reference ref="name_ref_extra_contact" />
    222223                </optional>
     
    245246                    <list_entry value="watchtower" display_value="Watch tower" icon="Tower_observation.svg" />
    246247                </multiselect>
    247                 <optional>
    248                     <reference ref="tw_con_tw" />
    249                     <reference ref="detail_tw" />
    250                 </optional>
    251                 <label text="Similar but different tags:" text_context="man_made=tower;communication_tower;water_tower;mast" />
    252248                <preset_link preset_name="Big communication tower" />
    253249                <preset_link preset_name="Water tower" />
    254250                <preset_link preset_name="General preset Mast" />
     251                <reference ref="tw_con_tw" />
     252                <reference ref="detail_tw" />
     253
    255254            </item>
    256255
     
    259258            <item name="Big communication tower" icon="Communication_tower-14.svg" type="node,closedway,multipolygon">
    260259                <link wiki="Tag:man_made=communications_tower" />
    261                 <label text="Adding a big communication tower" />
    262                 <space />
     260                <label text="Adding a big communication tower, usually 100 meters or higher." />
     261                <space />
     262                <label text=" Use Communication tower preset for smaller ones !" />
     263                <preset_link preset_name="Communication tower" />
     264                <space />
    263265                <key key="man_made" value="communications_tower" />
    264266                <multiselect key="tower:type" text="Type of tower" values_sort="false" default="communication" rows="3">
     
    266268                    <list_entry value="watchtower" display_value="Watch tower" icon="Tower_observation.svg" />
    267269                </multiselect>
    268                 <optional>
    269                     <reference ref="tw_con_tw_com" />
    270                     <reference ref="name_ref_tech_extra" />
     270                <reference ref="tw_con_tw_com" />
     271                <optional>
    271272                    <reference ref="extra2_tw" />
    272273                </optional>
     
    277278                <label text="Adding a communication tower" />
    278279                <space />
     280                <label text=" See Big communication tower preset for big communication towers !" />
     281                <preset_link preset_name="Big communication tower" />
     282                <label text=" Consider using Communication mast preset for smaller constructions !" />
     283                <preset_link preset_name="Communication mast" />
    279284                <key key="man_made" value="tower" />
    280285                <key key="tower:type" value="communication" />
    281                 <optional>
    282                     <reference ref="tw_con_tw_com" />
     286                <reference ref="tw_con_tw_com" />
     287                <optional>
    283288                    <reference ref="name_ref_tech_extra" />
    284289                    <reference ref="extra2_tw" />
     
    292297                <key key="man_made" value="tower" />
    293298                <key key="tower:type" value="radar" />
    294                 <optional>
    295                     <reference ref="tw_con_tw" />
    296                     <reference ref="detail_tw" />
    297                 </optional>
     299                <reference ref="tw_con_tw" />
     300                <reference ref="detail_tw" />
    298301            </item>
    299302
     
    304307                <key key="man_made" value="tower" />
    305308                <key key="tower:type" value="lighting" />
    306                 <optional>
    307                     <reference ref="tw_con_tw" />
    308                     <reference ref="detail_tw" />
    309                 </optional>
     309                <reference ref="tw_con_tw" />
     310                <reference ref="detail_tw" />
    310311            </item>
    311312
     
    316317                <key key="man_made" value="tower" />
    317318                <key key="tower:type" value="cooling" />
    318                 <optional>
    319                     <reference ref="detail_tw" />
    320                 </optional>
    321                 <label text="Similar but different tags:" text_context="man_made=tower;chimney" />
     319                <reference ref="tw_con_tw" />
    322320                <preset_link preset_name="Chimney" />
     321                <reference ref="detail_tw" />
    323322            </item>
    324323
     
    329328                <key key="man_made" value="water_tower" />
    330329                <optional>
    331                     <reference ref="detail_tw" />
    332330                    <text key="capacity" text="Capacity" lenght="7" />
     331                    <reference ref="name_ref_extra" />
     332                    <reference ref="extra2_tw" />
    333333                </optional>
    334334            </item>
     
    340340                <key key="man_made" value="tower" />
    341341                <key key="tower:type" value="monitoring" />
    342                 <optional>
    343                     <reference ref="tw_con_tw" />
    344                     <reference ref="detail_tw" />
    345                 </optional>
     342                <reference ref="tw_con_tw" />
    346343                <preset_link preset_name="Monitoring Station" />
     344                <reference ref="detail_tw" />
    347345            </item>
    348346
     
    353351                <key key="man_made" value="tower" />
    354352                <key key="tower:type" value="observation" />
    355                 <optional>
    356                     <reference ref="detail_tw" />
    357                 </optional>
     353                <reference ref="tw_con_tw" />
     354                <reference ref="detail_tw" />
    358355            </item>
    359356
     
    364361                <key key="man_made" value="tower" />
    365362                <key key="tower:type" value="watchtower" />
    366                 <optional>
    367                     <reference ref="detail_tw" />
    368                 </optional>
     363                <reference ref="detail_tw" />
    369364            </item>
    370365
     
    375370                <key key="man_made" value="tower" />
    376371                <key key="tower:type" value="defensive" />
    377                 <optional>
    378                     <reference ref="detail_tw" />
    379                 </optional>
     372                <reference ref="detail_tw" />
    380373            </item>
    381374
     
    388381                <optional>
    389382                    <combo key="bell_tower" values="bell_gable,campanile,klockstapel" text="Type of bell tower" />
    390                     <reference ref="detail_tw" />
     383                    <reference ref="name_ref_extra" />
     384                    <reference ref="extra2_tw" />
    391385                </optional>
    392386            </item>
     
    398392                <key key="man_made" value="tower" />
    399393                <key key="tower:type" value="minaret" />
    400                 <optional>
    401                     <reference ref="detail_tw" />
    402                 </optional>
     394                <reference ref="detail_tw" />
    403395            </item>
    404396