forked from MapComplete/MapComplete
Add elevator and stairs to blindOSM theme
This commit is contained in:
parent
62a835b876
commit
82edaa8d67
8 changed files with 169 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"id": "elevator",
|
||||
"name": {
|
||||
"en": "elevator",
|
||||
"fr": "ascenseur",
|
||||
"en": "Elevator",
|
||||
"fr": "Ascenseur",
|
||||
"de": "Aufzug",
|
||||
"nl": "lift"
|
||||
"nl": "Lift"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "highway=elevator"
|
||||
|
@ -134,7 +134,15 @@
|
|||
"type": "pfloat"
|
||||
}
|
||||
},
|
||||
"induction-loop"
|
||||
"induction-loop",
|
||||
{
|
||||
"builtin": "wikidata.tactile_writing-braille",
|
||||
"override": {
|
||||
"question": {
|
||||
"en": "In which languages does this elevator have tactile writing (braille)?"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
|
@ -210,4 +218,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
BIN
assets/layers/stairs/Braille_stairs.jpg
Normal file
BIN
assets/layers/stairs/Braille_stairs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 895 KiB |
10
assets/layers/stairs/license_info.json
Normal file
10
assets/layers/stairs/license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"path": "Braille_stairs.jpg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
}
|
||||
]
|
132
assets/layers/stairs/stairs.json
Normal file
132
assets/layers/stairs/stairs.json
Normal file
|
@ -0,0 +1,132 @@
|
|||
{
|
||||
"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": [
|
||||
{
|
||||
"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": "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"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"builtin": "wikidata.tactile_writing-braille",
|
||||
"override": {
|
||||
"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;' />"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"color": "gray",
|
||||
"width": 10,
|
||||
"dashArray": "2 2"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -37,7 +37,9 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"hideTagRenderingsWithLabels": ["crossing-bicycle-allowed"]
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"crossing-bicycle-allowed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"builtin": "kerbs",
|
||||
|
@ -77,6 +79,13 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "elevator",
|
||||
"override": {
|
||||
"minzoom": 17
|
||||
}
|
||||
},
|
||||
"stairs"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue