mapcomplete/assets/themes/hailhydrant/hailhydrant.json

548 lines
13 KiB
JSON
Raw Normal View History

2021-04-04 03:14:37 +02:00
{
"id": "hailhydrant",
2021-04-04 03:14:37 +02:00
"title": {
"en": "Hydrants, Extinguishers, Fire stations, and Rescue stations."
2021-04-04 03:14:37 +02:00
},
"shortDescription": {
"en": "Map to show hydrants, extinguishers, fire stations, and rescue stations."
2021-04-04 03:14:37 +02:00
},
"description": {
"en": "On this map you can find and update hydrants, fire stations, rescue 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."
2021-04-04 03:14:37 +02:00
},
"language": [
"en"
],
"maintainer": "",
2021-04-05 05:09:15 +02:00
"icon": "assets/themes/hailhydrant/logo.svg",
2021-04-04 03:14:37 +02:00
"version": "0",
"startLat": 13.67801,
"startLon": 121.6625,
"startZoom": 6,
"widenFactor": 0.05,
"socialImage": "",
"layers": [
{
"id": "hydrants",
"name": {
"en": "Map of hydrants"
},
"minzoom": 14,
"overpassTags": {
"and": [
"emergency=fire_hydrant"
]
},
"title": {
"render": {
"en": "Hydrant"
}
},
"description": {
"en": "Map layer to show fire hydrants."
},
"tagRenderings": [
{
"question": {
"en": "What color is the hydrant?"
2021-04-04 03:14:37 +02:00
},
"render": {
"en": "The hydrant color is {colour}"
2021-04-04 03:14:37 +02:00
},
"freeform": {
"key": "colour"
},
"mappings": [
2021-04-05 05:17:18 +02:00
{
"if": {
"and": [
"colour=yellow"
2021-04-05 05:17:18 +02:00
]
},
"then": {
"en": "The hydrant color is yellow."
2021-04-05 05:17:18 +02:00
}
},
2021-04-04 03:14:37 +02:00
{
"if": {
"and": [
"colour=red"
2021-04-04 03:14:37 +02:00
]
},
"then": {
"en": "The hydrant color is red."
2021-04-04 03:14:37 +02:00
}
}
]
},
{
"question": {
"en": "What type of hydrant is it?"
},
"freeform": {
"key": "fire_hydrant:type"
},
"render": {
"en": " Hydrant type: {fire_hydrant:type}"
},
"mappings": [
{
"if": {
"and": [
"fire_hydrant:type=pillar"
]
},
"then": {
"en": "<img style=\"width:15px\" src=\"https://mapcomplete.braindeaddev.com/assets/layers/fire/hydrant_pillar.svg\" /> Pillar type."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"fire_hydrant:type=pipe"
]
},
"then": {
"en": "<img style=\"width:15px\" src=\"https://mapcomplete.braindeaddev.com/assets/layers/fire/hydrant_unknown.svg\" /> Pipe type."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"fire_hydrant:type=wall"
]
},
"then": {
"en": "<img style=\"width:15px\" src=\"https://mapcomplete.braindeaddev.com/assets/layers/fire/hydrant_unknown.svg\" /> Wall type."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"fire_hydrant:type=underground"
]
},
"then": {
"en": "<img style=\"width:15px\" src=\"https://mapcomplete.braindeaddev.com/assets/layers/fire/hydrant_underground.svg\" /> Underground type."
2021-04-04 03:14:37 +02:00
}
}
]
},
{
"question": {
"en": "Update the lifecycle status of the hydrant."
},
"render": {
"en": "Lifecycle status"
},
"freeform": {
"key": "disused:emergency"
},
"mappings": [
{
"if": {
"and": [
"emergency=fire_hydrant"
]
},
"then": {
"en": "The hydrant is (fully or partially) working."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"disused:emergency=fire_hydrant",
"emergency="
]
},
"then": {
"en": "The hydrant is unavailable."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"removed:emergency=fire_hydrant",
"emergency="
]
},
"then": {
"en": "The hydrant has been removed."
2021-04-04 03:14:37 +02:00
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://raw.githubusercontent.com/mapamore/MapComplete/master/assets/themes/hailhydrant/hydrant.svg"
2021-04-04 03:14:37 +02:00
},
"width": {
"render": "8"
},
"iconSize": {
"render": "20,20,center"
2021-04-04 03:14:37 +02:00
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"emergency=fire_hydrant"
],
"title": {
"en": "Fire hydrant"
2021-04-04 03:14:37 +02:00
},
"description": {
"en": "Add a new fire hydrant to the map."
2021-04-04 03:14:37 +02:00
}
}
],
"wayHandling": 1,
"osmSource": {
"overpassTags": {
"and": [
"emergency=fire_hydrant"
]
}
}
},
{
"id": "extinguisher",
"name": {
"en": "Map of fire extinguishers."
},
"minzoom": 14,
"overpassTags": {
"and": [
"emergency=fire_extinguisher"
]
},
"title": {
"render": {
"en": "Extinguishers"
}
},
"description": {
"en": "Map layer to show fire hydrants."
},
"tagRenderings": [
{
"render": {
"en": "Location: {location}"
},
"question": {
"en": "Where is it positioned?"
},
"mappings": [
{
"if": {
"and": [
"location=indoor"
]
},
"then": {
"en": "Found indoors."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"location=outdoor"
]
},
"then": {
"en": "Found outdoors."
2021-04-04 03:14:37 +02:00
}
}
],
"freeform": {
"key": "location"
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Twemoji12_1f9ef.svg"
2021-04-04 03:14:37 +02:00
},
"width": {
"render": "8"
},
"iconSize": {
"render": "20,20,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"emergency=fire_extinguisher"
],
"title": {
"en": "Fire extinguisher"
2021-04-04 03:14:37 +02:00
},
"description": {
"en": "Add a fire extinguisher to the map"
}
}
],
"wayHandling": 1,
"osmSource": {
"overpassTags": {
"and": [
"emergency=fire_extinguisher"
]
}
}
},
{
"id": "stations",
"name": {
"en": "Map of fire stations"
},
"minzoom": 12,
"overpassTags": {
"and": [
"amenity=fire_station"
]
},
"title": {
"render": {
"en": "Fire Station"
}
},
"description": {
"en": "Map layer to show fire stations."
},
"tagRenderings": [
{
"freeform": {
"key": "name"
},
"question": {
"en": "What is the name of this station?"
},
"render": {
"en": "This station is called {name}."
}
},
2021-04-04 03:14:37 +02:00
{
"freeform": {
"key": "addr:street"
},
"question": {
"en": " What is the street name where the station located?"
2021-04-04 03:14:37 +02:00
},
"render": {
"en": "This station is along a highway called {addr:street}."
2021-04-04 03:14:37 +02:00
}
},
{
"question": {
"en": "Where is the station located? (e.g. name of neighborhood, villlage, or town)"
2021-04-04 03:14:37 +02:00
},
"freeform": {
"key": "addr:place"
},
"render": {
"en": "Th isstation is to be found within {addr:place}."
2021-04-04 03:14:37 +02:00
}
},
{
"question": {
"en": "What agency operates this station?"
},
"render": {
"en": "This station is operated by {operator}."
2021-04-04 03:14:37 +02:00
},
"freeform": {
"key": "operator"
},
"mappings": [
{
"if": {
"and": [
"operator=Bureau of Fire Protection",
"operator:type=government"
2021-04-04 03:14:37 +02:00
]
},
"then": {
"en": "Bureau of Fire Protection"
}
}
]
},
{
"question": {
"en": "How is the station operator classified??"
2021-04-04 03:14:37 +02:00
},
"render": {
"en": "The operator is a(n) {operator:type} entity."
2021-04-04 03:14:37 +02:00
},
"freeform": {
"key": "operator:type"
},
"mappings": [
{
"if": {
"and": [
"operator:type=government"
2021-04-04 03:14:37 +02:00
]
},
"then": {
"en": "The station is operated by the government."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"operator:type=community"
2021-04-04 03:14:37 +02:00
]
},
"then": {
"en": "The station is operated by a community-based, or informal organization."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"operator:type=ngo"
2021-04-04 03:14:37 +02:00
]
},
"then": {
"en": "The station is operated by a formal group of volunteers."
2021-04-04 03:14:37 +02:00
}
},
{
"if": {
"and": [
"operator:type=private"
]
},
"then": {
"en": "The station is privately operated."
2021-04-04 03:14:37 +02:00
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/1/19/Twemoji12_1f692.svg"
2021-04-04 03:14:37 +02:00
},
"width": {
"render": "8"
},
"iconSize": {
"render": "35,35,center"
2021-04-04 03:14:37 +02:00
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"amenity=fire_station"
],
"title": {
"en": "fire station"
},
"description": {
"en": "Add a fire station to the map."
}
}
],
"osmSource": {
"overpassTags": {
"and": [
"amenity=fire_station"
]
}
}
},
{
"id": "rescuestation",
"name": {
"en": "Map of rescue stations"
},
"minzoom": 12,
"overpassTags": {
"and": [
"amenity=rescue_station"
]
},
"title": {
"render": {
"en": "Rescue Station"
}
},
"description": {
"en": "Map layer to show rescue stations."
},
"tagRenderings": [
{
"freeform": {
"key": "image"
},
"render": {
"en": "{all_tags()}"
},
"question": {
"en": "Available images."
}
},
{
"question": {
"en": "What is this service called?"
},
"freeform": {
"key": "name"
},
"render": {
"en": "This service is called {name}."
}
}
],
2021-04-04 03:14:37 +02:00
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/e/eb/Twemoji12_26d1.svg"
2021-04-04 03:14:37 +02:00
},
"width": {
"render": "8"
},
"iconSize": {
"render": "35,35,center"
2021-04-04 03:14:37 +02:00
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"amenity=rescue_station"
],
"title": {
"en": "rescue station"
},
"description": {
"en": "Add a rescue or emergency service station to the map"
}
}
],
"osmSource": {
"overpassTags": {
"and": [
"amenity=rescue_station"
]
}
}
}
],
"roamingRenderings": [
{}
],
"defaultBackgroundId": "HDM_HOT"
}