wiki:Presets/MastAndTower

source:trunk/resources/images/presets/tower/tower.svg Mast and Tower

A complete tagging preset for all kind of masts and towers.

Supported Tags

Main tags

Secondary tags

Additional tags

name=*, ref=*, operator=*, height=*, ele=*, material=*, access=*, fee=* and opening_hours=*

Notes

  • Some new tower:type could be added

Help needed

  • Please, feel free to enhance and update the preset.
  • Due to #11392 translation is still only possible within the source code.
  • Still needs some nicer icons as vector graphic for minaret, monitoring and radar.

Preset Code

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
         icon="Tower_freestanding.svg"
         link="https://josm.openstreetmap.de/wiki/Presets/MastAndTower"
         shortdescription="Mast and tower"
         de.shortdescription="Mast und Turm"
         description="Adds a complete tagging preset for all kind of masts and towers. "
         de.description="Fügt eine vollständige Objektvorlage für alle Arten von Masten und Türmen hinzu. "
         author="skyper"
         version="0.3.38_2023-01-26"> 

    <!-- chunks -->
    <chunk id="extra">
        <text key="operator" text="Operator" />
        <text key="height" text="Height (in meters)" length="7" />
        <text key="ele" text="Elevation at the bottom (in meters)" />
        <combo key="material" text="Material" values="adobe,brick,concrete,glass,masonry,metal,plastic,reinforced_concrete,steel,stone,wood" values_searchable="true" />        
        <combo key="access" text="General access" values="yes,private,permissive,customers,no" values_sort="false" />
    </chunk>
    <chunk id="addr_contact">
        <preset_link preset_name="Address" />
        <preset_link preset_name="Contact (Schema with 'contact:*' Prefix)" />
    </chunk>
    <chunk id="name_ref_extra">
        <text key="name" text="Name" />
        <text key="ref" text="Reference" />
        <reference ref="extra" />
    </chunk>
    <chunk id="name_ref_extra_contact">
        <reference ref="name_ref_extra" />
        <reference ref="addr_contact" />
    </chunk>
    <chunk id="extra2_tw">
        <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" />
        <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" />
        <check key="historic" value_on="tower" text="Historic tower" disable_off="true" />
        <reference ref="addr_contact" />
    </chunk>
    <chunk id="detail_tw">
        <optional>
            <reference ref="name_ref_extra" />
            <reference ref="extra2_tw" />
        </optional>
    </chunk>
    <chunk id="tw_con_tw">
        <combo key="tower:construction" text="Type of construction" values_sort="false" values_searchable="true">
            <list_entry value="lattice" display_value="lattice" icon="tower_lattice.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="presets/tower/tower.svg" />
            <list_entry value="dome" display_value="Dome" icon="tower_dome.svg" />
            <list_entry value="dish" display_value="Dish" icon="tower_dish.svg" />
        </combo>
    </chunk>
    <chunk id="tw_con_tw_com">
        <combo key="tower:construction" text="Type of construction" values_sort="false" values_searchable="true">
            <list_entry value="lattice" display_value="lattice" icon="tower_lattice_communication.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="presets/tower/communication.svg" />
            <list_entry value="dome" display_value="Dome" icon="tower_dome.svg" />
            <list_entry value="dish" display_value="Dish" icon="tower_dish.svg" />
        </combo>
    </chunk>
    <chunk id="tw_con_mt">
        <combo key="tower:construction" text="Type of construction" values_sort="false" values_searchable="true">
            <list_entry value="guyed_lattice" display_value="guyed lattice" icon="presets/tower/mast.svg" />
            <list_entry value="guyed_tube" display_value="guyed tube" icon="presets/tower/mast.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="presets/tower/tower.svg" />
            <list_entry value="lattice" display_value="lattice" icon="tower_lattice.svg" />
        </combo>
    </chunk>
    <chunk id="tech">
        <multiselect key="technology" text="Technology" values="LTE;UMTS;GSM 900;GSM 1800" values_sort="false" rows="4" />
        <label text="Transmitting: " />
        <checkgroup columns="3">
            <check key="communication:mobile_phone" text="Mobile phone" />
            <check key="communication:television" text="Television" />
            <check key="communication:radio" text="Radio" />
            <check key="communication:microwave" text="Microwave" />
            <check key="communication:bos" text="BOS radio" />
            <check key="communication:gsm-r" text="GSM-R radio" />
        </checkgroup>
    </chunk>
    <chunk id="frequency">
        <text key="frequency" text="Frequency" />
    </chunk>
    <chunk id="name_ref_tech_extra">
        <reference ref="tech" />
        <reference ref="frequency" />
        <reference ref="name_ref_extra"/>
    </chunk>
    <chunk id="link_mast">
        <preset_link preset_name="General preset Mast" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
    </chunk>
    <chunk id="link_tower">
        <preset_link preset_name="General preset Tower" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
    </chunk>
    <chunk id="link_com_mast">
        <preset_link preset_name="Communication mast" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
    </chunk>
    <chunk id="link_antenna">
        <preset_link preset_name="Antenna " text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
    </chunk>
    <chunk id="link_telescope">
        <preset_link preset_name="Telescope" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
    </chunk>

    <!-- groups -->
    <group name="Mast and Tower" icon="presets/tower/tower.svg">
        <item name="Antenna " icon="presets/tower/antenna.svg" type="node" preset_name_label="true">
            <link wiki="Tag:man_made=antenna" />
            <key key="man_made" value="antenna" />
            <space />
                <reference ref="link_com_mast" />
                <reference ref="link_telescope" />
            <optional>
                <reference ref="name_ref_tech_extra" />
                <reference ref="addr_contact" />
            </optional>
        </item>
        <group name="Mast" icon="presets/tower/mast.svg">
            <item name="General preset Mast" icon="presets/tower/mast.svg" type="node" preset_name_label="true" match_expression="man_made=mast -(&quot;tower:type&quot;=communication|&quot;tower:type&quot;=lighting|&quot;tower:type&quot;=monitoring|&quot;tower:type&quot;=observation|&quot;tower:type&quot;=radar|&quot;tower:type&quot;=siren)">
                <link wiki="Tag:man_made=mast" />
                <space />
                <label text="Adding a general mast. Please use distinct presets if possible: " />
                <reference ref="link_tower" />
                <reference ref="link_antenna" />
                <reference ref="link_telescope" />
                <space />
                <key key="man_made" value="mast" />
                <multiselect key="tower:type" text="Tower type" values_searchable="true" values_sort="false" rows="6">
                    <list_entry value="communication" display_value="Communication" icon="presets/tower/mast_communication.svg" />
                    <list_entry value="lighting" display_value="Lighting" icon="presets/tower/mast_lighting.svg" />
                    <list_entry value="monitoring" display_value="Monitoring" icon="High-contrast-utilities-system-monitor.svg" icon_size="16" />
                    <list_entry value="observation" display_value="Observation" icon="presets/tower/observation.svg" />
                    <list_entry value="radar" display_value="Radar" icon="tower_dish.svg" icon_size="16" />
                    <list_entry value="siren" display_value="Siren" icon="presets/emergency/siren.svg" />
                </multiselect>
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra_contact" />
                </optional>
            </item>
            <separator />
            <item name="Communication mast" icon="presets/tower/mast_communication.svg" type="node" preset_name_label="true">
                <link wiki="Tag:tower:type=communication" />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="communication" />
                <space />
                <preset_link preset_name="Communication tower" text="For bigger constructions, use: " />
                <reference ref="link_antenna" />
                <reference ref="link_telescope" />
                <space />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_tech_extra" />
                    <reference ref="addr_contact" />
                </optional>
            </item>
            <item name="Lighting mast" icon="presets/tower/mast_lighting.svg" type="node" preset_name_label="true">
                <link wiki="Tag:tower:type=lighting" />
                <space />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="lighting" />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra_contact" />
                </optional>
            </item>
            <item name="Monitoring mast" icon="High-contrast-utilities-system-monitor.svg" type="node" preset_name_label="true">
                <link wiki="Tag:tower:type=monitoring" />
                <space />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="monitoring" />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra" />
                </optional>
                <preset_link preset_name="Monitoring Station" />
                <reference ref="addr_contact" />
            </item>
            <item name="Observation mast" icon="presets/tower/observation.svg" type="node" preset_name_label="true"> <!-- FIXME: own icon -->
                <link wiki="Tag:tower:type=observation" />
                <space />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="observation" />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra_contact" />
                </optional>
            </item>
            <item name="Radar mast" icon="tower_dish.svg" type="node" preset_name_label="true">
                <link wiki="Tag:tower:type=radar" />
                <space />
                <reference ref="link_com_mast" />
                <reference ref="link_antenna" />
                <reference ref="link_telescope" />
                <space />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="radar" />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra_contact" />
                </optional>
            </item>
            <item name="Siren mast" icon="presets/emergency/siren.svg" type="node" preset_name_label="true">
                <link wiki="Tag:tower:type=siren" />
                <space />
                <key key="man_made" value="mast" />
                <key key="tower:type" value="siren" />
                <reference ref="tw_con_mt" />
                <optional>
                    <reference ref="name_ref_extra" />
                </optional>
                <preset_link preset_name="Siren" />
                <reference ref="addr_contact" />
            </item>
        </group> <!-- Mast -->
        <group name="Tower" icon="presets/tower/tower.svg">
            <item name="General preset Tower" icon="presets/tower/tower.svg" type="node,closedway,multipolygon" preset_name_label="true" match_expression="man_made=tower -(&quot;tower:type&quot;=bell_tower|&quot;tower:type&quot;=communication|&quot;tower:type&quot;=cooling|&quot;tower:type&quot;=defensive|&quot;tower:type&quot;=lighting|&quot;tower:type&quot;=minaret|&quot;tower:type&quot;=monitoring|&quot;tower:type&quot;=observation|&quot;tower:type&quot;=radar|&quot;tower:type&quot;=watchtower)">
                <link wiki="Tag:man_made=tower" />
                <space />
                <label text="Adding a general tower. Please use distinct presets if possible: " />
                <preset_link preset_name="Huge telecommunications tower" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
                <preset_link preset_name="Water tower" text="Similar but different tags:" text_context="man_made=mast/tower/communications_tower" />
                <reference ref="link_mast" />
                <reference ref="link_antenna" />
                <reference ref="link_telescope" />
                <space />
                <key key="man_made" value="tower" />
                <multiselect key="tower:type" text="Type of tower" values_searchable="true" values_sort="false" rows="10">
                    <list_entry value="bell_tower" display_value="Bell tower" icon="presets/tower/bell_tower.svg" />
                    <list_entry value="communication" display_value="Communication tower" icon="presets/tower/communication.svg" />
                    <list_entry value="cooling" display_value="Cooling" icon="presets/tower/cooling.svg" />
                    <list_entry value="defensive" display_value="Defensive tower" icon="presets/tower/defensive.svg" />
                    <list_entry value="lighting" display_value="Lighting tower" icon="presets/tower/lighting.svg" />
                    <list_entry value="minaret" display_value="Minaret" icon="Mosque.svg" icon_size="16" />
                    <list_entry value="monitoring" display_value="Monitoring tower" icon="High-contrast-utilities-system-monitor.svg" icon_size="16" />
                    <list_entry value="observation" display_value="Observation tower" icon="presets/tower/observation.svg" />
                    <list_entry value="radar" display_value="Radar tower" icon="tower_dish.svg" icon_size="16" />
                    <list_entry value="watchtower" display_value="Watch tower" icon="presets/tower/observation.svg" />
                </multiselect>
                <reference ref="tw_con_tw" />
                <reference ref="detail_tw" />
            </item>
            <separator />
            <item name="Huge telecommunications tower" icon="presets/tower/communications_tower.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:man_made=communications_tower" />
                <space />
                <label text="Adding a quite rare huge telecommunications tower, usually 100 meters or higher: " />
                <preset_link preset_name="Communication tower" text="For smaller constructions, use: " />
                <space />
                <key key="man_made" value="communications_tower" />
                <multiselect key="tower:type" text="Type of tower" default="communication" values_searchable="true" values_sort="false" rows="2">
                    <list_entry value="communication" display_value="Communication tower" icon="presets/tower/communication.svg" />
                    <list_entry value="observation" display_value="Observation tower" icon="presets/tower/observation.svg" />
                </multiselect>
                <reference ref="tw_con_tw_com" />
                <optional>
                    <reference ref="name_ref_tech_extra" />
                    <reference ref="extra2_tw" />
                </optional>
            </item>
            <item name="Communication tower" icon="presets/tower/communication.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=communication" />
                <space />
                <preset_link preset_name="Huge telecommunications tower" text="For huge telecommunications towers, see: " />
                <preset_link preset_name="Communication mast" text="For smaller constructions, use: " />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="communication" />
                <reference ref="tw_con_tw_com" />
                <optional>
                    <reference ref="name_ref_tech_extra" />
                    <reference ref="extra2_tw" />
                </optional>
            </item>
            <item name="Radar tower" icon="tower_dish.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=radar" />
                <space />
                <reference ref="link_telescope" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="radar" />
                <reference ref="tw_con_tw" />
                <reference ref="detail_tw" />
            </item>
            <item name="Lighting tower" icon="presets/tower/lighting.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=lighting" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="lighting" />
                <reference ref="tw_con_tw" />
                <reference ref="detail_tw" />
            </item>
            <item name="Cooling tower" icon="presets/tower/cooling.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=cooling" />
                <space />
                <preset_link preset_name="Chimney" text="Similar but different tag:" text_context="man_made=chimney;man_made=tower,tower:type=cooling" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="cooling" />
                <reference ref="tw_con_tw" />
                <reference ref="detail_tw" />
            </item>
            <item name="Water tower" icon="presets/tower/water_tower.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:man_made=water_tower" />
                <space />
                <key key="man_made" value="water_tower" />
                <optional>
                    <text key="capacity" text="Capacity in cubic meter (m³)" lenght="7" />
                    <reference ref="name_ref_extra" />
                    <reference ref="extra2_tw" />
                </optional>
            </item>
            <item name="Monitoring tower" icon="High-contrast-utilities-system-monitor.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=monitoring" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="monitoring" />
                <reference ref="tw_con_tw" />
                <preset_link preset_name="Monitoring Station" />
                <reference ref="detail_tw" />
            </item>
            <item name="Observation tower" icon="presets/tower/observation.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=observation" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="observation" />
                <reference ref="tw_con_tw" />
                <reference ref="detail_tw" />
            </item>
            <item name="Watch tower" icon="presets/tower/observation.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=watchtower" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="watchtower" />
                <reference ref="detail_tw" />
            </item>
            <item name="Defensive tower" icon="presets/tower/defensive.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=defensive" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="defensive" />
                <reference ref="detail_tw" />
            </item>
            <item name="Bell tower" icon="presets/tower/bell_tower.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=bell_tower" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="bell_tower" />
                <optional>
                    <combo key="bell_tower" text="Type of bell tower" values="bell_gable,campanile,klockstapel" values_searchable="true" />
                    <reference ref="name_ref_extra" />
                    <reference ref="extra2_tw" />
                </optional>
            </item>
            <item name="Minaret" icon="Mosque.svg" type="node,closedway,multipolygon" preset_name_label="true">
                <link wiki="Tag:tower:type=minaret" />
                <space />
                <key key="man_made" value="tower" />
                <key key="tower:type" value="minaret" />
                <reference ref="detail_tw" />
            </item>
        </group> <!-- Tower -->
    </group> <!-- Mast and Tower -->
</presets>

Presets_MastAndTower-preset.xml, Presets_MastAndTower.zip

* Icons in MastTower_icons.zip are from openstreetmap-carto. Other icons from commons.wikimedia.org with different licenses.

Last modified 23 months ago Last modified on 2023-01-26T18:44:39+01:00

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.