mapcomplete/assets/layers/stairs/stairs.json

221 lines
No EOL
6.7 KiB
JSON

{
"id": "stairs",
"name": {
"en": "Stairs",
"nl": "Trappen",
"de": "Treppe"
},
"description": {
"en": "Layer showing stairs and escalators",
"de": "Ebene mit Treppen und Rolltreppen",
"nl": "Laag met trappen en roltrappen"
},
"title": {
"render": {
"en": "Stairs",
"nl": "Trap",
"de": "Treppe"
},
"mappings": [
{
"if": "conveying=yes",
"then": {
"en": "Escalator",
"nl": "Roltrap",
"de": "Rolltreppe"
}
}
]
},
"minzoom": 17,
"source": {
"osmTags": "highway=steps"
},
"tagRenderings": [
"images",
{
"builtin": "multilevels",
"override": {
"question": {
"en": "Between which levels are these stairs?",
"nl": "Tussen welke verdiepingen loopt deze trap?"
},
"render": {
"en": "These stairs are between the levels {level}",
"nl": "Deze trap loopt tussen de verdiepingen {level}"
}
}
},
{
"id": "handrail",
"question": {
"en": "Does this stair have a handrail?",
"nl": "Heeft deze trap een leuning?",
"de": "Hat die Treppe einen Handlauf?"
},
"mappings": [
{
"if": "handrail=yes",
"then": {
"en": "These stairs have a handrail",
"nl": "Deze trap heeft een leuning",
"de": "Die Treppe hat einen Handlauf"
}
},
{
"if": "handrail=no",
"then": {
"en": "These stairs do <b>not</b> have a handrail",
"nl": "Deze trap heeft <b>geen</b> leuning",
"de": "Die Treppe hat <b>keinen</b> Handlauf"
}
}
]
},
{
"id": "tactile_writing",
"condition": "handrail=yes",
"question": {
"en": "Do these stairs have tactile writing on the handrail?",
"de": "Hat die Treppe eine taktile Schrift am Handlauf?",
"nl": "Heeft deze trap voelbaar schrift op de leuning?"
},
"mappings": [
{
"if": "tactile_writing=yes",
"then": {
"en": "There is tactile writing on the handrail",
"de": "Am Handlauf gibt es taktile Schrift",
"nl": "Er is voelbaar schrift op de leuning"
}
},
{
"if": "tactile_writing=no",
"then": {
"en": "There is no tactile writing on the handrail",
"de": "Am Handlauf gibt es keine taktile Schrift",
"nl": "Er is geen voelbaar schrift op de leuning"
}
}
]
},
{
"id": "tactile_writing_language",
"condition": "tactile_writing=yes",
"render": {
"special": {
"type": "language_chooser",
"key": "tactile_writing:braille",
"question": {
"en": "In which languages is there tactile writing (braille) for navigation? <img src='./assets/layers/stairs/Braille_stairs.jpg' style='height: 300px; width: auto; display: block;' />",
"de": "In welchen Sprachen gibt es taktile Schrift (Braille) für die Navigation? <img src='./assets/layers/stairs/Braille_stairs.jpg' style='height: 300px; width: auto; display: block;' />",
"nl": "In welke talen is er voelbaar schrift (braille) voor navigatie? <img src='./assets/layers/stairs/Braille_stairs.jpg' style='height: 300px; width: auto; display: block;' />"
},
"render_list_item": {
"en": "These stairs have tactile writing in {language():font-bold}",
"de": "Die Treppe hat taktile Schrift in {language():font-bold}",
"nl": "Deze trap heeft voelbaar schrijft in {language():font-bold}"
},
"render_single_language": {
"en": "These stairs have tactile writing in {language():font-bold}",
"de": "Die Treppe hat taktile Schrift in {language():font-bold}",
"nl": "Deze trap heeft voelbaar schrijft in {language():font-bold}"
}
}
}
},
{
"id": "conveying",
"mappings": [
{
"if": "conveying=yes",
"then": {
"en": "This is an escalator",
"nl": "Dit is een roltrap",
"de": "Das ist eine Rolltreppe"
}
},
{
"if": "conveying=no",
"then": {
"en": "This is not an escalator",
"nl": "Dit is geen roltrap",
"de": "Das ist keine Rolltreppe"
}
},
{
"if": "conveying=",
"then": {
"en": "This is not an escalator",
"nl": "Dit is geen roltrap",
"de": "Das ist keine Rolltreppe"
},
"hideInAnswer": true
}
]
},
{
"id": "ramp",
"question": {
"en": "Is there a ramp at these stairs?",
"de": "Gibt es eine Rampe an dieser Treppe?",
"nl": "Is er een helling bij deze trap?"
},
"multiAnswer": true,
"mappings": [
{
"if": "ramp:bicycle=yes",
"ifnot": "ramp:bicycle=no",
"then": {
"en": "There is a ramp for bicycles here",
"de": "Hier gibt es eine Rampe für Fahrräder",
"nl": "Er is hier een helling voor fietsen"
}
},
{
"if": "ramp:wheelchair=yes",
"ifnot": "ramp:wheelchair=no",
"then": {
"en": "There is a ramp for wheelchairs here",
"de": "Hier gibt es eine Rampe für Rollstühle",
"nl": "Er is hier een helling voor rolstoelen"
}
},
{
"if": "ramp=separate",
"then": {
"en": "There is ramp for wheelchairs here, but it is shown separately on the map",
"de": "Hier gibt es eine Rampe für Rollstühle, die jedoch auf der Karte separat angezeigt wird",
"nl": "Er is hier een helling voor rolstoelen, maar deze is los aangegeven op de kaart"
},
"hideInAnswer": true
},
{
"if": "ramp:stroller=yes",
"ifnot": "ramp:stroller=no",
"then": {
"en": "There is a ramp for strollers here",
"de": "Hier gibt es eine Rampe für Kinderwagen",
"nl": "Er is hier een helling voor kinderwagens"
}
},
{
"if": "ramp=no",
"ifnot": "ramp=",
"then": {
"en": "There is no ramp at these stairs",
"de": "An dieser Treppe gibt es keine Rampe",
"nl": "Er is hier geen helling"
}
}
]
}
],
"mapRendering": [
{
"color": "gray",
"width": 10,
"dashArray": "6 12"
}
]
}