Add icon for entrance=garage; support entrances.

This commit is contained in:
Sergey Vartanov 2021-09-22 08:40:22 +03:00
parent 88554f2f2d
commit 4a85c9c397
3 changed files with 16 additions and 6 deletions

View file

@ -148,9 +148,9 @@
showgrid="false" showgrid="false"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
inkscape:cy="552.67543" inkscape:cy="216.79971"
inkscape:cx="57.554996" inkscape:cx="234.33169"
inkscape:zoom="22.627417" inkscape:zoom="5.6568542"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
borderopacity="1.0" borderopacity="1.0"
@ -14723,9 +14723,13 @@
<path <path
style="opacity:1;fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" style="opacity:1;fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0.1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 227,404 c -0.554,0 -1,0.446 -1,1 l 0,8 1,0 0,-8 10,0 0,8 1,0 0,-8 c 0,-0.554 -0.446,-1 -1,-1 z m 1,2 0,2 8,0 0,-2 z m 0,3 0,2 8,0 0,-2 z" d="m 227,404 c -0.554,0 -1,0.446 -1,1 l 0,8 1,0 0,-8 10,0 0,8 1,0 0,-8 c 0,-0.554 -0.446,-1 -1,-1 z m 1,2 0,2 8,0 0,-2 z m 0,3 0,2 8,0 0,-2 z"
id="rect6430" id="garage_door"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="ssccccccssscccccccccc" /> sodipodi:nodetypes="ssccccccssscccccccccc"
inkscape:label="#rect6430">
<title
id="title11825">garage door</title>
</path>
<path <path
style="opacity:0.2;fill:none;stroke:#000000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="opacity:0.2;fill:none;stroke:#000000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 247,166 -2.5,2 -1.5,0 0,1 10,0 0,-1 -1,0 -2,-2 z" d="m 247,166 -2.5,2 -1.5,0 0,1 10,0 0,-1 -1,0 -2,-2 z"

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

View file

@ -464,7 +464,7 @@ class Scheme:
color = self.get_color(tags[tag_key]) color = self.get_color(tags[tag_key])
processed.add(tag_key) processed.add(tag_key)
for color_tag_key in ["color", "colour"]: for color_tag_key in ["colour", "color", "building:colour"]:
if color_tag_key in tags: if color_tag_key in tags:
color = self.get_color(tags[color_tag_key]) color = self.get_color(tags[color_tag_key])
processed.add(color_tag_key) processed.add(color_tag_key)

View file

@ -1174,12 +1174,18 @@ node_icons:
shapes: [gate] shapes: [gate]
- tags: {barrier: gate} - tags: {barrier: gate}
shapes: [gate] shapes: [gate]
- tags: {entrance: garage}
shapes: [garage_door]
- tags: {entrance: main} - tags: {entrance: main}
shapes: [main_entrance] shapes: [main_entrance]
- tags: {barrier: entrance} - tags: {barrier: entrance}
shapes: [entrance] shapes: [entrance]
- tags: {barrier: door}
shapes: [entrance]
- tags: {entrance: "yes"} - tags: {entrance: "yes"}
shapes: [entrance] shapes: [entrance]
- tags: {entrance: shop}
shapes: [entrance]
- tags: {entrance: exit} - tags: {entrance: exit}
shapes: [exit] shapes: [exit]
- tags: {entrance: service} - tags: {entrance: service}