Add icon for playground=hopscotch.

This commit is contained in:
Sergey Vartanov 2021-07-16 02:01:08 +03:00
parent 6fefe3d945
commit 2364a5b0f9
6 changed files with 267 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Before After
Before After

View file

@ -337,6 +337,9 @@
"name": "Hi-Fi"
},
"historic": {},
"hopscotch": {
"name": "hopscotch"
},
"horizontal_bar": {
"name": "high horizontal bar"
},

View file

@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="icons.svg"
inkscape:version="0.91 r13725"
version="1.1"
id="svg2987"
height="600px"
width="800px">
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="icons.svg"
inkscape:version="0.91 r13725"
version="1.1"
id="svg2987"
height="600px"
width="800px">
<defs
id="defs2989">
<marker
@ -147,9 +148,9 @@
showgrid="true"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:cy="104.45554"
inkscape:cx="248.84932"
inkscape:zoom="22.627417"
inkscape:cy="402.90794"
inkscape:cx="644.98339"
inkscape:zoom="5.6568542"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
@ -560,6 +561,15 @@
inkscape:label="main"
id="layer1"
style="display:inline">
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8034"
width="16"
height="16"
x="448"
y="64"
rx="0"
ry="0" />
<path
style="opacity:1;fill:none;fill-opacity:1;stroke:#cccccc;stroke-width:0.7;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 298,131 -4,2 4,2"
@ -18527,8 +18537,12 @@
<path
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 645,209 0,1 0,3 -1,0 -1,0 0,1 0,3 0,1 1,0 1,0 0,4 1,0 4,0 0,-1 0,-3 1,0 1,0 0,-1 0,-4 -2,0 0,-4 -4,0 -1,0 z m 1,1 3,0 0,3 -3,0 0,-3 z m -2,4 3,0 0,3 -1,0 -1,0 -1,0 0,-3 z m 4,0 3,0 0,3 -1,0 -1,0 -1,0 0,-3 z m -2,4 1,0 1,0 1,0 0,3 -3,0 0,-3 z"
id="rect25259"
inkscape:connector-curvature="0" />
id="hopscotch"
inkscape:connector-curvature="0"
inkscape:label="#rect25259">
<title
id="title8110">hopscotch</title>
</path>
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
@ -19660,7 +19674,7 @@
width="4"
height="1"
x="422"
y="297"
y="301"
rx="0.5"
ry="0.5" />
<path
@ -20938,5 +20952,227 @@
width="1"
id="rect8011"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.09999999;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<circle
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path8026"
cx="408"
cy="76"
r="1.5" />
<circle
r="1.5"
cy="76"
cx="413"
id="circle8028"
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 409.5,76 1,-8.5"
id="path8030"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 411.5,76 -1,-8.5"
id="path8032"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 402.5,77.5 0,-8 m 2,-2 1,0"
id="path8036"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 402.5,69.5 3,0"
id="path8038"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 402.5,71.5 3,0"
id="path8040"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path8044"
d="m 402.5,73.5 3,0"
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<circle
r="1.5"
cy="76"
cx="424"
id="circle8046"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<circle
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle8048"
cx="429"
cy="76"
r="1.5" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path8050"
d="m 425.5,76 0,-2.5 1,-1 1,-1 0,-4"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path8052"
d="m 427.5,76 0,-2.5 -1,-1 -1,-1 0,-4"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cssc"
inkscape:connector-curvature="0"
id="path8054"
d="m 418.5,77.5 0,-8 c 0,-1.5 1,-2 2,-2 l 1,0"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path8056"
d="m 418.5,69.5 3,0"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path8058"
d="m 418.5,71.5 3,0"
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 418.5,73.5 3,0"
id="path8060"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 410,73.5 1,0 -0.5,-2 z"
id="path8062"
inkscape:connector-curvature="0" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 408.9928,77.12443 407.5,78.5"
id="path8064"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8070"
width="4"
height="6"
x="442"
y="72"
rx="1.5"
ry="1.4999999" />
<path
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 435.5,78 2,0 1.5,-4 -5,0 z"
id="path8078"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8080"
width="1"
height="4"
x="436"
y="69" />
<path
style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 444.5,66.5 -1,1.5 0,5.5 1,0 z"
id="path8084"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8086"
width="4"
height="1"
x="441.5"
y="70" />
<rect
y="71"
x="442"
height="3"
width="4"
id="rect8090"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 436.5,69.5 -1.5,-2 3,0 z"
id="path8092"
inkscape:connector-curvature="0" />
<path
style="opacity:0.2;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path8094"
sodipodi:type="arc"
sodipodi:cx="404.5"
sodipodi:cy="69.5"
sodipodi:rx="2"
sodipodi:ry="2"
sodipodi:start="3.1415927"
sodipodi:end="4.712389"
sodipodi:open="true"
d="m 402.5,69.5 a 2,2 0 0 1 2,-2" />
<rect
ry="1.4999999"
rx="1.5"
y="72"
x="457"
height="6"
width="4"
id="rect8096"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path8098"
d="m 459.5,66.5 -1,1.5 0,5.5 1,0 z"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="70"
x="456.5"
height="1"
width="4"
id="rect8100"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8102"
width="4"
height="3"
x="457"
y="71" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect8104"
width="4"
height="6"
x="-455"
y="-72"
rx="1.5"
ry="1.4999999"
transform="scale(-1,-1)" />
<rect
y="-73"
x="-455"
height="3"
width="4"
id="rect8106"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
transform="scale(-1,-1)" />
<rect
ry="0.5"
rx="0.5"
y="297"
x="422"
height="1"
width="4"
id="rect8108"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before After
Before After

View file

@ -2,6 +2,11 @@
Röntgen project: simple Python map renderer for OpenStreetMap and icon set.
"""
__project__ = "Röntgen"
__description__ = (
"simple Python map renderer for OpenStreetMap with custom icon set "
"intended to display as many tags as possible"
)
__url__ = "https://github.com/enzet/Roentgen"
__author__ = "Sergey Vartanov"
__email__ = "me@enzet.ru"

View file

@ -1,7 +1,7 @@
"""
Icon grid drawing.
"""
from dataclasses import dataclass
from dataclasses import dataclass, field
from pathlib import Path
from typing import Dict, List, Optional, Set
@ -24,7 +24,7 @@ class IconCollection:
"""
icons: List[Icon]
selectors: Dict[str, Icon]
selectors: Dict[str, Icon] = field(default_factory=dict)
@classmethod
def from_scheme(

View file

@ -788,6 +788,8 @@ node_icons:
shapes: [horizontal_ladder]
- tags: {fitness_station: push-up}
shapes: [low_horizontal_bars]
- tags: {playground: hopscotch}
shapes: [hopscotch]
- tags: {playground: slide}
shapes: [slide]
- tags: {playground: roundabout}