Changeset 16479 in josm


Ignore:
Timestamp:
2020-05-23T15:49:47+02:00 (2 weeks ago)
Author:
Klumbumbus
Message:

fix #19081 - Add amenity=public_bath (based on patch by hiddewie, icon from https://wiki.openstreetmap.org/wiki/File:Public_bath.svg, CC0 and PD licensed)

Location:
trunk/resources
Files:
1 added
2 edited

Legend:

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

    r16478 r16479  
    33453345            <space />
    33463346            <reference ref="link_contact_address_payment" />
     3347            <preset_link preset_name="Public bath" text="Similar but different tags:" />
     3348            <preset_link preset_name="Sports Centre" text="Similar but different tags:" />
    33473349        </item> <!-- Water Park -->
     3350        <item name="Public bath" icon="presets/leisure/public_bath.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3351            <link wiki="Tag:amenity=public_bath" />
     3352            <space />
     3353            <key key="amenity" value="public_bath" />
     3354            <reference ref="name_operator_oh_wheelchair" />
     3355            <combo key="bath:type" text="Type" values="hammam,hot_spring,lake,onsen,river,sento,thermal" values_context="bath:type" />
     3356            <check key="bath:open_air" text="Open air" />
     3357            <check key="shower" text="Shower" />
     3358            <checkgroup columns="3">
     3359                <check key="female" text="Female" text_context="restroom" />
     3360                <check key="male" text="Male" text_context="restroom" />
     3361                <check key="unisex" text="Unisex" text_context="restroom" />
     3362            </checkgroup>
     3363            <reference ref="fee" />
     3364            <space />
     3365            <reference ref="link_contact_address_payment" />
     3366            <preset_link preset_name="Water Park" text="Similar but different tags:" />
     3367            <preset_link preset_name="Sports Centre" text="Similar but different tags:" />
     3368        </item> <!-- Public bath -->
    33483369        <item name="Resort" icon="presets/leisure/resort.svg" type="node,closedway,multipolygon" preset_name_label="true">
    33493370            <link wiki="Tag:leisure=resort" />
     
    76857706            <text key="description" text="Description" match="key" />
    76867707            <space />
    7687             <preset_link preset_name="Note" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
    7688             <preset_link preset_name="Fixme" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
     7708            <preset_link preset_name="Note" text="Similar but different tags:" />
     7709            <preset_link preset_name="Fixme" text="Similar but different tags:" />
    76897710        </item> <!-- Description -->
    76907711        <item name="Note" icon="presets/misc/note.svg" name_context="the tag note=*" type="node,way,closedway,multipolygon,relation" preset_name_label="true">
     
    76957716            <text key="note" text="Note" text_context="the tag note=*" match="key" />
    76967717            <space />
    7697             <preset_link preset_name="Fixme" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
    7698             <preset_link preset_name="Description" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
     7718            <preset_link preset_name="Fixme" text="Similar but different tags:" />
     7719            <preset_link preset_name="Description" text="Similar but different tags:" />
    76997720        </item> <!-- Note -->
    77007721        <item name="Fixme" icon="presets/misc/fixme.svg" type="node,way,closedway,multipolygon,relation" preset_name_label="true">
     
    77057726            <text key="fixme" text="Fixme" match="key" />
    77067727            <space />
    7707             <preset_link preset_name="Note" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
    7708             <preset_link preset_name="Description" text="Similar but different tags:" text_context="note=*, fixme=*, description=*" />
     7728            <preset_link preset_name="Note" text="Similar but different tags:" />
     7729            <preset_link preset_name="Description" text="Similar but different tags:" />
    77097730        </item> <!-- Fixme -->
    77107731    </group> <!-- Annotation -->
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16475 r16479  
    30083008area[amenity=cinema],
    30093009area[amenity=dive_centre],
     3010area[amenity=public_bath],
    30103011area[amenity=arts_centre],
    30113012area[amenity=courthouse],
     
    30523053node[amenity=dive_centre] {
    30533054    icon-image: "presets/leisure/dive_centre.svg";
     3055    set icon_z17;
     3056}
     3057node[amenity=public_bath] {
     3058    icon-image: "presets/leisure/public_bath.svg";
    30543059    set icon_z17;
    30553060}
Note: See TracChangeset for help on using the changeset viewer.