mapcomplete/assets/layers/fire_hydrants/fire_hydrants.json

507 lines
22 KiB
JSON

{
"id": "fire_hydrants",
"name": {
"nl": "Hydranten",
"en": "Hydrants"
},
"minzoom": 15,
"source": {
"osmTags": {
"or": [
"emergency=fire_hydrant",
"disused:emergency=fire_hydrant",
"abandoned:emergency=fire_hydrant",
{"and": [
"removed:emergency=fire_hydrant",
"has_marker=yes"
]}
]
}
},
"title": {
"render": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant"
},
"mappings": [
{"if": {"or": [
"disused:emergency=fire_hydrant",
"abandoned:emergency=fire_hydrant"
]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_disused.svg' style='width:18px;height:18px;display:inline' alt=''/> Onbruikbare hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_disused.svg' style='width:18px;height:18px;display:inline' alt=''/> Unusable hydrant"
}},
{"if": {"and": ["removed:emergency=fire_hydrant", "has_marker=yes"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_marker_only.svg' style='width:18px;height:18px;display:inline' alt=''/> Bordje bij verwijderde hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_marker_only.svg' style='width:18px;height:18px;display:inline' alt=''/> Marker for removed hydrant"
}},
{"if": "removed:emergency=fire_hydrant", "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_disused.svg' style='width:18px;height:18px;display:inline' alt=''/> Verwijderde hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_disused.svg' style='width:18px;height:18px;display:inline' alt=''/> Removed hydrant"
}},
{"if": "has_marker=no", "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_attention.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant zonder bordje",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_attention.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant without marker"
}},
{"if": "ref~*", "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant {ref}",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant {ref}"
}}
]
},
"tagRenderings": [
{
"question": {
"nl": "Welk soort hydrant is het?",
"en": "What type of hydrant is it?"
},
"condition": {"or": [
"removed:emergency!=fire_hydrant",
"fire_hydrant:type~*"
]},
"mappings": [
{"if": {"and": ["fire_hydrant:type=underground"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_underground.svg' style='width:18px;height:18px;display:inline' alt=''/> Ondergrondse hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_underground.svg' style='width:18px;height:18px;display:inline' alt=''/> Underground hydrant"
}},
{"if": {"and": ["fire_hydrant:type=pillar"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_pillar.svg' style='width:18px;height:18px;display:inline' alt=''/> Bovengrondse pilaarachtige hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_pillar.svg' style='width:18px;height:18px;display:inline' alt=''/> Overground pillar hydrant"
}},
{"if": {"and": ["fire_hydrant:type=pipe"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Bovengrondse pijphydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Overground pipe hydrant"
}},
{"if": {"and": ["fire_hydrant:type=wall"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Hydrant aan muur",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Wall-attached hydrant"
}},
{"if": {"and": ["fire_hydrant:type~*"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Ander soort hydrant",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_unknown.svg' style='width:18px;height:18px;display:inline' alt=''/> Other type of hydrant"
}, "hideInAnswer": true }
]
},
{
"question": {
"nl": "Wat is de meest opvallende kleur van de hydrant?",
"en": "What is the most prominent colour of the hydrant?"
},
"render": {
"nl": "Kleur (in het Engels): {colour}",
"en": "Colour: {colour}"
},
"condition": { "and": [
"removed:emergency!=fire_hydrant",
"fire_hydrant:type!=underground",
"fire_hydrant:type!=pipe"
] },
"freeform": { "key": "colour" },
"mappings": [
{"if": {"and": ["colour=red"]}, "then": {
"nl": "De hydrant is rood",
"en": "The hydrant is red"
}},
{"if": {"and": ["colour=yellow"]}, "then": {
"nl": "De hydrant is geel",
"en": "The hydrant is yellow"
}},
{"if": {"and": ["colour=grey"]}, "then": {
"nl": "De hydrant is grijs",
"en": "The hydrant is grey"
}}
]
},
{
"question": {
"nl": "Wat is de nominale diameter van de aanvoerleiding in millimeter?",
"en": "What is the nominal diameter of the supply in millimeters?"
},
"render": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: {fire_hydrant:diameter}",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: {fire_hydrant:diameter}"
},
"freeform": {
"key": "fire_hydrant:diameter",
"type": "pnat"
},
"condition": { "or": [
"has_marker!=no",
"fire_hydrant:diameter~*"
] },
"mappings": [
{ "if": { "and": [ "fire_hydrant:diameter=75" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 75&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 75&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=80" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 80&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 80&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=90" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 90&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 90&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=100" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 100&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 100&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=110" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 110&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 110&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=160" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 110&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 110&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=200" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 200&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 200&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=225" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 225&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 225&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter=250" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: 250&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: 250&nbsp;mm"
} },
{ "if": { "and": [ "fire_hydrant:diameter~^[0-9.]+$" ] }, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominale diameter van aanvoerleiding: {fire_hydrant:diameter}&nbsp;mm",
"en": "<img src='./assets/layers/fire_hydrants/diameter.svg' style='width:18px;height:18px;display:inline' alt=''/> Nominal diameter of supply: {fire_hydrant:diameter}&nbsp;mm"
}, "hideInAnswer": true }
]
},
{
"render": {
"nl": "Referentiecode: {ref}",
"en": "Reference code: {ref}"
},
"question": {
"nl": "Heeft de hydrant een referentiecode?",
"en": "Does the hydrant have a reference code?"
},
"freeform": {
"key": "ref",
"addExtraTags": [ "noref=" ]
},
"mappings": [
{ "if": { "and": [
"ref=",
"noref=yes"
] }, "then": {
"nl": "De hydrant heeft geen referentiecode.",
"en": "The hydrant does not have a reference code."
} }
]
},
{
"question": {
"nl": "Hoeveel aansluitingen zijn er?",
"en": "How many couplings are there?"
},
"render": {
"nl": "Aantal aansluitingen: {couplings}",
"en": "Amount of couplings: {couplings}"
},
"freeform": {
"key": "couplings",
"type": "pnat"
},
"condition": {"or": [
{"and": [
{"or": ["fire_hydrant:type=pillar", "fire_hydrant:type=wall"]},
"removed:emergency!=fire_hydrant"
]},
"couplings~^[0-9]+$"
]}
},
{
"question": {
"nl": "Update de status van de hydrant.",
"en": "Update the status of the hydrant."
},
"mappings": [
{ "if": { "and": [
"emergency=fire_hydrant",
"disused:emergency=", "abandoned:emergency=", "removed:emergency="
] }, "then": {
"nl": "De hydrant lijkt (volledig of gedeeltelijk) functioneel.",
"en": "The hydrant looks like it's (fully or partially) working."
} },
{ "if": { "and": [
"disused:emergency=fire_hydrant",
"abandoned:emergency=", "emergency=", "removed:emergency="
] }, "then": {
"nl": "De hydrant is onbruikbaar.",
"en": "The hydrant is unavailable for use."
} },
{ "if": { "and": [
"abandoned:emergency=fire_hydrant",
"disused:emergency=", "emergency=", "removed:emergency="
] }, "then": {
"nl": "De hydrant is onbruikbaar.",
"en": "The hydrant is unavailable for use."
}, "hideInAnswer": true },
{ "if": { "and": [
"removed:emergency=fire_hydrant",
"disused:emergency=", "abandoned:emergency=", "emergency="
] }, "then": {
"nl": "De hydrant is verwijderd.",
"en": "The hydrant has been removed."
} }
]
},
{
"#": "Marker for working hydrant",
"question": {
"nl": "Is er een bordje aanwezig?",
"en": "Is there a marker for the hydrant?"
},
"condition": {"and": ["emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=no"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> Een bordje ontbreekt!",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> A marker is missing!"
}},
{"if": {"and": ["has_marker="]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> Er is een bordje.",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> A marker is present."
}},
{"if": {"and": ["has_marker=yes"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> Er is een bordje.",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> A marker is present."
}, "hideInAnswer": true }
]
},
{
"#": "Marker for disused hydrant",
"question": {
"nl": "Is er een bordje aanwezig?",
"en": "Is there a marker for the hydrant?"
},
"condition": {"or": ["disused:emergency=fire_hydrant", "abandoned:emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=no"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> Er is geen bordje.",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> There's no marker."
}},
{"if": {"and": ["has_marker=yes"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> Er is een bordje.",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg' style='width:18px;height:18px;display:inline' alt=''/> A marker is present."
}}
]
},
{
"#": "Marker for removed hydrant",
"question": {
"nl": "Is er nog (ten onrechte) een bordje voor de verwijderde hydrant?",
"en": "Is there a (now incorrect) marker left for the removed hydrant?"
},
"condition": {"and": ["removed:emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=yes"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_marker_only.svg' style='width:18px;height:18px;display:inline' alt=''/> Er is ten onrechte een bordje!",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_marker_only.svg' style='width:18px;height:18px;display:inline' alt=''/> There's a marker here, but no hydrant!"
}},
{"if": {"and": ["has_marker=no"]}, "then": {
"nl": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> Het bordje is ook weggehaald.",
"en": "<img src='./assets/layers/fire_hydrants/hydrant_hasmarker_no.svg' style='width:18px;height:18px;display:inline' alt=''/> The marker is removed too."
}}
]
},
{
"render": {
"nl": "Omgeving: {fire_hydrant:position}",
"en": "Position: {fire_hydrant:position}"
},
"freeform": {"key": "fire_hydrant:position"},
"condition": {"and": ["removed:emergency!=fire_hydrant"]},
"mappings": [
{"if": {"and": ["fire_hydrant:position=lane"]}, "then": {
"nl": "In of naast de rijbaan",
"en": "In or along the road"
}},
{"if": {"and": ["fire_hydrant:position=parking_lot"]}, "then": {
"nl": "In een parking",
"en": "In a parking lot"
}},
{"if": {"and": ["fire_hydrant:position=sidewalk"]}, "then": {
"nl": "Op het trottoir",
"en": "On a sidewalk"
}},
{"if": {"and": ["fire_hydrant:position=cycleway"]}, "then": {
"nl": "Op het fietspad",
"en": "On a cycleway"
}},
{"if": {"and": ["fire_hydrant:position=green"]}, "then": {
"nl": "In het gras",
"en": "In a grassy area"
}},
{"if": {"and": ["fire_hydrant:position="]}, "then": {
"nl": "Locatie: anders / onbekend",
"en": "Location: other / unknown"
}}
]
},
{
"render": {
"nl": "Extra info: <i>{description}</i>",
"en": "Extra info: <i>{description}</i>"
},
"freeform": {"key": "description"}
},
{
"question": {
"nl": "Heb je opmerkingen die niet pasten in de andere vragen?",
"en": "Any other remarks that don't fit in the other questions?"
},
"render": {
"nl": "Extra info via MapComplete: <i>{description:0}</i>",
"en": "Extra info via MapComplete: <i>{description:0}</i>"
},
"freeform": {"key": "description:0"}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/layers/fire_hydrants/hydrant_unknown.svg",
"mappings": [
{ "if": { "or": [
"disused:emergency=fire_hydrant",
"abandoned:emergency=fire_hydrant"
] }, "then": "./assets/layers/fire_hydrants/hydrant_disused.svg" },
{ "if": { "and": [
"removed:emergency=fire_hydrant",
"has_marker=yes"
] }, "then": "./assets/layers/fire_hydrants/hydrant_marker_only.svg" },
{ "if": { "and": [
"emergency=fire_hydrant",
"has_marker=no"
] }, "then": "./assets/layers/fire_hydrants/hydrant_attention.svg" },
{ "if": { "and": [
"emergency=fire_hydrant",
"fire_hydrant:type=underground"
] }, "then": "./assets/layers/fire_hydrants/hydrant_underground.svg" },
{ "if": { "and": [
"emergency=fire_hydrant",
"fire_hydrant:type=pillar"
] }, "then": "./assets/layers/fire_hydrants/hydrant_pillar.svg" }
]
},
"wayHandling": 1,
"width": {
"render": "8"
},
"iconSize": {
"render": "18,18,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"emergency=fire_hydrant",
"fire_hydrant:type=underground"
],
"title": {
"nl": "Ondergrondse hydrant",
"en": "Underground hydrant"
}
},
{
"tags": [
"emergency=fire_hydrant",
"fire_hydrant:type=pillar"
],
"title": {
"nl": "Bovengrondse pilaarachtige hydrant",
"en": "Overground pillar hydrant"
},
"description": {
"nl": "Een hydrant met bovengrondse aansluitingen, zoals de stereotype brandkraan uit de film.",
"en": "A hydrant with overground couplings, like the stereotypical hydrant from the movie."
}
},
{
"tags": [
"emergency=fire_hydrant",
"fire_hydrant:type=pipe"
],
"title": {
"nl": "Bovengrondse pijphydrant",
"en": "Overground pipe hydrant"
},
"description": {
"nl": "Een hydrant die niet veel meer is dan een pijpleiding die boven de grond eindigt. Vooral bij blusmeren, waarbij de leiding niet onder druk staat en de brandweerwagen water moet oppompen.",
"en": "A hydrant that is little more than a tube, ending overground. Especially with \"dry hydrants\", where the fire engine pumps water from a reservoir."
}
},
{
"tags": [
"emergency=fire_hydrant",
"fire_hydrant:type=wall"
],
"title": {
"nl": "Hydrant aan muur",
"en": "Wall-attached hydrant"
},
"description": {
"nl": "Een hydrant aan de muur, vooral in tunnels. Niet verwarren met een brandslang: een hydrant is een aansluiting voor de brandweer, een brandslang kan door iedereen gebruikt worden.",
"en": "A hydrant on the wall, especially in tunnels. Do not confuse with a fire hose: a hydrant is a connection point for fire fighters, a hose can be used by anyone."
}
}
]
}