diff --git a/assets/layers/fire_hydrants/diameter.svg b/assets/layers/fire_hydrants/diameter.svg
new file mode 100644
index 0000000..93d7c54
--- /dev/null
+++ b/assets/layers/fire_hydrants/diameter.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/assets/layers/fire_hydrants/fire_hydrants.json b/assets/layers/fire_hydrants/fire_hydrants.json
index bea16d1..e12c6d7 100644
--- a/assets/layers/fire_hydrants/fire_hydrants.json
+++ b/assets/layers/fire_hydrants/fire_hydrants.json
@@ -4,7 +4,7 @@
"nl": "Hydranten",
"en": "Hydrants"
},
- "minzoom": 14,
+ "minzoom": 15,
"source": {
"osmTags": {
"or": [
@@ -21,8 +21,8 @@
"title": {
"render": {
- "nl": " Hydrant",
- "en": " Hydrant"
+ "nl": " Hydrant",
+ "en": " Hydrant"
},
"mappings": [
@@ -30,28 +30,28 @@
"disused:emergency=fire_hydrant",
"abandoned:emergency=fire_hydrant"
]}, "then": {
- "nl": " Onbruikbare hydrant",
- "en": " Unusable hydrant"
+ "nl": " Onbruikbare hydrant",
+ "en": " Unusable hydrant"
}},
{"if": {"and": ["removed:emergency=fire_hydrant", "has_marker=yes"]}, "then": {
- "nl": " Bordje bij verwijderde hydrant",
- "en": " Marker for removed hydrant"
+ "nl": " Bordje bij verwijderde hydrant",
+ "en": " Marker for removed hydrant"
}},
{"if": "removed:emergency=fire_hydrant", "then": {
- "nl": " Verwijderde hydrant",
- "en": " Removed hydrant"
+ "nl": " Verwijderde hydrant",
+ "en": " Removed hydrant"
}},
{"if": "has_marker=no", "then": {
- "nl": " Hydrant zonder bordje",
- "en": " Hydrant without marker"
+ "nl": " Hydrant zonder bordje",
+ "en": " Hydrant without marker"
}},
{"if": "ref~*", "then": {
- "nl": " Hydrant {ref}",
- "en": " Hydrant {ref}"
+ "nl": " Hydrant {ref}",
+ "en": " Hydrant {ref}"
}}
]
},
@@ -70,28 +70,28 @@
"mappings": [
{"if": {"and": ["fire_hydrant:type=underground"]}, "then": {
- "nl": "Ondergrondse hydrant",
- "en": "Underground hydrant"
+ "nl": " Ondergrondse hydrant",
+ "en": " Underground hydrant"
}},
{"if": {"and": ["fire_hydrant:type=pillar"]}, "then": {
- "nl": "Bovengrondse pilaarachtige hydrant",
- "en": "Overground pillar hydrant"
+ "nl": " Bovengrondse pilaarachtige hydrant",
+ "en": " Overground pillar hydrant"
}},
{"if": {"and": ["fire_hydrant:type=pipe"]}, "then": {
- "nl": "Bovengrondse pijphydrant",
- "en": "Overground pipe hydrant"
+ "nl": " Bovengrondse pijphydrant",
+ "en": " Overground pipe hydrant"
}},
{"if": {"and": ["fire_hydrant:type=wall"]}, "then": {
- "nl": "Hydrant aan muur",
- "en": "Wall-attached hydrant"
+ "nl": " Hydrant aan muur",
+ "en": " Wall-attached hydrant"
}},
{"if": {"and": ["fire_hydrant:type~*"]}, "then": {
- "nl": "Ander soort hydrant",
- "en": "Other type of hydrant"
+ "nl": " Ander soort hydrant",
+ "en": " Other type of hydrant"
}, "hideInAnswer": true }
]
@@ -137,17 +137,62 @@
"en": "What is the nominal diameter of the supply in millimeters?"
},
"render": {
- "nl": "Nominale diameter van aanvoerleiding: {fire_hydrant:diameter}",
- "en": "Nominal diameter of supply: {fire_hydrant:diameter}"
+ "nl": " Nominale diameter van aanvoerleiding: {fire_hydrant:diameter}",
+ "en": " Nominal diameter of supply: {fire_hydrant:diameter}"
},
"freeform": {
"key": "fire_hydrant:diameter",
"type": "pnat"
},
"mappings": [
+ { "if": { "and": [ "fire_hydrant:diameter=75" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 75 mm",
+ "en": " Nominal diameter of supply: 75 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=80" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 80 mm",
+ "en": " Nominal diameter of supply: 80 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=90" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 90 mm",
+ "en": " Nominal diameter of supply: 90 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=100" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 100 mm",
+ "en": " Nominal diameter of supply: 100 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=110" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 110 mm",
+ "en": " Nominal diameter of supply: 110 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=160" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 110 mm",
+ "en": " Nominal diameter of supply: 110 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=200" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 200 mm",
+ "en": " Nominal diameter of supply: 200 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=225" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 225 mm",
+ "en": " Nominal diameter of supply: 225 mm"
+ } },
+
+ { "if": { "and": [ "fire_hydrant:diameter=250" ] }, "then": {
+ "nl": " Nominale diameter van aanvoerleiding: 250 mm",
+ "en": " Nominal diameter of supply: 250 mm"
+ } },
+
{ "if": { "and": [ "fire_hydrant:diameter~^[0-9.]+$" ] }, "then": {
- "nl": "Nominale diameter van aanvoerleiding: {fire_hydrant:diameter} mm",
- "en": "Nominal diameter of supply: {fire_hydrant:diameter} mm"
+ "nl": " Nominale diameter van aanvoerleiding: {fire_hydrant:diameter} mm",
+ "en": " Nominal diameter of supply: {fire_hydrant:diameter} mm"
}, "hideInAnswer": true }
],
"condition": {"or": [
@@ -252,16 +297,16 @@
"condition": {"and": ["emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=no"]}, "then": {
- "nl": "Een bordje ontbreekt!",
- "en": "A marker is missing!"
+ "nl": " Een bordje ontbreekt!",
+ "en": " A marker is missing!"
}},
{"if": {"and": ["has_marker="]}, "then": {
- "nl": "Er is een bordje voor de hydrant.",
- "en": "A marker is present."
+ "nl": " Er is een bordje voor de hydrant.",
+ "en": " A marker is present."
}},
{"if": {"and": ["has_marker=yes"]}, "then": {
- "nl": "Er is een bordje voor de hydrant.",
- "en": "A marker is present."
+ "nl": " Er is een bordje voor de hydrant.",
+ "en": " A marker is present."
}, "hideInAnswer": true }
]
},
@@ -274,13 +319,17 @@
"condition": {"or": ["disused:emergency=fire_hydrant", "abandoned:emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=no"]}, "then": {
- "nl": "Een bordje ontbreekt.",
- "en": "A marker is missing."
+ "nl": " Een bordje ontbreekt.",
+ "en": " A marker is missing."
}},
{"if": {"and": ["has_marker="]}, "then": {
- "nl": "Er is een bordje voor de hydrant.",
- "en": "A marker is present."
- }}
+ "nl": " Er is een bordje voor de hydrant.",
+ "en": " A marker is present."
+ }},
+ {"if": {"and": ["has_marker=yes"]}, "then": {
+ "nl": " Er is een bordje voor de hydrant.",
+ "en": " A marker is present."
+ }, "hideInAnswer": true }
]
},
{
@@ -292,12 +341,12 @@
"condition": {"and": ["removed:emergency=fire_hydrant"]},
"mappings": [
{"if": {"and": ["has_marker=yes"]}, "then": {
- "nl": "Er is ten onrechte een bordje!",
- "en": "There's a marker here, but no hydrant!"
+ "nl": " Er is ten onrechte een bordje!",
+ "en": " There's a marker here, but no hydrant!"
}},
{"if": {"and": ["has_marker=no"]}, "then": {
- "nl": "Het bordje is weggehaald.",
- "en": "The marker is removed too."
+ "nl": " Het bordje is weggehaald.",
+ "en": " The marker is removed too."
}}
]
},
@@ -335,8 +384,8 @@
}},
{"if": {"and": ["fire_hydrant:position="]}, "then": {
- "nl": "Anders / Onbekend",
- "en": "Other / Unknown"
+ "nl": "Locatie: anders / onbekend",
+ "en": "Location: other / unknown"
}}
]
},
@@ -382,7 +431,7 @@
{ "if": { "and": [
"emergency=fire_hydrant",
"fire_hydrant:type=pillar"
- ] }, "then": "./assets/layers/fire_hydrants/hydrant_pillar_without_h.svg" }
+ ] }, "then": "./assets/layers/fire_hydrants/hydrant_pillar.svg" }
]
},
diff --git a/assets/layers/fire_hydrants/hydrant_hasmarker_no.svg b/assets/layers/fire_hydrants/hydrant_hasmarker_no.svg
new file mode 100644
index 0000000..ccae19d
--- /dev/null
+++ b/assets/layers/fire_hydrants/hydrant_hasmarker_no.svg
@@ -0,0 +1,14 @@
+
+
diff --git a/assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg b/assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg
new file mode 100644
index 0000000..6eb782b
--- /dev/null
+++ b/assets/layers/fire_hydrants/hydrant_hasmarker_yes.svg
@@ -0,0 +1,13 @@
+
+
diff --git a/assets/layers/fire_hydrants/hydrant_underground.svg b/assets/layers/fire_hydrants/hydrant_underground.svg
index d29b81e..f7c0f3d 100644
--- a/assets/layers/fire_hydrants/hydrant_underground.svg
+++ b/assets/layers/fire_hydrants/hydrant_underground.svg
@@ -1,5 +1,5 @@
diff --git a/assets/layers/fire_hydrants/hydrant_unknown.svg b/assets/layers/fire_hydrants/hydrant_unknown.svg
index 1a14700..10b31cd 100644
--- a/assets/layers/fire_hydrants/hydrant_unknown.svg
+++ b/assets/layers/fire_hydrants/hydrant_unknown.svg
@@ -1,5 +1,5 @@
diff --git a/assets/layers/fire_hydrants/src/hydrant_hasmarker_no.svg b/assets/layers/fire_hydrants/src/hydrant_hasmarker_no.svg
new file mode 100644
index 0000000..ccae19d
--- /dev/null
+++ b/assets/layers/fire_hydrants/src/hydrant_hasmarker_no.svg
@@ -0,0 +1,14 @@
+
+
diff --git a/assets/layers/fire_hydrants/src/hydrant_hasmarker_yes.svg b/assets/layers/fire_hydrants/src/hydrant_hasmarker_yes.svg
new file mode 100644
index 0000000..8266a0a
--- /dev/null
+++ b/assets/layers/fire_hydrants/src/hydrant_hasmarker_yes.svg
@@ -0,0 +1,104 @@
+
+
diff --git a/assets/layers/fire_hydrants/src/hydrant_underground.svg b/assets/layers/fire_hydrants/src/hydrant_underground.svg
index 8929948..fb2ee9b 100644
--- a/assets/layers/fire_hydrants/src/hydrant_underground.svg
+++ b/assets/layers/fire_hydrants/src/hydrant_underground.svg
@@ -42,13 +42,14 @@
id="namedview897"
showgrid="true"
inkscape:snap-smooth-nodes="true"
- inkscape:zoom="11.351633"
- inkscape:cx="-0.73721847"
- inkscape:cy="13.670335"
+ inkscape:zoom="16.427584"
+ inkscape:cx="-7.9440829"
+ inkscape:cy="13.790875"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
- inkscape:current-layer="svg895">
+ inkscape:current-layer="svg895"
+ inkscape:document-rotation="0">
+ id="rect1476"
+ style="fill:#ff0000;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:2.30362;paint-order:stroke fill markers"
+ d="M 1.5 3.5 L 1.5 5.5 L 5.6484375 5.5 A 7.5 4.75 0 0 0 1.5 9.75 A 7.5 4.75 0 0 0 9 14.5 A 7.5 4.75 0 0 0 16.5 9.75 A 7.5 4.75 0 0 0 12.345703 5.5 L 16.5 5.5 L 16.5 3.5 L 1.5 3.5 z " />
+ inkscape:current-layer="svg1648"
+ inkscape:document-rotation="0">
+ id="path1646"
+ style="fill:#ffffff" />
diff --git a/assets/themes/fire/fire.json b/assets/themes/fire/fire.json
index 6b57524..1eef96d 100644
--- a/assets/themes/fire/fire.json
+++ b/assets/themes/fire/fire.json
@@ -25,7 +25,7 @@
"widenFactor": 0.01,
"socialImage": "./assets/layers/fire_hydrants/hydrant_pillar.svg",
"clustering": {
- "maxZoom": 18
+ "maxZoom": 16
},
"layers": [
"fire_hydrants"