Basic OSM for the blind theme

This commit is contained in:
Robin van der Linde 2022-10-18 19:44:53 +02:00
parent 98ab7a7945
commit be2b5a95a7
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
9 changed files with 380 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View file

@ -121,6 +121,7 @@
}
],
"tagRenderings": [
"images",
{
"id": "crossing-type",
"question": {
@ -339,6 +340,115 @@
}
]
},
{
"id": "crossing-sound",
"question": {
"en": "Does this traffic light have sound signals to aid crossing?"
},
"condition": "crossing=traffic_signals",
"mappings": [
{
"if": "traffic_signals:sound=yes",
"then": {
"en": "This traffic light has sound signals to help crossing, both for finding the crossing and for crossing."
}
},
{
"if": "traffic_signals:sound=no",
"then": {
"en": "This traffic light does not have sound signals to help crossing."
}
},
{
"if": "traffic_signals:sound=locate",
"then": {
"en": "This traffic light has a sound signal to help locate the pole, but no signal to sign that it is safe to cross."
}
},
{
"if": "traffic_signals:sound=walk",
"then": {
"en": "This traffic light has a sound signal to sign that it is safe to cross, but no signal to help locate the pole."
}
}
]
},
{
"id": "crossing-vibration",
"question": {
"en": "Does this traffic light have vibration signals to aid crossing? (usually located at the bottom of the crossing button)"
},
"condition": {
"and": [
"crossing=traffic_signals",
"button_operated=yes"
]
},
"mappings": [
{
"if": "traffic_signals:vibration=yes",
"then": {
"en": "The button for this traffic light has a vibration signal to indicate that it is safe to cross."
},
"icon": {
"path": "./assets/layers/crossings/Vibrating_button_illustration.jpg",
"class": "large"
}
},
{
"if": "traffic_signals:vibration=no",
"then": {
"en": "The button for this traffic light does not have a vibration signal to indicate that it is safe to cross."
}
}
]
},
{
"id": "crossing-arrow",
"question": {
"en": "Does this traffic light have an arrow pointing in the direction of crossing?"
},
"condition": "crossing=traffic_signals",
"mappings": [
{
"if": "traffic_signals:arrow=yes",
"then": {
"en": "This traffic light has an arrow pointing in the direction of crossing."
}
},
{
"if": "traffic_signals:arrow=no",
"then": {
"en": "This traffic light does <b>not</b> have an arrow pointing in the direction of crossing."
}
}
]
},
{
"id": "crossing-minimap",
"question": {
"en": "Does this traffic light have a tactile map showing the layout of the crossing?"
},
"condition": "crossing=traffic_signals",
"mappings": [
{
"if": "traffic_signals:minimap=yes",
"then": {
"en": "This traffic light has a tactile map showing the layout of the crossing."
},
"icon": {
"path": "./assets/layers/crossings/180px-Trairvoja_mapeto.jpg",
"class": "large"
}
},
{
"if": "traffic_signals:minimap=no",
"then": {
"en": "This traffic light does <b>not</b> have a tactile map showing the layout of the crossing."
}
}
]
},
{
"id": "crossing-right-turn-through-red",
"question": {
@ -454,4 +564,4 @@
"width": "5"
}
]
}
}

View file

@ -1,4 +1,14 @@
[
{
"path": "180px-Trairvoja_mapeto.jpg",
"license": "CC-BY-SA 4.0",
"authors": [
"Martin ConstantinoBodin"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Trairvoja_mapeto.jpg"
]
},
{
"path": "Belgian_road_sign_B22.svg",
"license": "CC0",
@ -19,6 +29,16 @@
"https://commons.wikimedia.org/wiki/File:Belgian_road_sign_B23.svg"
]
},
{
"path": "Vibrating_button_illustration.jpg",
"license": "CC-BY 4.0",
"authors": [
"Tobias Zwick"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Vibrating_button_illustration.jpg"
]
},
{
"path": "pedestrian_crossing.svg",
"license": "CC-BY-SA 4.0",