Changeset 18092 in josm for trunk/resources


Ignore:
Timestamp:
2021-07-26T22:53:12+02:00 (3 years ago)
Author:
Klumbumbus
Message:

see #20835 - Add attraction=water_slide, use icon from leisure=water_park, for leisure=water_park use a new icon instead: https://wiki.openstreetmap.org/wiki/File:Swimming-16.svg (PD and CC0 licensed)

Location:
trunk/resources
Files:
1 added
3 edited

Legend:

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

    r18091 r18092  
    37253725            <preset_link preset_name="Sports Centre" text="Similar but different tags:" />
    37263726        </item> <!-- Water Park -->
     3727        <item name="Water Slide" icon="presets/attraction/water_slide.svg" type="node,way" preset_name_label="true">
     3728            <link wiki="Tag:attraction=water_slide" />
     3729            <space />
     3730            <key key="attraction" value="water_slide" />
     3731            <reference ref="name_operator_oh_wheelchair" />
     3732        </item> <!-- Water Slide -->
    37273733        <item name="Public bath" icon="presets/leisure/public_bath.svg" type="node,closedway,multipolygon" preset_name_label="true">
    37283734            <link wiki="Tag:amenity=public_bath" />
  • trunk/resources/images/presets/leisure/water_park.svg

    r13363 r18092  
    11<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
    3 
    42<svg
    5    xmlns:dc="http://purl.org/dc/elements/1.1/"
     3   id="svg2"
     4   viewBox="0 0 16 16"
     5   height="16"
     6   width="16"
     7   version="1.1"
     8   sodipodi:docname="water_park2.svg"
     9   inkscape:version="1.1 (c68e22c387, 2021-05-23)"
     10   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
     11   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
     12   xmlns="http://www.w3.org/2000/svg"
     13   xmlns:svg="http://www.w3.org/2000/svg"
     14   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    615   xmlns:cc="http://creativecommons.org/ns#"
    7    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    8    xmlns:svg="http://www.w3.org/2000/svg"
    9    xmlns="http://www.w3.org/2000/svg"
    10    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    11    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    12    width="16"
    13    height="16"
    14    viewBox="0 0 16 16"
    15    id="svg2"
    16    version="1.1"
    17    inkscape:version="0.91 r13725"
    18    sodipodi:docname="water_park1001.svg">
    19   <defs
    20      id="defs4" />
     16   xmlns:dc="http://purl.org/dc/elements/1.1/">
    2117  <sodipodi:namedview
    22      id="base"
     18     id="namedview7"
    2319     pagecolor="#ffffff"
    24      bordercolor="#666666"
    25      borderopacity="1.0"
    26      inkscape:pageopacity="0.0"
    27      inkscape:pageshadow="2"
    28      inkscape:zoom="31.678384"
    29      inkscape:cx="1.1076822"
    30      inkscape:cy="8.1984568"
    31      inkscape:document-units="px"
    32      inkscape:current-layer="layer1"
     20     bordercolor="#999999"
     21     borderopacity="1"
     22     inkscape:pageshadow="0"
     23     inkscape:pageopacity="0"
     24     inkscape:pagecheckerboard="0"
    3325     showgrid="true"
    34      units="px"
     26     inkscape:zoom="26.892857"
     27     inkscape:cx="2.9933599"
     28     inkscape:cy="5.4475432"
    3529     inkscape:window-width="1680"
    36      inkscape:window-height="988"
     30     inkscape:window-height="987"
    3731     inkscape:window-x="-8"
    3832     inkscape:window-y="-8"
    39      inkscape:window-maximized="1">
     33     inkscape:window-maximized="1"
     34     inkscape:current-layer="svg2">
    4035    <inkscape:grid
    4136       type="xygrid"
    42        id="grid4136" />
     37       id="grid824" />
    4338  </sodipodi:namedview>
    4439  <metadata
    45      id="metadata7">
     40     id="metadata8">
    4641    <rdf:RDF>
    4742      <cc:Work
     
    5045        <dc:type
    5146           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    52         <dc:title></dc:title>
    53         <cc:license
    54            rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
    5547      </cc:Work>
    56       <cc:License
    57          rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
    58         <cc:permits
    59            rdf:resource="http://creativecommons.org/ns#Reproduction" />
    60         <cc:permits
    61            rdf:resource="http://creativecommons.org/ns#Distribution" />
    62         <cc:permits
    63            rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
    64       </cc:License>
    6548    </rdf:RDF>
    6649  </metadata>
    67   <g
    68      inkscape:label="Layer 1"
    69      inkscape:groupmode="layer"
    70      id="layer1"
    71      transform="translate(0,-1036.3622)">
    72     <rect
    73        style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.17200001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
    74        id="rect4153"
    75        width="16"
    76        height="16"
    77        x="0"
    78        y="1036.3622" />
    79     <path
    80        style="fill:#1288ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    81        d="m 0,1052.3622 8,0 0,-4 c -5.8018596,3.0166 -4.6497361,-2.9157 -8,0 z"
    82        id="path4134"
    83        inkscape:connector-curvature="0"
    84        sodipodi:nodetypes="ccccc" />
    85     <rect
    86        style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#1a1a1a;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.17200001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
    87        id="rect4136"
    88        width="8.0000019"
    89        height="4.9999652"
    90        x="8"
    91        y="1047.3622" />
    92     <path
    93        style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:0.89999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    94        d="m 8.4821428,1043.8801 1.2500005,3.8616"
    95        id="path4149"
    96        inkscape:connector-curvature="0"
    97        sodipodi:nodetypes="cc" />
    98     <path
    99        style="fill:none;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:0.9;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    100        d="m 15.398884,1047.5306 -2.839309,-8.522 -0.0397,8.7556"
    101        id="path4151"
    102        inkscape:connector-curvature="0"
    103        sodipodi:nodetypes="ccc" />
    104     <path
    105        style="fill:none;fill-rule:evenodd;stroke:#0b0bff;stroke-width:1.9653343;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
    106        d="m 12.98648,1039.1706 c -1.59965,-0.054 -2.607206,0.3947 -3.9036588,2.5254 -0.7197243,1.3265 -1.5538296,2.7911 -2.4370261,4.0362 -1.0519243,0.8991 -2.2566332,0.7485 -2.9585231,0.4961"
    107        id="path4138"
    108        inkscape:connector-curvature="0"
    109        sodipodi:nodetypes="cccc" />
    110   </g>
     50  <defs
     51     id="defs6" />
     52  <rect
     53     style="visibility:hidden;fill:none;stroke:none"
     54     id="canvas"
     55     y="1"
     56     x="1"
     57     height="14"
     58     width="14" />
     59  <path
     60     style="fill:#0e8517;stroke-width:1.33333"
     61     id="swimming"
     62     d="m 9.7083337,1.5417802 c -0.1252548,0.00996 -0.2461931,0.050632 -0.375,0.124999 L 5.2916666,3.8334275 C 4.77896,4.0760921 4.5785334,4.8362857 4.9166666,5.2917486 L 6,7.0000675 1.3333334,9.6667117 1.375,10.500038 c 0,0 0.6238766,-0.499996 1.2916666,-0.499996 0.6317149,0 1.8976382,0.999992 2.6666668,0.999992 0.6711521,0 1.9949321,-0.999992 2.6666666,-0.999992 0.6991169,0 1.9675497,0.999992 2.666666,0.999992 H 11.125 L 7.3333334,5.0000843 10.125,3.5417633 C 10.722322,3.1969018 10.915373,2.5975422 10.666666,2.166775 10.437251,1.7694195 10.084096,1.5118961 9.7083337,1.5417802 Z M 12,5.0000843 c -1.104574,0 -2,0.8954591 -2,1.9999832 0,1.104524 0.895426,1.9999831 2,1.9999831 1.104574,0 2,-0.8954591 2,-1.9999831 C 14,5.8955434 13.104574,5.0000843 12,5.0000843 Z M 2.6666666,12.000025 c -0.4285893,0 -1.0623391,0.362481 -1.6465901,0.650968 L 1.0038613,14.67779 C 1.6169029,14.385497 2.2737936,14.000008 2.6666666,14.000008 3.3389826,14.000008 4.6214694,15 5.3333334,15 5.967336,15 7.3230466,14.000008 8,14.000008 8.672316,14.000008 10.028974,15 10.666666,15 c 0.672317,0 2.0339,-0.999992 2.666668,-0.999992 0.396039,0 1.077576,0.391727 1.696931,0.68483 l 0.04637,-2.023556 c -0.602924,-0.299517 -1.304223,-0.685649 -1.743298,-0.661257 -0.637694,0 -1.953704,0.999992 -2.666668,0.999992 -0.593219,0 -1.99435,-0.999992 -2.666666,-0.999992 -0.672316,0 -2.0721294,0.999992 -2.6666666,0.999992 -0.6340028,0 -1.9548028,-0.999992 -2.6666668,-0.999992 z" />
    11163</svg>
  • trunk/resources/styles/standard/elemstyles.mapcss

    r18090 r18092  
    36593659    set icon_z17;
    36603660}
     3661way[attraction=water_slide] {
     3662    width: 2;
     3663    color: attraction#ffbfd3;
     3664}
     3665node[attraction=water_slide] {
     3666    icon-image: "presets/attraction/water_slide.svg";
     3667    set icon_z17;
     3668}
    36613669
    36623670/********************/
Note: See TracChangeset for help on using the changeset viewer.