Themes: add missing assets

This commit is contained in:
Pieter Vander Vennet 2024-01-30 19:41:26 +01:00
parent 8f25006998
commit bc826bebed
9 changed files with 410 additions and 0 deletions

View file

@ -0,0 +1,141 @@
{
"pointRendering": [
{
"location": ["start"],
"marker": [
{
"icon": "square"
}
],
"iconSize": "12,12"
},
{
"location": [
"point",
"projected_centerpoint"
],
"label": {
"render": {
"en": "{name}"
},
"condition": "name~*",
"classes": "bg-white p-1 px-2 rounded"
},
"labelCssClasses": "bg-white px-2 py-1 no-weblate"
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "What type of aerialway is this?"
},
"id": "type",
"mappings": [
{
"if": "aerialway=cable_car",
"then": {
"en": "This is a cable car where the car goes up and down again on the same cable."
},
"icon": "./assets/layers/aerialway/cable_car.svg"
},
{
"if": "aerialway=gondola",
"then": {
"en": "This is a gondola where the cars go around in continuous circles"
},
"icon": "./assets/layers/aerialway/gondola_lift.svg"
},
{
"if": "aerialway=chair_lift",
"then": {
"en": "An open chairlift with seats to sit on and open to the outside air."
},
"icon": "./assets/layers/aerialway/chair_lift.svg"
},
{
"if": "aerialway=mixed",
"then": {
"en": "An aerialway which has both chairs and gondolas in the same continuous track"
}
},
{
"if": "aerialway=drag_lift",
"then": {
"en": "A drag lift"
},
"hideInAnswer": true
},
{
"if": "aerialway=t-bar",
"then": {
"en": "A drag lift with T-shaped carriers for two passengers at a time"
}
},
{
"if": "aerialway=j-bar",
"then": {
"en": "A drag lift with L-shaped bars for a single passenger at a time"
}
},
{
"if": "aerialway=platter",
"then": {
"en": "A drag lift with a platter to drag a single passenger at a time"
}
},
{
"if": "aerialway=rope_tow",
"then": {
"en": "A tow line which which drags skieers"
}
},
{
"if": "aerialway=magic_carpet",
"then": {
"en": "A magic carpet (a conveyor belt on the ground)"
}
},
{"if": "aerialway=zip_line",
"then": {
"en": "A zip line. (A touristical attraction where adventurous people go down at high speeds) "
}
}
]
},
{
"id": "length",
"render": {
"en": "This aerialway is {_length:km} kilometer long"
}
}
],
"lineRendering": [
{
"width": "4",
"color": "black"
}
],
"id": "aerialway",
"name": {
"en": "Aerialways"
},
"description": {
"en": "Various forms of transport for passengers and goods that use wires, including cable cars, gondolas, chair lifts, drag lifts, and zip lines. "
},
"source": {
"osmTags": {
"and": [
"aerialway~*",
"aerialway!=pylon",
"aerialway!=station"
]
}
},
"title": {
"render": {
"en": "Aerialway {name}"
}
}
}

View file

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50">
<path d="m9,36h32v12H9"/>
<path fill="none" stroke="#000" stroke-width="2" d="m2,17
44-15M10,21v27m10,0V21m10,0v27m10,0V22H10m15,0V9"/>
</svg>

After

Width:  |  Height:  |  Size: 228 B

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: SuperFLoh
SPDX-License-Identifier: CC-BY 3.0

View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<svg
version="1.1"
x="0px"
y="0px"
width="372.74799"
height="348.6937"
viewBox="-0.031 -0.031 372.74798 348.69369"
enable-background="new -0.031 -0.031 576 567"
xml:space="preserve"
id="svg2"
sodipodi:docname="chair_lift.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#999999"
borderopacity="1"
inkscape:showpageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.328125"
inkscape:cx="184.84706"
inkscape:cy="178.07059"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<defs
id="defs1">
</defs>
<path
d="m 372.717,171.00068 -0.25,-5.25 -8.75,-0.25 c -0.815,16.42 -9.463,29.354 -22.399,38.551 l -109.447,62.083 -8.153,-5.634 -1.25,-2.5 0.25,-3 15.25,-75 -0.75,-4 -0.75,-2.75 -2.5,-2.5 -1.5,-1.25 -1.5,-1.25 -1.5,-0.5 -2.25,-0.5 -4.25,0.25 -48.5,2.675 v -30.326 l 19.167,16.568 5,3 4.333,-0.333 3.667,-0.667 34.166,-48.167 1.167,-4.167 0.167,-3.833 -3.334,-4.999998 -1.45,-0.378 -2.766,-4.876 -49.774,28.233998 c -3.113,-3.382 -6.695,-7.287 -10.343,-11.268 v -0.152 l -0.986,-1.06 h -0.124 c -5.639,-6.157 -11.325,-12.378998 -15.557,-17.012998 v -13.84 c 10.892,-1.869001 19.167,-11.070001 19.167,-22.147001 0,-12.426 -10.41,-22.5 -23.25,-22.5 -12.84,0 -23.25,10.074 -23.25,22.5 0,7.883 4.193,14.815 10.535,18.833 h -0.035 v 13.933001 l -14.5,11.901 -1.5,3.666998 -0.519,4.667 h -0.398 v 46.945 l -13.25,7.516 v -3.735 0 -128.890999 l 29.732,-16.082 -0.22,-0.407 c 10.096,-4.3989998 18.98,-8.8739998 30.155,-10.0969998 -13.949,-3.64800002 -22.043,-5.077 -34.568,1.94 l -0.009,-0.017 L -0.031,78.442682 v 11.092 L 99.135001,35.896681 V 168.82968 l -40.460001,22.951 -7.881,-13.895 -6.088,3.454 7.881,13.894 -11.686,6.629 3.453,6.089 11.686,-6.629 7.336,12.934 6.089,-3.453 -7.337,-12.935 37.006001,-20.991 v 6.54 c -0.103,1.181 -0.166,2.374 -0.166,3.583 0,1.221 0.061,2.426 0.166,3.618 v 0.8 h 0.078 c 2.112999,19.596 18.094999,34.832 37.505999,34.832 2.366,0 4.679,-0.232 6.924,-0.666 h 48.159 v -9.334 h -29.942 c 0.121,-0.112 0.246,-0.219 0.365,-0.333 h -20.521 c -1.328,0.218 -2.686,0.333 -4.069,0.333 -13.558,0 -24.793,-10.848 -26.833,-25.026 v -9.278 c 0,-0.002 0,-0.004 0,-0.005 v -11.682 l 13.25,-7.516 v 25.257 h 0.191 c 0.258,9.983 8.142,18 17.851,18 0.297,0 0.591,-0.012 0.884,-0.026 l -0.009,0.026 63.5,-4.5 1,-0.5 1.25,0.75 -15.5,65.25 10.373,15.176 -102.234,57.991 4.818,8.495 242.885,-137.775 -0.19,-0.336 c 13.734,-9.249 23.001,-22.526 23.847,-39.551 z m -151.228,-63.53 -20.189,23.113 c 0,0 -2.166,1.5 -2.666,1.667 -0.5,0.167 -3.5,-1.333 -4,-1.5 -0.103,-0.034 -2,-2.053 -4.95,-5.238 z"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Gouvernement fran<61><6E>ais, Roulex 45
SPDX-License-Identifier: CC0

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.0"
width="43.828327"
height="47.376011"
id="svg4697"
sodipodi:docname="gondola_lift.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview10"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="12.020696"
inkscape:cx="5.1161765"
inkscape:cy="23.667516"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4697"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1" />
<defs
id="defs4699" />
<path
d="M 43.398593,1.2717348 0.4298435,16.552985 C 43.378998,1.2742886 43.398593,1.2717348 43.398593,1.2717348 Z m -19.875,7.3125 c -0.0083,13.6609042 0,13.6562502 0,13.6562502 l 0.03125,-0.3125 z"
id="path4679"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.56498;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
width="18.40391"
height="10.119683"
x="14.794506"
y="35.973839"
id="rect4687"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.56498;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
ry="0" />
<path
d="m 13.823415,21.968521 v 24.125 h 9.15625 v -24.125 z m 10.21875,0 v 24.125 h 9.15625 v -24.125 z"
id="rect4689"
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.56498;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:nodetypes="cccccccccc" />
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Vasily Astanin
SPDX-License-Identifier: CC-BY-SA 4.0

View file

@ -0,0 +1,32 @@
[
{
"path": "cable_car.svg",
"license": "CC-BY 3.0",
"authors": [
"SuperFLoh"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Pictogram_Cable_Car_small.svg"
]
},
{
"path": "chair_lift.svg",
"license": "CC0-1.0",
"authors": [
"Gouvernement fran<61><6E>ais, Roulex 45"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:France_road_sign_CE20b.svg"
]
},
{
"path": "gondola_lift.svg",
"license": "CC-BY-SA 4.0",
"authors": [
"Vasily Astanin"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Pictogram_Gondola_Lift.svg"
]
}
]

View file

@ -0,0 +1,125 @@
{
"pointRendering": [
{
"location": [
"point"
],
"marker": [
{
"icon": "circle",
"color": "white"
}
]
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "What is the difficulty of this piste?"
},
"id": "piste_difficulty",
"condition": "piste:type!=connection",
"mappings": [
{
"if": "piste:difficulty=novice",
"then": {
"en": "Novice (green)"
}
},
{
"if": "piste:difficulty=easy",
"then": {
"en": "Easy (blue)"
}
},
{
"if": "piste:difficulty=intermediate",
"then": {
"en": "Intermediate (red)"
}
},
{
"if": "piste:difficulty=advanced",
"then": {
"en": "Advanced (black)"
}
},
{
"if": "piste:difficulty=expert",
"then": {
"en": "Expert (orange/double black)"
}
},
{
"if": "piste:difficulty=freeride",
"then": {
"en": "Freeride"
}
}
]
},
{
"id": "length",
"render": {
"en": "This part of the ski piste is {_length:km} kilometer long"
}
}
],
"lineRendering": [
{
"width": "10",
"color": {
"mappings": [
{
"then": "green",
"if": "piste:difficulty=novice"
},
{
"if": "piste:difficulty=easy",
"then": "blue"
},
{
"if": "piste:difficulty=intermediate",
"then": "red"
},
{
"if": "piste:difficulty=advanced",
"then": "black"
},
{
"if": "piste:difficulty=expert",
"then": "orange"
},
{
"if": "piste:difficulty=",
"then": "gray"
}
]
}
}
],
"id": "ski_piste",
"name": {
"en": "Ski and snowboard pistes"
},
"description": {
"en": "Ski and snowboard pistes"
},
"source": {
"osmTags": {
"and": [
{"or":
[ "piste:type=downhill",
"piste:type=connection"]
},
"area!=yes"
]
}
},
"title": {
"render": {
"en": "Ski piste {name}"
}
}
}