Changeset 15260 in josm


Ignore:
Timestamp:
2019-07-20T23:09:36+02:00 (5 weeks ago)
Author:
Klumbumbus
Message:

fix #17947 - add manhole preset and warn about manhole=* without man_made=manhole (icon self created, CC0 and PD licensed)

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15257 r15260  
    48304830            <reference ref="ref_operator" />
    48314831        </item> <!-- Pipeline Valve -->
     4832        <item name="Manhole" icon="presets/misc/manhole.svg" type="node" preset_name_label="true">
     4833            <link wiki="Key:manhole" />
     4834            <space />
     4835            <key key="man_made" value="manhole" />
     4836            <combo key="manhole" text="Type" values="drain,gas,heat,power,rainwater,sewer,telecom,water" values_context="manhole" values_searchable="true" />
     4837            <reference ref="ref_operator" />
     4838        </item> <!-- Manhole -->
    48324839        <separator/>
    48334840        <item name="Water Tower" icon="presets/landmark/water_tower.svg" type="node,closedway" preset_name_label="true">
  • trunk/data/validator/combinations.mapcss

    r15256 r15260  
    4343*[piste:difficulty             ][!piste:type],
    4444*[place                        ][!name][place!=islet],
     45*[transformer                  ][!power],
    4546*[source:date                  ][!source],
    4647*[source:name                  ][!name],
     
    9091/* {0.key} without {1.tag} */
    9192node[fire_hydrant:type         ][emergency!=fire_hydrant][disused:emergency!=fire_hydrant],
    92 *[transformer                  ][!power],
     93node[manhole                   ][man_made!=manhole],
    9394way[fence_type                 ][barrier!=fence],
    9495*[recycling_type               ][amenity!=recycling],
  • trunk/styles/standard/elemstyles.mapcss

    r15257 r15260  
    14931493node[pipeline=valve] {
    14941494    icon-image: "presets/misc/valve.svg";
     1495    set icon_z17;
     1496}
     1497node[man_made=manhole] {
     1498    icon-image: "presets/misc/manhole.svg";
    14951499    set icon_z17;
    14961500}
Note: See TracChangeset for help on using the changeset viewer.