174 lines
4 KiB
JSON
174 lines
4 KiB
JSON
{
|
|
"id": "stairs",
|
|
"name": {
|
|
"en": "Stairs",
|
|
"nl": "Trappen"
|
|
},
|
|
"description": {
|
|
"en": "Layer showing stairs and escalators"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Stairs",
|
|
"nl": "Trap"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "conveying=yes",
|
|
"then": {
|
|
"en": "Escalator",
|
|
"nl": "Roltrap"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"minzoom": 17,
|
|
"source": {
|
|
"osmTags": "highway=steps"
|
|
},
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "handrail",
|
|
"question": {
|
|
"en": "Does this stair have a handrail?",
|
|
"nl": "Heeft deze trap een leuning?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "handrail=yes",
|
|
"then": {
|
|
"en": "These stairs have a handrail",
|
|
"nl": "Deze trap heeft een leuning"
|
|
}
|
|
},
|
|
{
|
|
"if": "handrail=no",
|
|
"then": {
|
|
"en": "These stairs do <b>not</b> have a handrail",
|
|
"nl": "Deze trap heeft <b>geen</b> leuning"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"id": "tactile_writing",
|
|
"condition": "handrail=yes",
|
|
"question": {
|
|
"en": "Do these stairs have tactile writing on the handrail?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "tactile_writing=yes",
|
|
"then": {
|
|
"en": "There is tactile writing on the handrail"
|
|
}
|
|
},
|
|
{
|
|
"if": "tactile_writing=no",
|
|
"then": {
|
|
"en": "There is no tactile writing on the handrail"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tactile_writing_language",
|
|
"condition": "tactile_writing:braille:language=yes",
|
|
"render": {
|
|
"special": {
|
|
"type": "language_chooser",
|
|
"key": "tactile_writing:braille:language",
|
|
"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;' />"
|
|
},
|
|
"render_list_item": {
|
|
"en": "These stairs have tactile writing in {language():font-bold}"
|
|
},
|
|
"render_single_language": {
|
|
"en": "These stairs have tactile writing in {language():font-bold}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "conveying",
|
|
"mappings": [
|
|
{
|
|
"if": "conveying=yes",
|
|
"then": {
|
|
"en": "This is an escalator",
|
|
"nl": "Dit is een roltrap"
|
|
}
|
|
},
|
|
{
|
|
"if": "conveying=no",
|
|
"then": {
|
|
"en": "This is not an escalator",
|
|
"nl": "Dit is geen roltrap"
|
|
}
|
|
},
|
|
{
|
|
"if": "conveying=",
|
|
"then": {
|
|
"en": "This is not an escalator",
|
|
"nl": "Dit is geen roltrap"
|
|
},
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ramp",
|
|
"question": {
|
|
"en": "Is there a ramp at these stairs?"
|
|
},
|
|
"multiAnswer": true,
|
|
"mappings": [
|
|
{
|
|
"if": "ramp:bicycle=yes",
|
|
"ifnot": "ramp:bicycle=no",
|
|
"then": {
|
|
"en": "There is a ramp for bicycles here"
|
|
}
|
|
},
|
|
{
|
|
"if": "ramp:wheelchair=yes",
|
|
"ifnot": "ramp:wheelchair=no",
|
|
"then": {
|
|
"en": "There is a ramp for wheelchairs here"
|
|
}
|
|
},
|
|
{
|
|
"if": "ramp=separate",
|
|
"then": {
|
|
"en": "There is ramp for wheelchairs here, but it is shown separately on the map"
|
|
},
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "ramp:stroller=yes",
|
|
"ifnot": "ramp:stroller=no",
|
|
"then": {
|
|
"en": "There is a ramp for strollers here"
|
|
}
|
|
},
|
|
{
|
|
"if": "ramp=no",
|
|
"ifnot": "ramp=",
|
|
"then": {
|
|
"en": "There is no ramp at these stairs"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"color": "gray",
|
|
"width": 10,
|
|
"dashArray": "6 12"
|
|
}
|
|
]
|
|
}
|