Changeset 17064 in josm for trunk/resources


Ignore:
Timestamp:
2020-09-28T14:15:36+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19672 - Add amenity=monastery, historic=monastery and building=monastery, icons derived from presets/sightseeing/city_gate, PD and CC0 licensed

Location:
trunk/resources
Files:
2 added
2 edited

Legend:

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

    r17059 r17064  
    40514051            <preset_link preset_name="Building" />
    40524052        </item> <!-- Other Place of Worship -->
     4053        <separator/>
     4054        <item name="Monastery" icon="presets/religion/monastery.svg" type="node,closedway,multipolygon" preset_name_label="true">
     4055            <link wiki="Tag:amenity=monastery" />
     4056            <space />
     4057            <key key="amenity" value="monastery" />
     4058            <text key="name" text="Name" />
     4059            <reference ref="religious" />
     4060            <combo key="community:gender" text="Community gender" values="female,male,mixed" />
     4061            <reference ref="oh_wheelchair" />
     4062            <reference ref="wikipedia_wikidata" />
     4063            <reference ref="link_contact_address" />
     4064            <preset_link preset_name="Historic monastery" text="Similar but different tags:" />
     4065        </item> <!-- Monastery -->
    40534066    </group> <!-- Place of Worship -->
    40544067    <group name="Public Building" icon="presets/service/townhall.svg">
     
    53095322            <link wiki="Key:building" />
    53105323            <space />
    5311             <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,farm_auxiliary,fire_station,garage,garages,gasometer,greenhouse,hangar,hospital,industrial,kindergarten,manufacture,mosque,office,parking,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,sty,supermarket,synagogue,temple,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
     5324            <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,farm_auxiliary,fire_station,garage,garages,gasometer,greenhouse,hangar,hospital,industrial,kindergarten,manufacture,monastery,mosque,office,parking,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,sty,supermarket,synagogue,temple,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
    53125325            <optional>
    53135326                <text key="name" text="Name" />
     
    63866399            <reference ref="religious"/>
    63876400        </item> <!-- Church -->
     6401        <item name="Historic monastery" icon="presets/sightseeing/monastery.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6402            <link wiki="Tag:historic=monastery" />
     6403            <space />
     6404            <key key="historic" value="monastery" />
     6405            <optional>
     6406            <text key="name" text="Name" />
     6407                <reference ref="religious" />
     6408                <reference ref="wikipedia_wikidata" />
     6409            </optional>
     6410            <preset_link preset_name="Monastery" text="Similar but different tags:" />
     6411        </item> <!-- Monastery -->
    63886412        <separator/>
    63896413        <item name="Charcoal pile" icon="presets/misc/charcoal_pile.svg" type="node,closedway,multipolygon" preset_name_label="true">
  • trunk/resources/styles/standard/elemstyles.mapcss

    r17059 r17064  
    29892989}
    29902990area[amenity=place_of_worship],
     2991area[amenity=monastery],
    29912992area[amenity=grave_yard],
    29922993area[amenity=crematorium],
     
    30673068node[amenity=place_of_worship][religion=zoroastrian][!is_prop_set(icon-image)] {
    30683069    icon-image: "presets/misc/no_icon.svg";
     3070    set icon_z17;
     3071}
     3072node[amenity=monastery] {
     3073    icon-image: "presets/religion/monastery.svg";
    30693074    set icon_z17;
    30703075}
     
    36333638area[historic=manor],
    36343639area[historic=church],
     3640area[historic=monastery],
    36353641area[historic=charcoal_pile],
    36363642area[historic=mine],
     
    36923698node[historic=church] {
    36933699    icon-image: "presets/religion/historic_church.svg";
     3700    set icon_z17;
     3701}
     3702node[historic=monastery] {
     3703    icon-image: "presets/sightseeing/monastery.svg";
    36943704    set icon_z17;
    36953705}
Note: See TracChangeset for help on using the changeset viewer.