Change climbing theme icons.

This commit is contained in:
Christian Neumann 2020-11-18 12:48:41 +01:00
parent b68eed207e
commit ed5bf8a527
4 changed files with 350 additions and 33 deletions

View file

@ -11,12 +11,11 @@
"en": "On this map you will find various climbing opportunities such as climbing gyms, bouldering halls and rocks in nature."
},
"language": [
"nl",
"de",
"en"
],
"maintainer": "Christian Neumann <christian@utopicode.de>",
"icon": "https://d30y9cdsu7xlg0.cloudfront.net/png/45246-200.png",
"icon": "./assets/themes/climbing/climbing_no_rope.svg",
"version": "0",
"startLat": 0,
"startLon": 0,
@ -28,7 +27,7 @@
"id": "climbing",
"name": {
"nl": "Klimgelegenheiden",
"de": "Klettergelegenheiten",
"de": "Klettermöglichkeiten",
"en": "Climbing opportunities"
},
"minzoom": 10,
@ -40,9 +39,9 @@
},
"title": {
"render": {
"en": "Climbing opportunity",
"nl": "Klimgelegenheid",
"de": "Klettergelegenheit",
"en": "Climbing opportunity"
"de": "Klettermöglichkeit"
},
"mappings": [
{
@ -66,18 +65,56 @@
},
"tagRenderings": [
{
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website"
}
},
{
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone"
}
},
{
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email"
}
},
{
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours"
}
},
{
"question": {
"de": "Kann hier gebouldert werden?",
"en": "Is bouldering possible here?"
},
"mappings": [
{
"if": {
"and": [
"climbing:boulder=yes"
]
},
"if": "climbing:boulder=yes",
"then": {
"nl": "Bolderen kan hier",
"de": "Hier kann gebouldert werden",
"en": "Bouldering is possible here"
}
},
{
"if": "climbing:boulder=no",
"then": {
"de": "Hier kann nicht gebouldert werden",
"en": "Bouldering is not possible here"
}
},
{
"if": "climbing:boulder~*",
"then": {
"de": "Hier gibt es {climbing:boulder} Boulder-Routen",
"en": "There are {climbing:boulder} boulder routes"
},
"hideInAnswer": true
}
]
},
@ -100,7 +137,7 @@
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://d30y9cdsu7xlg0.cloudfront.net/png/45246-200.png"
"render": "./assets/themes/climbing/climbing_no_rope.svg"
},
"width": {
"render": "8"
@ -111,7 +148,23 @@
"color": {
"render": "#00f"
},
"presets": [],
"presets": [
{
"tags": [
"sport=climbing"
],
"title": {
"de": "Klettermöglichkeit",
"en": "",
"nl": "Kletterkarte"
},
"description": {
"de": "",
"en": "",
"nl": "Een klimroute op rots"
}
}
],
"wayHandling": 2
},
{
@ -124,7 +177,6 @@
"minzoom": 18,
"overpassTags": {
"and": [
"sport=climbing",
"climbing=route"
]
},
@ -170,22 +222,6 @@
"key": "climbing:grade:french"
}
},
{
"render": {
"de": "",
"en": "",
"nl": "Lengte <b>{climbing:length}</b>"
},
"question": {
"de": "",
"en": "",
"nl": "Wat is de lengte in meter (van de grond tot het katrol?)"
},
"freeform": {
"key": "climbing:length",
"type": "nat"
}
},
{
"freeform": {
"key": "climbing:bolted",
@ -238,7 +274,7 @@
],
"hideUnderlayingFeaturesMinPercentage": 1,
"icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/5/50/Green_Arrow_Up.svg"
"render": "./assets/themes/climbing/climbing_route.svg"
},
"width": {
"render": "4"
@ -252,7 +288,6 @@
"presets": [
{
"tags": [
"sport=climbing",
"climbing=route"
],
"title": {
@ -269,5 +304,50 @@
]
}
],
"roamingRenderings": []
"roamingRenderings": [
{
"render": {
"en": "Name: {name}",
"nl": "Naam: {name}",
"de": "Name: {name}"
},
"question": {
"en": "What is the name of this climbing opportunity?",
"nl": "Wat is de naam van dit Klimgelegenheid?",
"de": "Wie heißt diese Klettergelegenheit?"
},
"freeform": {
"key": "name"
},
"mappings": [
{
"if": {
"and": [
"noname=yes",
"name="
]
},
"then": {
"en": "This climbing opportunity doesn't have a name",
"nl": "Dit Klimgelegenheid heeft geen naam",
"de": "Diese Klettergelegenheit hat keinen Namen"
}
}
]
},
{
"render": {
"de": "Die Routen sind durchschnittlich <b>{climbing:length}m</b> lang",
"en": "The routes are <b>{climbing:length}m</b> long in average"
},
"question": {
"de": "Wie lang sind die Routen (durchschnittlich) in Metern?",
"en": "What is the (average) length of the routes in meters?"
},
"freeform": {
"key": "climbing:length",
"type": "pnat"
}
}
]
}

View file

@ -0,0 +1,71 @@
<?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:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_2"
x="0px"
y="0px"
width="400px"
height="400px"
viewBox="0 0 400 400"
enable-background="new 0 0 400 400"
xml:space="preserve"
sodipodi:docname="climbing_no_rope.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><metadata
id="metadata1042"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs1040" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1062"
id="namedview1038"
showgrid="false"
inkscape:zoom="1.8825"
inkscape:cx="70.385126"
inkscape:cy="200"
inkscape:window-x="0"
inkscape:window-y="16"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_2" />
<g
id="g1035"
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#502d16;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1">
<circle
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
cx="190.403"
cy="92.55"
r="23.05"
id="circle1029"
style="font-variation-settings:normal;vector-effect:none;fill:#502d16;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M256.594,147.631l31.687-38.824 c3.497-4.285,10.495-4.362,15.628-0.171l1.643,1.34c5.135,4.191,6.461,11.062,2.965,15.346c0,0-37.64,46.27-38.512,46.778 c-4.412,4.632-8.461,6.728-13.859,4.187l-37.122-17.471V186h-60.72v-38.684l-54.157-72.381c-6.249-8.351-7.012-18.34-1.707-22.308 l1.697-1.271c5.308-3.972,14.674-0.419,20.923,7.934l48.777,65.191h34.097L256.594,147.631z"
id="path1031"
style="font-variation-settings:normal;vector-effect:none;fill:#502d16;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M220.993,219.764l13.847,50.956l37.23,48.658 c3.849,5.028,1.842,13.032-4.484,17.874l-2.023,1.549c-6.326,4.839-14.574,4.686-18.425-0.347l-38.7-50.578 c-0.779-1.02-1.307-2.164-1.619-3.376c-0.717-0.833-1.25-1.784-1.539-2.848l-7.947-29.245c-3.057,0.421-6.562,0.693-10.292,0.765 l-3.824,0.073c-11.378,0.218-23.561-4.499-24.396-5.07l-22.519-15.411l-6.271,41.158c-0.878,5.765-7.974,9.467-15.849,8.268 l-2.52-0.384c-7.874-1.199-13.547-6.845-12.668-12.613l8.83-57.962c0.224-1.468,3.203-9.405,4.99-12.018l1.439-2.103 c4.498-6.573,11.845-9.371,16.41-6.246l27.638,18.915V197.5h60.72L220.993,219.764z"
id="path1033"
style="font-variation-settings:normal;vector-effect:none;fill:#502d16;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -0,0 +1,81 @@
<?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:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_2"
x="0px"
y="0px"
width="400px"
height="400px"
viewBox="0 0 400 400"
enable-background="new 0 0 400 400"
xml:space="preserve"
sodipodi:docname="climbing_rope.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><metadata
id="metadata970"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs968" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1062"
id="namedview966"
showgrid="false"
inkscape:zoom="2.1175"
inkscape:cx="200"
inkscape:cy="200"
inkscape:window-x="0"
inkscape:window-y="16"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_2" />
<g
id="g963"
style="fill:#502d16">
<circle
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
cx="190.403"
cy="92.55"
r="23.05"
id="circle953"
style="fill:#502d16" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M256.594,147.631l31.687-38.824 c3.497-4.285,10.495-4.362,15.628-0.171l1.643,1.34c5.135,4.191,6.461,11.062,2.965,15.346c0,0-37.64,46.27-38.512,46.778 c-4.412,4.632-8.461,6.728-13.859,4.187l-37.122-17.471V186h-60.72v-38.684l-54.157-72.381c-6.249-8.351-7.012-18.34-1.707-22.308 l1.697-1.271c5.308-3.972,14.674-0.419,20.923,7.934l48.777,65.191h34.097L256.594,147.631z"
id="path955"
style="fill:#502d16" />
<path
fill="#53C9ED"
d="M159.503,356.801c0,2.65,2.148,4.799,4.799,4.799l0,0c2.651,0,4.8-2.148,4.8-4.799V265.6 c0-2.651-2.148-4.8-4.8-4.8l0,0c-2.65,0-4.799,2.148-4.799,4.8V356.801z"
id="path957"
style="fill:#502d16" />
<path
fill="#53C9ED"
d="M88.46,128.473c9.444,17.861,53.994,60.136,53.994,60.136c2.157,4.136,5.811,6.497,8.16,5.271l0,0 c2.352-1.225,2.508-5.572,0.352-9.708c0,0-44.854-42.76-54.344-60.804C86.856,104.8,76.753,41.837,76.753,41.837 c-2.156-4.138-5.811-6.498-8.161-5.272l0,0c-2.351,1.225-1.87,4.935-0.349,9.709C68.243,46.274,78.568,109.765,88.46,128.473z"
id="path959"
style="fill:#502d16" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M220.993,219.764l13.847,50.956l37.23,48.658 c3.849,5.028,1.842,13.032-4.484,17.874l-2.023,1.549c-6.326,4.839-14.574,4.686-18.425-0.347l-38.7-50.578 c-0.779-1.02-1.307-2.164-1.619-3.376c-0.717-0.833-1.25-1.784-1.539-2.848l-7.947-29.245c-3.057,0.421-6.562,0.693-10.292,0.765 l-3.824,0.073c-11.378,0.218-23.561-4.499-24.396-5.07l-22.519-15.411l-6.271,41.158c-0.878,5.765-7.974,9.467-15.849,8.268 l-2.52-0.384c-7.874-1.199-13.547-6.845-12.668-12.613l8.83-57.962c0.224-1.468,3.203-9.405,4.99-12.018l1.439-2.103 c4.498-6.573,11.845-9.371,16.41-6.246l27.638,18.915V197.5h60.72L220.993,219.764z"
id="path961"
style="fill:#502d16" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,85 @@
<?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:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_2"
x="0px"
y="0px"
width="400px"
height="400px"
viewBox="0 0 400 400"
enable-background="new 0 0 400 400"
xml:space="preserve"
sodipodi:docname="climbing_route.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><metadata
id="metadata970"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs968" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1062"
id="namedview966"
showgrid="false"
inkscape:zoom="0.48585523"
inkscape:cx="213.19423"
inkscape:cy="206.89432"
inkscape:window-x="0"
inkscape:window-y="16"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_2" />
<g
id="g963"
style="fill:#502d16">
<circle
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
cx="190.403"
cy="92.55"
r="23.05"
id="circle953"
style="fill:#502d16" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M256.594,147.631l31.687-38.824 c3.497-4.285,10.495-4.362,15.628-0.171l1.643,1.34c5.135,4.191,6.461,11.062,2.965,15.346c0,0-37.64,46.27-38.512,46.778 c-4.412,4.632-8.461,6.728-13.859,4.187l-37.122-17.471V186h-60.72v-38.684l-54.157-72.381c-6.249-8.351-7.012-18.34-1.707-22.308 l1.697-1.271c5.308-3.972,14.674-0.419,20.923,7.934l48.777,65.191h34.097L256.594,147.631z"
id="path955"
style="fill:#502d16" />
<path
fill="#53C9ED"
d="M159.503,356.801c0,2.65,2.148,4.799,4.799,4.799l0,0c2.651,0,4.8-2.148,4.8-4.799V265.6 c0-2.651-2.148-4.8-4.8-4.8l0,0c-2.65,0-4.799,2.148-4.799,4.8V356.801z"
id="path957"
style="fill:#502d16" />
<path
fill="#53C9ED"
d="M88.46,128.473c9.444,17.861,53.994,60.136,53.994,60.136c2.157,4.136,5.811,6.497,8.16,5.271l0,0 c2.352-1.225,2.508-5.572,0.352-9.708c0,0-44.854-42.76-54.344-60.804C86.856,104.8,76.753,41.837,76.753,41.837 c-2.156-4.138-5.811-6.498-8.161-5.272l0,0c-2.351,1.225-1.87,4.935-0.349,9.709C68.243,46.274,78.568,109.765,88.46,128.473z"
id="path959"
style="fill:#502d16" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
fill="#53C9ED"
d="M220.993,219.764l13.847,50.956l37.23,48.658 c3.849,5.028,1.842,13.032-4.484,17.874l-2.023,1.549c-6.326,4.839-14.574,4.686-18.425-0.347l-38.7-50.578 c-0.779-1.02-1.307-2.164-1.619-3.376c-0.717-0.833-1.25-1.784-1.539-2.848l-7.947-29.245c-3.057,0.421-6.562,0.693-10.292,0.765 l-3.824,0.073c-11.378,0.218-23.561-4.499-24.396-5.07l-22.519-15.411l-6.271,41.158c-0.878,5.765-7.974,9.467-15.849,8.268 l-2.52-0.384c-7.874-1.199-13.547-6.845-12.668-12.613l8.83-57.962c0.224-1.468,3.203-9.405,4.99-12.018l1.439-2.103 c4.498-6.573,11.845-9.371,16.41-6.246l27.638,18.915V197.5h60.72L220.993,219.764z"
id="path961"
style="fill:#502d16" />
</g>
<path
id="path1663"
style="fill:#ffcc00;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 293.41104,318.16589 -69.88682,-40.13651 -69.88683,40.13651 m 139.77365,0 -69.88682,-156.83598 -69.88683,156.83598"
sodipodi:nodetypes="cccccc" /></svg>

After

Width:  |  Height:  |  Size: 3.8 KiB