2020-08-31 02:59:47 +02:00
|
|
|
|
{
|
|
|
|
|
"id": "drinking_water",
|
|
|
|
|
"name": {
|
|
|
|
|
"en": "Drinking water",
|
|
|
|
|
"nl": "Drinkbaar water",
|
|
|
|
|
"fr": "Eau potable",
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"gl": "Auga potábel",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Trinkwasser",
|
2021-05-30 20:56:09 +02:00
|
|
|
|
"it": "Acqua potabile",
|
|
|
|
|
"ru": "Питьевая вода"
|
2020-09-17 21:45:51 +02:00
|
|
|
|
},
|
|
|
|
|
"title": {
|
|
|
|
|
"render": {
|
|
|
|
|
"en": "Drinking water",
|
|
|
|
|
"nl": "Drinkbaar water",
|
|
|
|
|
"fr": "Eau potable",
|
|
|
|
|
"gl": "Auga potábel",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Trinkwasser",
|
2021-05-30 20:56:09 +02:00
|
|
|
|
"it": "Acqua potabile",
|
|
|
|
|
"ru": "Питьевая вода"
|
2020-09-17 21:45:51 +02:00
|
|
|
|
}
|
2020-08-31 02:59:47 +02:00
|
|
|
|
},
|
2020-11-09 19:55:29 +01:00
|
|
|
|
"icon": {
|
2020-11-27 03:05:29 +01:00
|
|
|
|
"render": "pin:#6BC4F7;./assets/layers/drinking_water/drips.svg"
|
2020-11-09 19:55:29 +01:00
|
|
|
|
},
|
2020-11-27 03:05:29 +01:00
|
|
|
|
"iconOverlays": [
|
|
|
|
|
{
|
|
|
|
|
"if": {
|
|
|
|
|
"or": [
|
|
|
|
|
"operational_status=broken",
|
|
|
|
|
"operational_status=closed"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"then": "close:#c33",
|
|
|
|
|
"badge": true
|
|
|
|
|
}
|
|
|
|
|
],
|
2020-08-31 02:59:47 +02:00
|
|
|
|
"iconSize": "40,40,bottom",
|
2021-03-20 23:45:52 +01:00
|
|
|
|
"source": {
|
|
|
|
|
"osmTags": {
|
|
|
|
|
"and": [
|
|
|
|
|
"amenity=drinking_water",
|
|
|
|
|
"access!=permissive",
|
|
|
|
|
"access!=private"
|
|
|
|
|
]
|
|
|
|
|
}
|
2020-10-02 19:00:24 +02:00
|
|
|
|
},
|
2021-03-29 02:05:11 +02:00
|
|
|
|
"calculatedTags": [
|
|
|
|
|
"_closest_other_drinking_water_id=feat.closest('drinking_water').id",
|
|
|
|
|
"_closest_other_drinking_water_distance=Math.floor(feat.distanceTo(feat.closest('drinking_water')) * 1000)"
|
|
|
|
|
],
|
2020-08-31 02:59:47 +02:00
|
|
|
|
"minzoom": 13,
|
|
|
|
|
"wayHandling": 1,
|
|
|
|
|
"presets": [
|
|
|
|
|
{
|
|
|
|
|
"title": {
|
|
|
|
|
"en": "Drinking water",
|
|
|
|
|
"nl": "Drinkbaar water",
|
|
|
|
|
"fr": "Eau potable",
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"gl": "Auga potábel",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Trinkwasser",
|
2021-05-30 20:56:09 +02:00
|
|
|
|
"it": "Acqua potabile",
|
|
|
|
|
"ru": "Питьевая вода"
|
2020-08-31 02:59:47 +02:00
|
|
|
|
},
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"tags": [
|
|
|
|
|
"amenity=drinking_water"
|
|
|
|
|
]
|
2020-08-31 02:59:47 +02:00
|
|
|
|
}
|
|
|
|
|
],
|
2020-11-09 19:55:29 +01:00
|
|
|
|
"color": "#6bc4f7",
|
2020-08-31 02:59:47 +02:00
|
|
|
|
"tagRenderings": [
|
|
|
|
|
"images",
|
|
|
|
|
{
|
2020-09-20 21:46:55 +02:00
|
|
|
|
"#": "Still in use?",
|
|
|
|
|
"question": {
|
|
|
|
|
"en": "Is this drinking water spot still operational?",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "Is deze drinkwaterkraan nog steeds werkende?",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "Questo punto di acqua potabile è sempre funzionante?",
|
|
|
|
|
"fr": "Ce point d'eau potable est-il toujours opérationnel ?"
|
2020-09-20 21:46:55 +02:00
|
|
|
|
},
|
|
|
|
|
"render": {
|
2020-09-25 23:59:19 +02:00
|
|
|
|
"en": "The operational status is <i>{operational_status</i>",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "Deze waterkraan-status is <i>{operational_status}</i>",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "Lo stato operativo è <i>{operational_status}</i>",
|
|
|
|
|
"fr": "L'état opérationnel est <i>{operational_status</i>"
|
2020-09-20 21:46:55 +02:00
|
|
|
|
},
|
|
|
|
|
"freeform": {
|
|
|
|
|
"key": "operational_status"
|
|
|
|
|
},
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "operational_status=",
|
|
|
|
|
"then": {
|
|
|
|
|
"en": "This drinking water works",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "Deze drinkwaterfontein werkt",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "La fontanella funziona",
|
|
|
|
|
"fr": "Cette fontaine fonctionne"
|
2020-11-09 19:55:29 +01:00
|
|
|
|
}
|
2020-09-20 21:46:55 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "operational_status=broken",
|
|
|
|
|
"then": {
|
|
|
|
|
"en": "This drinking water is broken",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "Deze drinkwaterfontein is kapot",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "La fontanella è guasta",
|
|
|
|
|
"fr": "Cette fontaine est cassée"
|
2020-09-20 21:46:55 +02:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "operational_status=closed",
|
|
|
|
|
"then": {
|
|
|
|
|
"en": "This drinking water is closed",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "Deze drinkwaterfontein is afgesloten",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "La fontanella è chiusa",
|
|
|
|
|
"fr": "Cette fontaine est fermée"
|
2020-09-20 21:46:55 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"#": "Bottle refill",
|
2020-08-31 02:59:47 +02:00
|
|
|
|
"question": {
|
|
|
|
|
"en": "How easy is it to fill water bottles?",
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"nl": "Hoe gemakkelijk is het om drinkbussen bij te vullen?",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Wie einfach ist es, Wasserflaschen zu füllen?",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "Quanto è facile riempire d’acqua le bottiglie?",
|
|
|
|
|
"fr": "Est-il facile de remplir des bouteilles d'eau ?"
|
2020-08-31 02:59:47 +02:00
|
|
|
|
},
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "bottle=yes",
|
|
|
|
|
"then": {
|
|
|
|
|
"en": "It is easy to refill water bottles",
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"nl": "Een drinkbus bijvullen gaat makkelijk",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Es ist einfach, Wasserflaschen nachzufüllen",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "È facile riempire d’acqua le bottiglie",
|
|
|
|
|
"fr": "Il est facile de remplir les bouteilles d'eau"
|
2020-08-31 02:59:47 +02:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "bottle=no",
|
|
|
|
|
"then": {
|
|
|
|
|
"en": "Water bottles may not fit",
|
2020-09-17 21:45:51 +02:00
|
|
|
|
"nl": "Een drinkbus past moeilijk",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"de": "Wasserflaschen passen möglicherweise nicht",
|
2021-06-04 17:23:17 +02:00
|
|
|
|
"it": "Le bottiglie d’acqua potrebbero non entrare",
|
|
|
|
|
"fr": "Les bouteilles d'eau peuvent ne pas passer"
|
2020-08-31 02:59:47 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-03-29 02:05:11 +02:00
|
|
|
|
},
|
|
|
|
|
{
|
2021-05-19 22:38:41 +02:00
|
|
|
|
"render": {
|
2021-03-29 18:07:22 +02:00
|
|
|
|
"en": "<a href='#{_closest_other_drinking_water_id}'>There is another drinking water fountain at {_closest_other_drinking_water_distance} meter</a>",
|
2021-05-28 12:42:59 +02:00
|
|
|
|
"nl": "<a href='#{_closest_other_drinking_water_id}'>Er bevindt zich een ander drinkwaterpunt op {_closest_other_drinking_water_distance} meter</a>",
|
|
|
|
|
"it": "<a href='#{_closest_other_drinking_water_id}'>C’è un’altra fontanella a {_closest_other_drinking_water_distance} metri</a>"
|
2021-05-10 23:46:50 +02:00
|
|
|
|
},
|
|
|
|
|
"condition": "_closest_other_drinking_water_id~*"
|
2020-08-31 02:59:47 +02:00
|
|
|
|
}
|
|
|
|
|
]
|
2021-05-19 22:38:41 +02:00
|
|
|
|
}
|