Changeset 16500 in josm


Ignore:
Timestamp:
2020-05-25T16:08:22+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19287 - Add playground=* and warn about playground=yes, new icon for leisure=playground (from https://wiki.openstreetmap.org/wiki/File:Playground-16.svg, modified, playground=* icon derived, both icons PD and CC0 licensed)

Location:
trunk/resources
Files:
1 added
4 edited

Legend:

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

    r16496 r16500  
    34243424            <reference ref="max_age" />
    34253425        </item> <!-- Playground -->
     3426        <item name="Playground device" icon="presets/leisure/playground_device.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
     3427            <link wiki="Key:playground" />
     3428            <space />
     3429            <combo key="playground" text="Type" values="activitypanel,aerialrotator,balancebeam,basketrotator,basketswing,climbingframe,climbingwall,cushion,exercise,hopscotch,horizontal_bar,map,playhouse,roundabout,sandpit,seesaw,sledding,slide,splash_pad,springy,structure,swing,teenshelter,trampoline,water,youth_bench,zipwire" values_context="playground" match="key!" />
     3430            <reference ref="name_operator_oh_wheelchair" />
     3431            <reference ref="max_age" />
     3432            <combo key="material" text="Material" values="concrete,metal,plastic,steel,stone,wood" />
     3433        </item> <!-- Playground device -->
    34263434        <item name="Picnic Site" icon="presets/leisure/picnic.svg" type="node,closedway,multipolygon" preset_name_label="true">
    34273435            <link wiki="Tag:tourism=picnic_site" />
  • trunk/resources/data/validator/deprecated.mapcss

    r16316 r16500  
    472472}
    473473
    474 /* see #18334, #17950, #10661, #10837, #11737, #12771 */
     474/* see #19287, #18334, #17950, #10661, #10837, #11737, #12771 */
     475*[playground=yes],
    475476*[manhole=plain],
    476477*[manhole=unknown],
  • trunk/resources/images/presets/leisure/playground.svg

    r13363 r16500  
    11<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    22<!-- Created with Inkscape (http://www.inkscape.org/) -->
     3
    34<svg
     5   xmlns:dc="http://purl.org/dc/elements/1.1/"
     6   xmlns:cc="http://creativecommons.org/ns#"
     7   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    48   xmlns:svg="http://www.w3.org/2000/svg"
    59   xmlns="http://www.w3.org/2000/svg"
    610   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    711   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    8    version="1.0"
    9    width="18"
    10    height="18"
    11    id="svg2">
     12   version="1.1"
     13   width="14"
     14   height="13"
     15   viewBox="0 0 14 13"
     16   id="svg2"
     17   sodipodi:docname="Playground-16c.svg"
     18   inkscape:version="0.92.3 (2405546, 2018-03-11)">
     19  <metadata
     20     id="metadata9">
     21    <rdf:RDF>
     22      <cc:Work
     23         rdf:about="">
     24        <dc:format>image/svg+xml</dc:format>
     25        <dc:type
     26           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
     27        <dc:title></dc:title>
     28      </cc:Work>
     29    </rdf:RDF>
     30  </metadata>
    1231  <defs
    13      id="defs4">
    14     <inkscape:perspective
    15        sodipodi:type="inkscape:persp3d"
    16        inkscape:vp_x="0 : 526.18109 : 1"
    17        inkscape:vp_y="0 : 1000 : 0"
    18        inkscape:vp_z="744.09448 : 526.18109 : 1"
    19        inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
    20        id="perspective10" />
    21   </defs>
    22   <g
    23      transform="matrix(6.7201909e-2,0,0,6.7227152e-2,-14.47422,-27.17495)"
    24      id="g2168">
    25     <rect
    26        width="250"
    27        height="250"
    28        ry="48.57143"
    29        x="224.28572"
    30        y="413.07645"
    31        style="fill:#c7f1a3;fill-opacity:1;stroke:#000000;stroke-width:17.79999924;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.10000002;stroke-dasharray:none;stroke-opacity:1"
    32        id="rect3165" />
    33     <path
    34        d="M 247.27748,532.72088 L 451.29396,572.95821"
    35        style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:14.19999981;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:1.10000002;stroke-dasharray:none;stroke-opacity:1"
    36        id="path2383" />
    37     <path
    38        d="M 349.28571,554.13022 L 327.77308,599.29833 L 370.79835,599.29833 L 349.28571,554.13022 z "
    39        style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.83189112px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    40        id="path2385" />
    41     <g
    42        id="g3189" />
    43     <g
    44        transform="matrix(0.8785919,0.3718702,-0.3462376,0.9436356,143.99832,-69.706166)"
    45        id="g3185">
    46       <path
    47          d="M 338.53918,463.22191 C 329.58668,464.8893 317.58246,511.84896 317.58246,511.84896 L 352.1962,507.06244 C 352.1962,507.06244 347.86669,522.57427 344.01118,534.07986 C 341.60652,541.25572 349.61825,543.57042 353.65106,535.609 C 361.10006,520.90345 366.70326,504.64933 366.70326,504.64933 C 366.70326,504.64933 347.9936,461.46108 338.53918,463.22191 z "
    48          style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.33470964px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    49          id="path3181" />
    50       <path
    51          d="M 286.86472,449.50504 C 286.86828,454.63621 283.15421,458.79796 278.57144,458.79796 C 273.98867,458.79796 270.2746,454.63621 270.27816,449.50504 C 270.2746,444.37387 273.98867,440.21212 278.57144,440.21212 C 283.15421,440.21212 286.86828,444.37387 286.86472,449.50504 z "
    52          transform="matrix(-1.664894,-0.163643,-0.2881576,1.3383147,941.37379,-110.14043)"
    53          style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:5.9000001;stroke-miterlimit:4;stroke-dasharray:none"
    54          id="path3183" />
    55     </g>
    56     <g
    57        transform="matrix(-0.9492779,-9.5302988e-2,-0.1490016,0.9940458,828.53274,98.070173)"
    58        id="g3193">
    59       <path
    60          d="M 338.53918,463.22191 C 329.58668,464.8893 317.58246,511.84896 317.58246,511.84896 L 352.1962,507.06244 C 352.1962,507.06244 347.86669,522.57427 344.01118,534.07986 C 341.60652,541.25572 349.61825,543.57042 353.65106,535.609 C 361.10006,520.90345 366.70326,504.64933 366.70326,504.64933 C 366.70326,504.64933 347.9936,461.46108 338.53918,463.22191 z "
    61          style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.33470964px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    62          id="path3195" />
    63       <path
    64          d="M 286.86472,449.50504 C 286.86828,454.63621 283.15421,458.79796 278.57144,458.79796 C 273.98867,458.79796 270.2746,454.63621 270.27816,449.50504 C 270.2746,444.37387 273.98867,440.21212 278.57144,440.21212 C 283.15421,440.21212 286.86828,444.37387 286.86472,449.50504 z "
    65          transform="matrix(-1.664894,-0.163643,-0.2881576,1.3383147,941.37379,-110.14043)"
    66          style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:5.9000001;stroke-miterlimit:4;stroke-dasharray:none"
    67          id="path3197" />
    68     </g>
    69   </g>
     32     id="defs7" />
     33  <sodipodi:namedview
     34     pagecolor="#ffffff"
     35     bordercolor="#666666"
     36     borderopacity="1"
     37     objecttolerance="10"
     38     gridtolerance="10"
     39     guidetolerance="10"
     40     inkscape:pageopacity="0"
     41     inkscape:pageshadow="2"
     42     inkscape:window-width="1680"
     43     inkscape:window-height="987"
     44     id="namedview5"
     45     showgrid="true"
     46     inkscape:zoom="31.098545"
     47     inkscape:cx="9.9107639"
     48     inkscape:cy="7.3043439"
     49     inkscape:window-x="-8"
     50     inkscape:window-y="-8"
     51     inkscape:window-maximized="1"
     52     inkscape:current-layer="svg2">
     53    <inkscape:grid
     54       type="xygrid"
     55       id="grid821" />
     56  </sodipodi:namedview>
     57  <rect
     58     width="14"
     59     height="14"
     60     x="0"
     61     y="-1"
     62     id="canvas"
     63     style="visibility:hidden;fill:none;stroke:none" />
     64  <path
     65     style="fill:#0e8517;stroke-width:1.33332765"
     66     d="M 3.40625,0 C 2.65262,0.047193 1.998524,0.7448953 2,1.5 2.000287,2.2852156 2.714784,2.9994517 3.5,2.9994517 4.285216,2.9994517 4.999713,2.2852156 5,1.5 5.0016,0.6823545 4.222298,-0.0511045 3.40625,0 Z m 8,3 C 10.65262,3.0471927 9.998524,3.7448953 10,4.5 c 2.87e-4,0.7852156 0.714784,1.4994517 1.5,1.4994517 0.785216,0 1.499713,-0.7142361 1.5,-1.4994517 C 13.001599,3.6823545 12.222298,2.9488956 11.40625,3 Z M 3,3.5 C 1.52901,3.5 1.134165,5.3734067 1.03125,6.375 L 0,6 v 1.4501818 l 5.96875,2.125 L 5,13 H 9 L 8.0625,10.325182 14,12.450182 V 11 L 13.0625,10.65625 C 13.226562,9.794922 13.75,6.5 12,6.5 c -1.638462,0 -1.915209,2.244501 -1.96875,3.09375 l -5.9375,-2.125 C 4.285012,6.337531 4.614,3.5 3,3.5 Z"
     67     id="playground"
     68     inkscape:connector-curvature="0"
     69     sodipodi:nodetypes="ccsccccsccsccccccccccsccs" />
    7070</svg>
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16496 r16500  
    18811881node[leisure=swimming_pool] {
    18821882    icon-image: "presets/sport/swimming.svg";
     1883    set icon_z17;
     1884}
     1885area[playground]:closed {
     1886    fill-color: playground#c7f1a3;
     1887}
     1888way[playground] {
     1889    width: 2;
     1890    color: playground#c7f1a3;
     1891}
     1892node[playground] {
     1893    icon-image: "presets/leisure/playground_device.svg";
    18831894    set icon_z17;
    18841895}
Note: See TracChangeset for help on using the changeset viewer.