wiki:Presets/MastAndTower

Mast and Tower

icon for wiki (NOZIP)

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

Following tags are supported:

Notes

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"
         description="Adds a complete tagging presets for all kind of masts and towers. "
         author="skyper"
         version="0.1.10_2020-03-25"> 

    <!-- chunks -->
    <chunk id="name_ref">
        <space />
        <text key="name" text="Name" />
        <text key="ref" text="Ref" />
    </chunk>

    <chunk id="extra">
        <text key="operator" text="Operator" />
        <text key="height" text="Height (in meter)" length="7" />
        <text key="ele" text="Elevation at the bottom" />
        <combo key="access" text="Access" values="yes,private,permissive,no" />
        <combo key="material" text="Material" values="adobe,brick,concrete,masonry,metal,plastic,reinforced_concrete,steel,stone,wood" />
    </chunk>

    <chunk id="name_ref_extra">
        <reference ref="name_ref" />
        <reference ref="extra" />
    </chunk>

    <chunk id="detail_tw">
        <reference ref="name_ref_extra" />
        <check key="historic" value_on="tower" text="Historic tower" disable_off="true" />
    </chunk>

    <chunk id="tw_con_tw">
        <combo key="tower:construction" text="Construction" values_sort="false">
            <list_entry value="dome" display_value="Dome" icon="Tower_dome.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="Tower_freestanding.svg" />
            <list_entry value="lattice" display_value="lattice" icon="Tower_lattice.svg" />
        </combo>
    </chunk>

    <chunk id="tw_con_tw_com">
        <combo key="tower:construction" text="Construction" values_sort="false">
            <list_entry value="dome" display_value="Dome" icon="Tower_dome.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="Tower_cantilever_communication.svg" />
            <list_entry value="lattice" display_value="lattice" icon="Tower_lattice_communication.svg" />
        </combo>
    </chunk>

    <chunk id="tw_con_mt">
        <combo key="tower:construction" text="Construction" values_sort="false">
            <list_entry value="guyed_lattice" display_value="guyed lattice" icon="Mast_general.svg" />
            <list_entry value="guyed_tube" display_value="guyed tube" icon="Mast_general.svg" />
            <list_entry value="guyed" display_value="guyed" icon="Mast_general.svg" />
            <list_entry value="freestanding" display_value="freestanding" icon="Tower_freestanding.svg" />
            <list_entry value="lattice" display_value="lattice" icon="Tower_lattice.svg" />
        </combo>
    </chunk>

    <chunk id="name_ref_tech_extra">
        <reference ref="tech" />
        <reference ref="name_ref_extra"/>
    </chunk>

    <chunk id="tech">
        <multiselect key="technology" text="Technology" values="LTE; UMTS; GSM 900; GSM 1800" rows="5"/>
        <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>

    <!-- groups -->
    <group name="Mast or tower" icon="Tower_freestanding.svg">
        <group name="Mast" icon="Mast_general.svg">

            <item name="General preset Mast" icon="Mast_general.svg" type="node">
                <link wiki="Tag:man_made=mast" />
                <label text="Adding a general mast. Please use distinct presets if possible." />
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <multiselect key="tower:type" text="Tower type" values_searchable="true" rows="7" match="keyvalue!">
                    <list_entry value="communication" display_value="Communication" icon="Mast_communications.svg" />
                    <list_entry value="lighting" display_value="Lighting" icon="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="Tower_observation.svg" />
                    <list_entry value="radar" display_value="Radar" icon="Satellite_ground.svg" icon_size="16" />
                    <list_entry value="siren" display_value="Siren" icon="presets/emergency/siren.svg" />
                </multiselect>
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_extra" />
                </optional>
                <label text="Similar but different tags:" text_context="man_made=tower;communication_tower;water_tower;mast" />
                <preset_link preset_name="General preset Tower" />
            </item>

            <separator />

            <item name="Communication mast"  icon="Mast_communications.svg" type="node">
                <link wiki="Tag:tower:type=communication" />
                <label text="Adding a communication mast"/>
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <key key="tower:type" value="communication" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_tech_extra" />
                </optional>
            </item>

            <item name="Lighting mast" icon="Mast_lighting.svg" type="node">
                <link wiki="Tag:tower:type=lighting" />
                <label text="Adding a lighting mast" />
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <key key="tower:type" value="lighting" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_extra" />
                </optional>
            </item>

            <item name="Monitoring mast" icon="High-contrast-utilities-system-monitor.svg" type="node">
                <link wiki="Tag:tower:type=monitoring" />
                <label text="Adding a monitoring mast" />
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <key key="tower:type" value="monitoring" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_extra" />
                </optional>
                <preset_link preset_name="Monitoring Station" />
            </item>

            <item name="Radar mast" icon="Satellite_ground.svg" type="node">
                <link wiki="Tag:tower:type=radar" />
                <label text="Adding a radar mast" />
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <key key="tower:type" value="radar" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_extra" />
                </optional>
            </item>

            <item name="Siren mast" icon="presets/emergency/siren.svg" type="node">
                <link wiki="Tag:tower:type=siren" />
                <label text="Adding a siren mast" />
                <space />
                <key key="man_made" value="mast" match="keyvalue!" />
                <key key="tower:type" value="siren" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_mt" />
                    <reference ref="name_ref_extra" />
                </optional>
                <preset_link preset_name="Siren" />
            </item>
    
        </group>

        <group name="Tower" icon="Tower_freestanding.svg">
            <item name="General preset Tower" icon="Tower_freestanding.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:man_made=tower" />
                <label text="Adding a general tower. Please use distinct presets if possible." />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <multiselect key="tower:type" text="Type of tower" values_searchable="true" rows="11" match="keyvalue!">
                    <list_entry value="bell_tower" display_value="Bell tower" icon="Tower_bell_tower.svg" />
                    <list_entry value="communication" display_value="Small communication tower" icon="Tower_cantilever_communication.svg" />
                    <list_entry value="cooling" display_value="Cooling" icon="Tower_cooling.svg" />
                    <list_entry value="defensive" display_value="Defensive tower" icon="Tower_defensive.svg" />
                    <list_entry value="lighting" display_value="Lighting tower" icon="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="Tower_observation.svg" />
                    <list_entry value="radar" display_value="Radar tower" icon="Satellite_ground.svg" icon_size="16" />
                    <list_entry value="watchtower" display_value="Watch tower" icon="Tower_observation.svg" />
                </multiselect>
                <optional>
                    <reference ref="tw_con_tw" />
                    <reference ref="detail_tw" />
                </optional>
                <label text="Similar but different tags:" text_context="man_made=tower;communication_tower;water_tower;mast" />
                <preset_link preset_name="Big communication tower" />
                <preset_link preset_name="Water tower" />
                <preset_link preset_name="General preset Mast" />
            </item>

            <separator />

            <item name="Big communication tower" icon="Communication_tower-14.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:man_made=communications_tower" />
                <label text="Adding a big communication tower" />
                <space />
                <key key="man_made" value="communications_tower" match="keyvalue!" />
                <multiselect key="tower:type" values="communication;watchtower" text="Type of tower" default="communication" 
                             editable="false" rows="2" />
                <optional>
                    <reference ref="tw_con_tw_com" />
                    <reference ref="name_ref_tech_extra" />
                    <check key="fee" text="Fee" />
                </optional>
            </item>

            <item name="Small communication tower" icon="Tower_cantilever_communication.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=communication" />
                <label text="Adding a communication tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="communication" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_tw_com" />
                    <reference ref="name_ref_tech_extra" />
                </optional>
            </item>

            <item name="Radar tower" icon="Satellite_ground.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=radar" />
                <label text="Adding a radar tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="radar" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_tw" />
                    <reference ref="detail_tw" />
                </optional>
            </item>

            <item name="Lighting tower" icon="Tower_lighting.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=lighting" />
                <label text="Adding a lighting tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="lighting" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_tw" />
                    <reference ref="name_ref_extra" />
                </optional>
            </item>

            <item name="Cooling tower" icon="Tower_cooling.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=cooling" />
                <label text="Adding a cooling tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="cooling" match="keyvalue!" />
                <optional>
                    <reference ref="detail_tw" />
                </optional>
                <label text="Similar but different tags:" text_context="man_made=tower;chimney" />
                <preset_link preset_name="Chimney" />
            </item>

            <item name="Water tower" icon="presets/landmark/water_tower.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:man_made=water_tower" />
                <label text="Adding a water tower" />
                <space />
                <key key="man_made" value="water_tower" />
                <optional>
                    <reference ref="detail_tw" />
                    <text key="capacity" text="Capacity" lenght="7" />
                </optional>
            </item>

            <item name="Monitoring tower" icon="High-contrast-utilities-system-monitor.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=monitoring" />
                <label text="Adding a monitoring tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="monitoring" match="keyvalue!" />
                <optional>
                    <reference ref="tw_con_tw" />
                    <reference ref="name_ref_extra" />
                </optional>
                <preset_link preset_name="Monitoring Station" />
            </item>

            <item name="Observation tower" icon="Tower_observation.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=observation" />
                <label text="Adding a observation tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="observation" match="keyvalue!" />
                <optional>
                    <reference ref="detail_tw" />
                </optional>
            </item>

            <item name="Watch tower" icon="Tower_observation.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=watchtower" />
                <label text="Adding a watch tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="watchtower" match="keyvalue!" />
                <optional>
                    <reference ref="detail_tw" />
                </optional>
            </item>

            <item name="Defensive tower" icon="Tower_defensive.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=defensive" />
                <label text="Adding a defensive tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="defensive" match="keyvalue!" />
                <optional>
                    <reference ref="detail_tw" />
                </optional>
            </item>

            <item name="Bell tower" icon="Tower_bell_tower.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=bell_tower" />
                <label text="Adding a bell tower" />
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="bell_tower" match="keyvalue!" />
                <optional>
                    <combo key="bell_tower" values="bell_gable,campanile,klockstapel" text="Type of bell tower" />
                    <reference ref="detail_tw" />
                </optional>
            </item>

            <item name="Minaret" icon="Mosque.svg" type="node,closedway,multipolygon">
                <link wiki="Tag:tower:type=minaret" />
                <label text="Adding a minaret"/>
                <space />
                <key key="man_made" value="tower" match="keyvalue!" />
                <key key="tower:type" value="minaret" match="keyvalue!" />
                <optional>
                    <reference ref="detail_tw" />
                </optional>
            </item>

        </group>
    </group>
</presets>

Presets_MastAndTower-preset.xml, Presets_MastAndTower.zip

Last modified 4 days ago Last modified on 2020-03-25T03:41:10+01:00

Attachments (5)

Download all attachments as: .zip