Split hailhydrant into layers

This commit is contained in:
Pieter Vander Vennet 2021-11-28 14:52:44 +01:00
parent d9a323d477
commit f7e411527f
25 changed files with 2067 additions and 2087 deletions

View file

@ -915,203 +915,6 @@
},
"hailhydrant": {
"description": "On this map you can find and update hydrants, fire stations, ambulance stations, and extinguishers in your favorite neighborhoods.\n\nYou can track your precise location (mobile only) and select layers that are relevant for you in the bottom left corner. You can also use this tool to add or edit pins (points of interest) to the map and provide additional details by answering available questions.\n\nAll changes you make will automatically be saved in the global database of OpenStreetMap and can be freely re-used by others.",
"layers": {
"0": {
"description": "Map layer to show fire hydrants.",
"name": "Map of hydrants",
"presets": {
"0": {
"description": "A hydrant is a connection point where firefighters can tap water. It might be located underground.",
"title": "Fire hydrant"
}
},
"tagRenderings": {
"hydrant-color": {
"mappings": {
"0": {
"then": "The hydrant color is unknown."
},
"1": {
"then": "The hydrant color is yellow."
},
"2": {
"then": "The hydrant color is red."
}
},
"question": "What color is the hydrant?",
"render": "The hydrant color is {colour}"
},
"hydrant-state": {
"mappings": {
"0": {
"then": "The hydrant is (fully or partially) working"
},
"1": {
"then": "The hydrant is unavailable"
},
"2": {
"then": "The hydrant has been removed"
}
},
"question": "Is this hydrant still working?"
},
"hydrant-type": {
"mappings": {
"0": {
"then": "The hydrant type is unknown."
},
"1": {
"then": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> Pillar type."
},
"2": {
"then": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Pipe type."
},
"3": {
"then": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Wall type."
},
"4": {
"then": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" /> Underground type."
}
},
"question": "What type of hydrant is it?",
"render": " Hydrant type: {fire_hydrant:type}"
}
},
"title": {
"render": "Hydrant"
}
},
"1": {
"description": "Map layer to show fire hydrants.",
"name": "Map of fire extinguishers.",
"presets": {
"0": {
"description": "A fire extinguisher is a small, portable device used to stop a fire",
"title": "Fire extinguisher"
}
},
"tagRenderings": {
"extinguisher-location": {
"mappings": {
"0": {
"then": "Found indoors."
},
"1": {
"then": "Found outdoors."
}
},
"question": "Where is it positioned?",
"render": "Location: {location}"
}
},
"title": {
"render": "Extinguishers"
}
},
"2": {
"description": "Map layer to show fire stations.",
"name": "Map of fire stations",
"presets": {
"0": {
"description": "A fire station is a place where the fire trucks and firefighters are located when not in operation.",
"title": "Fire station"
}
},
"tagRenderings": {
"station-agency": {
"mappings": {
"0": {
"then": "Bureau of Fire Protection"
}
},
"question": "What agency operates this station?",
"render": "This station is operated by {operator}."
},
"station-name": {
"question": "What is the name of this fire station?",
"render": "This station is called {name}."
},
"station-operator": {
"mappings": {
"0": {
"then": "The station is operated by the government."
},
"1": {
"then": "The station is operated by a community-based, or informal organization."
},
"2": {
"then": "The station is operated by a formal group of volunteers."
},
"3": {
"then": "The station is privately operated."
}
},
"question": "How is the station operator classified?",
"render": "The operator is a(n) {operator:type} entity."
},
"station-place": {
"question": "Where is the station located? (e.g. name of neighborhood, villlage, or town)",
"render": "This station is found within {addr:place}."
},
"station-street": {
"question": " What is the street name where the station located?",
"render": "This station is along a highway called {addr:street}."
}
},
"title": {
"render": "Fire Station"
}
},
"3": {
"description": "An ambulance station is an area for storage of ambulance vehicles, medical equipment, personal protective equipment, and other medical supplies.",
"name": "Map of ambulance stations",
"presets": {
"0": {
"description": "Add an ambulance station to the map",
"title": "Ambulance station"
}
},
"tagRenderings": {
"ambulance-agency": {
"question": "What agency operates this station?",
"render": "This station is operated by {operator}."
},
"ambulance-name": {
"question": "What is the name of this ambulance station?",
"render": "This station is called {name}."
},
"ambulance-operator-type": {
"mappings": {
"0": {
"then": "The station is operated by the government."
},
"1": {
"then": "The station is operated by a community-based, or informal organization."
},
"2": {
"then": "The station is operated by a formal group of volunteers."
},
"3": {
"then": "The station is privately operated."
}
},
"question": "How is the station operator classified?",
"render": "The operator is a(n) {operator:type} entity."
},
"ambulance-place": {
"question": "Where is the station located? (e.g. name of neighborhood, villlage, or town)",
"render": "This station is found within {addr:place}."
},
"ambulance-street": {
"question": " What is the street name where the station located?",
"render": "This station is along a highway called {addr:street}."
}
},
"title": {
"render": "Ambulance Station"
}
}
},
"shortDescription": "Map to show hydrants, extinguishers, fire stations, and ambulance stations.",
"title": "Hydrants, Extinguishers, Fire stations, and Ambulance stations."
},