mapcomplete/assets/themes/toilets/toilets.json

178 lines
5 KiB
JSON
Raw Normal View History

2020-08-22 16:00:33 +02:00
{
"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",
2020-08-22 16:00:33 +02:00
"layers": [
{
"id": "Toilet",
"name": "Toilets",
"overpassTags": "amenity=toilets",
"title": "Toilet",
2020-08-22 16:00:33 +02:00
"icon": {
"render": "./assets/themes/toilets/toilets.svg",
"mappings": [
{
"if": "wheelchair=yes",
"then": "./assets/themes/toilets/wheelchair.svg"
2020-08-22 16:00:33 +02:00
}
]
},
"color": {
"render": "#0000ff"
},
"minzoom": 12,
2020-08-22 16:00:33 +02:00
"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"
2020-08-22 16:00:33 +02:00
}
],
"tagRenderings": [
"pictures",
2020-08-22 16:00:33 +02:00
{
"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"
},
2020-08-22 16:00:33 +02:00
"mappings": [
{
"if": "access=yes",
"then": "Public access"
2020-08-22 16:00:33 +02:00
},
{
"if": "access=customers",
"then": "Only access to customers"
2020-08-22 16:00:33 +02:00
},
{
"if": "access=no",
"then": "Not accessible"
},
{
"if": "access=key",
"then": "Accessible, but one has to ask a key to enter"
2020-08-22 16:00:33 +02:00
}
]
2020-08-22 16:00:33 +02:00
},
{
"question": "Are these toilets free to use?",
2020-08-22 16:00:33 +02:00
"mappings": [
{
"then": "These are paid toilets",
"if": "fee=yes"
},
{
"if": "fee=no",
"then": "Free to use"
}
]
2020-08-22 16:00:33 +02:00
},
{
"question": "How much does one have to pay for these toilets?",
"render": "The fee is {charge}",
"condition": "fee=yes",
"freeform": {
"key": "charge",
"type": "string"
}
2020-08-22 16:00:33 +02:00
},
{
"question": "Is there a dedicated toilet for wheelchair users",
2020-08-22 16:00:33 +02:00
"mappings": [
{
"then": "There is a dedicated toilet for wheelchair users",
"if": "wheelchair=yes"
},
{
"if": "wheelchair=no",
"then": "No wheelchair access"
}
]
2020-08-22 16:00:33 +02:00
},
{
"question": "Which kind of toilets are this?",
2020-08-22 16:00:33 +02:00
"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"
}
]
2020-08-22 16:00:33 +02:00
},
{
"question": "Is a changing table (to change diapers) available?",
2020-08-22 16:00:33 +02:00
"mappings": [
{
"then": "A changing table is available",
"if": "changing_table=yes"
},
{
"if": "changing_table=no",
"then": "No changing table is available"
}
]
2020-08-22 16:00:33 +02:00
},
{
"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"
},
2020-08-22 16:00:33 +02:00
"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. "
}
]
2020-08-22 16:00:33 +02:00
}
]
2020-08-22 16:00:33 +02:00
}
]
2020-08-22 16:00:33 +02:00
}