Changeset 16747 in josm


Ignore:
Timestamp:
2020-07-11T17:26:14+02:00 (3 months ago)
Author:
Klumbumbus
Message:

fix #19445 - Add man_made=telescope (icons from https://wiki.openstreetmap.org/wiki/File:Telescope_dish-14.svg and https://wiki.openstreetmap.org/wiki/File:Telescope_dome-14.svg, PD and CC0 licensed)

Location:
trunk/resources
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16746 r16747  
    52005200            <preset_link preset_name="Tower" text="Similar but different tags:" />
    52015201            <preset_link preset_name="Big Communication Tower" text="Similar but different tags:" />
     5202            <preset_link preset_name="Telescope" text="Similar but different tags:" />
    52025203        </item> <!-- Mast -->
    52035204        <item name="Tower" icon="presets/tower/tower.svg" type="node,closedway,multipolygon" preset_name_label="true">
     
    52295230            <preset_link preset_name="Mast" text="Similar but different tags:" />
    52305231            <preset_link preset_name="Big Communication Tower" text="Similar but different tags:" />
     5232            <preset_link preset_name="Telescope" text="Similar but different tags:" />
    52315233            <reference ref="link_contact_address" />
    52325234        </item> <!-- Tower -->
     
    52495251            <preset_link preset_name="Mast" text="Similar but different tags:" />
    52505252            <preset_link preset_name="Tower" text="Similar but different tags:" />
     5253            <preset_link preset_name="Telescope" text="Similar but different tags:" />
    52515254            <reference ref="link_contact_address" />
    52525255        </item> <!-- Big Communication Tower -->
     5256        <item name="Telescope" icon="presets/tower/telescope.svg" type="node,closedway" preset_name_label="true">
     5257            <link wiki="Tag:man_made=telescope" />
     5258            <space />
     5259            <key key="man_made" value="telescope" />
     5260            <combo key="telescope:type" text="Type" values_context="telescope" values_searchable="true">
     5261                <list_entry value="optical" icon="presets/tower/telescope_dome.svg" />
     5262                <list_entry value="radio" icon="presets/tower/telescope_dish.svg" />
     5263                <list_entry value="gamma" icon="presets/tower/telescope_dish.svg" />
     5264            </combo>
     5265            <optional>
     5266                <combo key="tower:construction" text="Type of construction" values="dish,dome" values_searchable="true" />
     5267                <text key="telescope:diameter" text="Telescope Diameter (meters)" />
     5268                <reference ref="name_ref_operator" />
     5269                <text key="height" text="Height (meters)" length="7" />
     5270                <text key="ele" text="Elevation (meters)" length="10" />
     5271                <combo key="material" text="Material" values="adobe,brick,concrete,glass,masonry,metal,plastic,reinforced_concrete,steel,stone,wood" />
     5272                <reference ref="POI_access" />
     5273            </optional>
     5274            <preset_link preset_name="Mast" text="Similar but different tags:" />
     5275            <preset_link preset_name="Tower" text="Similar but different tags:" />
     5276            <preset_link preset_name="Big Communication Tower" text="Similar but different tags:" />
     5277        </item> <!-- Telescope -->
    52535278        <item name="Flagpole" icon="presets/misc/flag.svg" type="node" preset_name_label="true">
    52545279            <link wiki="Tag:man_made=flagpole" />
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16746 r16747  
    16081608
    16091609area[man_made=water_tower],
     1610area[man_made=telescope],
    16101611area[man_made=mast],
    16111612area[man_made=tower],
     
    16151616node[man_made=water_tower] {
    16161617    icon-image: "presets/tower/water_tower.svg";
     1618    set icon_z17;
     1619}
     1620node[man_made=telescope] {
     1621    icon-image: "presets/tower/telescope_dish.svg";
     1622    set icon_z17;
     1623}
     1624node[man_made=telescope][telescope:type=optical] {
     1625    icon-image: "presets/tower/telescope_dome.svg";
    16171626    set icon_z17;
    16181627}
Note: See TracChangeset for help on using the changeset viewer.