180 lines
No EOL
5 KiB
JSON
180 lines
No EOL
5 KiB
JSON
{
|
|
"id": "toilets",
|
|
"title": "Open Toilet Map",
|
|
"description": "A map of public toilets",
|
|
"maintainer": "MapComplete",
|
|
"version": "2020-08-29",
|
|
"language": [
|
|
"en"
|
|
],
|
|
"startZoom": 12,
|
|
"startLat": 51.2095,
|
|
"startLon": 3.2222,
|
|
"widenFactor": 0.05,
|
|
"icon": "./assets/themes/toilets/toilets.svg",
|
|
"layers": [
|
|
{
|
|
"id": "Toilet",
|
|
"name": "Toilets",
|
|
"overpassTags": "amenity=toilets",
|
|
"title": "Toilet",
|
|
"icon": {
|
|
"render": "./assets/themes/toilets/toilets.svg",
|
|
"mappings": [
|
|
{
|
|
"if": "wheelchair=yes",
|
|
"then": "./assets/themes/toilets/wheelchair.svg"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"render": "#0000ff"
|
|
},
|
|
"minzoom": 12,
|
|
"wayHandling": 2,
|
|
"presets": [
|
|
{
|
|
"title": "Toilet",
|
|
"tags": [
|
|
"amenity=toilets"
|
|
],
|
|
"description": "A publicly accessible toilet or restroom"
|
|
},
|
|
{
|
|
"title": "Toilets with wheelchair accessible toilet",
|
|
"tags": [
|
|
"amenity=toilets",
|
|
"wheelchair=yes"
|
|
],
|
|
"description": "A restroom which has at least one wheelchair-accessible toilet"
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"pictures",
|
|
{
|
|
"question": "Are these toilets publicly accessible?",
|
|
"render": "Access is {access}",
|
|
"freeform": {
|
|
"key": "access",
|
|
"addExtraTags": [
|
|
"fixme=the tag access was filled out by the user and might need refinement"
|
|
]
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "access=yes",
|
|
"then": "Public access"
|
|
},
|
|
{
|
|
"if": "access=customers",
|
|
"then": "Only access to customers"
|
|
},
|
|
{
|
|
"if": "access=no",
|
|
"then": "Not accessible"
|
|
},
|
|
{
|
|
"if": "access=key",
|
|
"then": "Accessible, but one has to ask a key to enter"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": "Are these toilets free to use?",
|
|
"mappings": [
|
|
{
|
|
"then": "These are paid toilets",
|
|
"if": "fee=yes"
|
|
},
|
|
{
|
|
"if": "fee=no",
|
|
"then": "Free to use"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": "How much does one have to pay for these toilets?",
|
|
"render": "The fee is {charge}",
|
|
"condition": "fee=yes",
|
|
"freeform": {
|
|
"key": "charge",
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"question": "Is there a dedicated toilet for wheelchair users",
|
|
"mappings": [
|
|
{
|
|
"then": "There is a dedicated toilet for wheelchair users",
|
|
"if": "wheelchair=yes"
|
|
},
|
|
{
|
|
"if": "wheelchair=no",
|
|
"then": "No wheelchair access"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": "Which kind of toilets are this?",
|
|
"mappings": [
|
|
{
|
|
"if": "toilets:position=seated",
|
|
"then": "There are only seated toilets"
|
|
},
|
|
{
|
|
"if": "toilets:position=urinals",
|
|
"then": "There are only urinals here"
|
|
},
|
|
{
|
|
"if": "toilets:position=squat",
|
|
"then": "There are only squat toilets here"
|
|
},
|
|
{
|
|
"if": "toilets:position=seated;urinals",
|
|
"then": "Both seated toilets and urinals are available here"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": "Is a changing table (to change diapers) available?",
|
|
"mappings": [
|
|
{
|
|
"then": "A changing table is available",
|
|
"if": "changing_table=yes"
|
|
},
|
|
{
|
|
"if": "changing_table=no",
|
|
"then": "No changing table is available"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"question": "Where is the changing table located?",
|
|
"render": "The changing table is located at {changing_table:location}",
|
|
"condition": "changing_table=yes",
|
|
"freeform": {
|
|
"key": "changing_table:location"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"then": "The changing table is in the toilet for women. ",
|
|
"if": "changing_table:location=female_toilet"
|
|
},
|
|
{
|
|
"then": "The changing table is in the toilet for men. ",
|
|
"if": "changing_table:location=male_toilet"
|
|
},
|
|
{
|
|
"if": "changing_table:location=wheelchair_toilet",
|
|
"then": "The changing table is in the toilet for wheelchair users. "
|
|
},
|
|
{
|
|
"if": "changing_table:location=dedicated_room",
|
|
"then": "The changing table is in a dedicated room. "
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |