forked from MapComplete/MapComplete
Themes(wheelchair): add questions on the presence of grab rails in toilets and showers
This commit is contained in:
parent
14691cac45
commit
bab506d8f6
6 changed files with 355 additions and 1 deletions
164
assets/layers/grab_rail/grab_rail.json
Normal file
164
assets/layers/grab_rail/grab_rail.json
Normal file
|
@ -0,0 +1,164 @@
|
|||
{
|
||||
"id": "grab_rail",
|
||||
"description": {
|
||||
"en": "A grab rail is a support to help persons with reduced mobility or a motor disability. It helps them to transfer from their wheelchair onto the toilet, to stand in a shower, close a door, ... "
|
||||
},
|
||||
"source": "special:library",
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "has_grab_rail_lr",
|
||||
"question": {
|
||||
"en": "Is there a grab rail?",
|
||||
"nl": "Is er een handgreep of grijpbeugel?"
|
||||
},
|
||||
"#questionHint": "The questionhint should indicate how 'left' and 'right' are interpreted",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"grab_rail:left=yes",
|
||||
"grab_rail:right=yes"
|
||||
]
|
||||
},
|
||||
"alsoShowIf": "grab_rails=both",
|
||||
"addExtraTags": [
|
||||
"grab_rails="
|
||||
],
|
||||
"then": {
|
||||
"en": "Grab rails on <b>both</b> sides",
|
||||
"nl": "Grijpbeugels aan beide zijdes"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"grab_rail:left=yes",
|
||||
"grab_rail:right=no"
|
||||
]
|
||||
},
|
||||
"alsoShowIf": "grab_rail:left=yes",
|
||||
"addExtraTags": [
|
||||
"grab_rails="
|
||||
],
|
||||
"then": {
|
||||
"en": "Only grab rails on the <b>left</b> side",
|
||||
"nl": "Grijpbeugels enkel aan de <b>linkderzijde</b>"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"grab_rail:left=no",
|
||||
"grab_rail:right=yes"
|
||||
]
|
||||
},
|
||||
"alsoShowIf": "grab_rail:right=yes",
|
||||
"addExtraTags": [
|
||||
"grab_rails="
|
||||
],
|
||||
"then": {
|
||||
"en": "Grab rails on the <b>right</b> side",
|
||||
"nl": "Grijpbeugels enkel aan de <b>rechterkant</b>"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"grab_rail:left=no",
|
||||
"grab_rail:right=no"
|
||||
]
|
||||
},
|
||||
"alsoShowIf": "grab_rails=no",
|
||||
"addExtraTags": [
|
||||
"grab_rails="
|
||||
],
|
||||
"then": {
|
||||
"en": "<b>No grab rails</b> at all",
|
||||
"nl": "<b>Geen</b> grijpbeugels"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "has_grab_rail_behind",
|
||||
"question": {
|
||||
"en": "Does the toilet have a grab rail behind the toilet?",
|
||||
"nl": "Heeft deze toilet een grijpbeugel achter de toilet?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "grab_rail:behind=yes",
|
||||
"then": {
|
||||
"en": "Has a grab rail <b>behind</b> the toilet",
|
||||
"nl": "Heeft een grijpbeugel <b>achter</b> de toilet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "grab_rail:behind=no",
|
||||
"then": {
|
||||
"en": "No grab rail behind the toilet",
|
||||
"nl": "Heeft <i>geen</i> grijpbeugel achter de toilet"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "is_foldable",
|
||||
"rewrite": {
|
||||
"sourceString": [
|
||||
"LOCATION",
|
||||
"{{TRANSL}}"
|
||||
],
|
||||
"into": [
|
||||
[
|
||||
"left",
|
||||
{
|
||||
"en": "left",
|
||||
"nl": "linker"
|
||||
}
|
||||
],
|
||||
[
|
||||
"right",
|
||||
{
|
||||
"en": "right",
|
||||
"nl": "rechter"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"renderings": [
|
||||
{
|
||||
"id": "is_foldable_LOCATION",
|
||||
"labels": [
|
||||
"generic_questions"
|
||||
],
|
||||
"question": {
|
||||
"en": "Is the {{TRANSL}} grab rail foldable?",
|
||||
"nl": "Is de grijpbeugel aan de {{TRANSL}}kant opklapbaar?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "is_foldable:LOCATION=yes",
|
||||
"then": {
|
||||
"en": "The {{TRANSL}} grab rail is <b>foldable</b>",
|
||||
"nl": "De grijpbeugel aan de {{TRANSL}}kant is <b>opklapbaar</b>"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "is_foldable:LOCATION=no",
|
||||
"then": {
|
||||
"en": "The {{TRANSL}} grab rail is not foldable",
|
||||
"nl": "De grijpbeugel aan de {{TRANSL}}kant is niet opklapbaar"
|
||||
}
|
||||
}
|
||||
],
|
||||
"condition": {
|
||||
"and": [
|
||||
"grab_rail:LOCATION=yes"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -255,6 +255,18 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "grab_rail.has_grab_rail_lr",
|
||||
"override": {
|
||||
"labels+": [
|
||||
"wheelchair"
|
||||
],
|
||||
"questionHint": {
|
||||
"en": "Left and right are interpreted as when <b>entering</b> the shower",
|
||||
"nl": "Links en rechts zijn zoals wanneer je <b>de douche binnenstapt</b>"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
|
|
|
@ -1412,6 +1412,44 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"builtin": "grab_rail.has_grab_rail_lr",
|
||||
"override": {
|
||||
"labels+": [
|
||||
"wheelchair"
|
||||
],
|
||||
"questionHint": {
|
||||
"en": "Left and right are interpreted as when <b>sitting</b> on the toilet",
|
||||
"nl": "Links en rechts zijn zoals wanneer je <b>zit</b> op de toilet"
|
||||
},
|
||||
"condition": "wheelchair=yes"
|
||||
},
|
||||
"prefix": "toilets:wheelchair"
|
||||
},
|
||||
{
|
||||
"builtin": "grab_rail.has_grab_rail_behind",
|
||||
"override": {
|
||||
"labels+": [
|
||||
"wheelchair"
|
||||
],
|
||||
"condition": "wheelchair=yes"
|
||||
},
|
||||
"prefix": "toilets:wheelchair"
|
||||
},
|
||||
{
|
||||
"builtin": "grab_rail.generic_questions",
|
||||
"override": {
|
||||
"labels+": [
|
||||
"wheelchair"
|
||||
],
|
||||
"condition": {
|
||||
"and+": [
|
||||
"wheelchair=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
"prefix": "toilets:wheelchair"
|
||||
},
|
||||
{
|
||||
"id": "wheelchair-door-width",
|
||||
"condition": {
|
||||
|
@ -1482,7 +1520,7 @@
|
|||
"amenity-prefixed"
|
||||
],
|
||||
"condition": {
|
||||
"and": [
|
||||
"and+": [
|
||||
"changing_table:adult=yes"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -528,6 +528,7 @@
|
|||
},
|
||||
"hotkeyDocumentation": {
|
||||
"action": "Action",
|
||||
"addNew": "Open the dialog to add a new point at the center of the map",
|
||||
"closeSidebar": "Close the sidebar",
|
||||
"geolocate": "Pan the map to the current location or zoom the map to the current location. Requests geopermission",
|
||||
"homeLocation": "Jump to your home location. Only works if you did set your home location in the user preferences",
|
||||
|
|
|
@ -6484,6 +6484,64 @@
|
|||
"render": "Your travelled path"
|
||||
}
|
||||
},
|
||||
"grab_rail": {
|
||||
"description": "A grab rail is a support to help persons with reduced mobility or a motor disability. It helps them to transfer from their wheelchair onto the toilet, to stand in a shower, close a door, ... ",
|
||||
"tagRenderings": {
|
||||
"has_grab_rail_behind": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Has a grab rail <b>behind</b> the toilet"
|
||||
},
|
||||
"1": {
|
||||
"then": "No grab rail behind the toilet"
|
||||
}
|
||||
},
|
||||
"question": "Does the toilet have a grab rail behind the toilet?"
|
||||
},
|
||||
"has_grab_rail_lr": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Grab rails on <b>both</b> sides"
|
||||
},
|
||||
"1": {
|
||||
"then": "Only grab rails on the <b>left</b> side"
|
||||
},
|
||||
"2": {
|
||||
"then": "Grab rails on the <b>right</b> side"
|
||||
},
|
||||
"3": {
|
||||
"then": "<b>No grab rails</b> at all"
|
||||
}
|
||||
},
|
||||
"question": "Is there a grab rail?"
|
||||
},
|
||||
"is_foldable": {
|
||||
"renderings": {
|
||||
"0": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "The {{TRANSL}} grab rail is <b>foldable</b>"
|
||||
},
|
||||
"1": {
|
||||
"then": "The {{TRANSL}} grab rail is not foldable"
|
||||
}
|
||||
},
|
||||
"question": "Is the {{TRANSL}} grab rail foldable?"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
"into": {
|
||||
"0": {
|
||||
"1": "left"
|
||||
},
|
||||
"1": {
|
||||
"1": "right"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"grave": {
|
||||
"description": "Tombstones (and graves) indicate where a person was buried. On this map, those can be recorded and a link to Wikipedia can be made",
|
||||
"filter": {
|
||||
|
@ -10787,6 +10845,11 @@
|
|||
},
|
||||
"question": "Is there a fee for using this shower?"
|
||||
},
|
||||
"grab_rail.has_grab_rail_lr": {
|
||||
"override": {
|
||||
"questionHint": "Left and right are interpreted as when <b>entering</b> the shower"
|
||||
}
|
||||
},
|
||||
"hot_water": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
|
@ -12402,6 +12465,11 @@
|
|||
"question": "Are these toilets gender-segregated?",
|
||||
"questionHint": "Are there separate stalls or separate areas for men and women and are they signposted as such?"
|
||||
},
|
||||
"grab_rail.has_grab_rail_lr": {
|
||||
"override": {
|
||||
"questionHint": "Left and right are interpreted as when <b>sitting</b> on the toilet"
|
||||
}
|
||||
},
|
||||
"menstrual_products": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
|
|
|
@ -5831,6 +5831,63 @@
|
|||
"render": "Jouw traject"
|
||||
}
|
||||
},
|
||||
"grab_rail": {
|
||||
"tagRenderings": {
|
||||
"has_grab_rail_behind": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Heeft een grijpbeugel <b>achter</b> de toilet"
|
||||
},
|
||||
"1": {
|
||||
"then": "Heeft <i>geen</i> grijpbeugel achter de toilet"
|
||||
}
|
||||
},
|
||||
"question": "Heeft deze toilet een grijpbeugel achter de toilet?"
|
||||
},
|
||||
"has_grab_rail_lr": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Grijpbeugels aan beide zijdes"
|
||||
},
|
||||
"1": {
|
||||
"then": "Grijpbeugels enkel aan de <b>linkderzijde</b>"
|
||||
},
|
||||
"2": {
|
||||
"then": "Grijpbeugels enkel aan de <b>rechterkant</b>"
|
||||
},
|
||||
"3": {
|
||||
"then": "<b>Geen</b> grijpbeugels"
|
||||
}
|
||||
},
|
||||
"question": "Is er een handgreep of grijpbeugel?"
|
||||
},
|
||||
"is_foldable": {
|
||||
"renderings": {
|
||||
"0": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "De grijpbeugel aan de {{TRANSL}}kant is <b>opklapbaar</b>"
|
||||
},
|
||||
"1": {
|
||||
"then": "De grijpbeugel aan de {{TRANSL}}kant is niet opklapbaar"
|
||||
}
|
||||
},
|
||||
"question": "Is de grijpbeugel aan de {{TRANSL}}kant opklapbaar?"
|
||||
}
|
||||
},
|
||||
"rewrite": {
|
||||
"into": {
|
||||
"0": {
|
||||
"1": "linker"
|
||||
},
|
||||
"1": {
|
||||
"1": "rechter"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"grave": {
|
||||
"presets": {
|
||||
"0": {
|
||||
|
@ -9024,6 +9081,15 @@
|
|||
"render": "Winkel"
|
||||
}
|
||||
},
|
||||
"shower": {
|
||||
"tagRenderings": {
|
||||
"grab_rail.has_grab_rail_lr": {
|
||||
"override": {
|
||||
"questionHint": "Links en rechts zijn zoals wanneer je <b>de douche binnenstapt</b>"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"slow_roads": {
|
||||
"description": "Alle verkeersvrije wegen",
|
||||
"name": "Paadjes, trage wegen en autoluwe straten",
|
||||
|
@ -9948,6 +10014,11 @@
|
|||
"question": "Zijn deze toiletten gescheiden op basis van geslacht?",
|
||||
"questionHint": "Is er een aparte ruimte voor mannen en vrouwen en zijn deze ruimtes ook expliciet aangegeven?"
|
||||
},
|
||||
"grab_rail.has_grab_rail_lr": {
|
||||
"override": {
|
||||
"questionHint": "Links en rechts zijn zoals wanneer je <b>zit</b> op de toilet"
|
||||
}
|
||||
},
|
||||
"menstrual_products": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue