diff --git a/assets/layers/drinking_water/bottle.svg b/assets/layers/drinking_water/bottle.svg new file mode 100644 index 000000000..2f8217692 --- /dev/null +++ b/assets/layers/drinking_water/bottle.svg @@ -0,0 +1,18 @@ + + + + \ No newline at end of file diff --git a/assets/layers/drinking_water/bottle.svg.license b/assets/layers/drinking_water/bottle.svg.license new file mode 100644 index 000000000..8e8b5805d --- /dev/null +++ b/assets/layers/drinking_water/bottle.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Unkown +SPDX-License-Identifier: CC0 \ No newline at end of file diff --git a/assets/layers/drinking_water/bubbler.svg b/assets/layers/drinking_water/bubbler.svg new file mode 100644 index 000000000..e0d30f29f --- /dev/null +++ b/assets/layers/drinking_water/bubbler.svg @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/assets/layers/drinking_water/bubbler.svg.license b/assets/layers/drinking_water/bubbler.svg.license new file mode 100644 index 000000000..c44973d7b --- /dev/null +++ b/assets/layers/drinking_water/bubbler.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: AIGA +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/drinking_water/drinking_water.json b/assets/layers/drinking_water/drinking_water.json index 23dd623aa..796c8628d 100644 --- a/assets/layers/drinking_water/drinking_water.json +++ b/assets/layers/drinking_water/drinking_water.json @@ -30,7 +30,8 @@ { "or": [ "amenity=drinking_water", - "drinking_water=yes" + "drinking_water=yes", + "disused:amenity=drinking_water" ] }, "man_made!=reservoir_covered", @@ -68,7 +69,8 @@ "if": { "or": [ "operational_status=broken", - "operational_status=closed" + "operational_status=closed", + "disused:amenity=drinking_water" ] }, "then": "close:#c33" @@ -147,6 +149,7 @@ "mappings": [ { "if": "operational_status=", + "addExtraTags": ["disused:amenity=","amenity=drinking_water"], "then": { "en": "This drinking water works", "nl": "Deze drinkwaterfontein werkt", @@ -190,6 +193,46 @@ ], "id": "Still in use?" }, + { + "id": "type", + "question": { + "en": "What type of drinking water point is this?", + "nl": "Wat voor soort drinkwaterpunt is dit?" + }, + "mappings": [ + { + "if": "fountain=bubbler", + "icon": "./assets/layers/drinking_water/bubbler.svg", + "then": { + "en": "This is a bubbler fountain. A water jet to drink from is sent upwards, typically controlled by a push button." + }, + "addExtraTags": [ + "man_made=" + ] + }, + { + "if": "fountain=bottle_refill", + "icon": "./assets/layers/drinking_water/bottle.svg", + "then": { + "en": "This is a bottle refill point where the water is sent downwards, typically controlled by a push button or a motion sensor. Drinking directly from the stream might be very hard or impossible." + }, + "addExtraTags": [ + "man_made=", + "bottle=yes" + ] + }, + { + "if": "man_made=water_tap", + "icon": "./assets/layers/drinking_water/tap.svg", + "then": { + "en": "This is a water tap. The water flows downward and the stream is controlled by a valve or push-button." + }, + "addExtraTags": [ + "fountain=" + ] + } + ] + }, { "question": { "en": "How easy is it to fill water bottles?", @@ -235,8 +278,29 @@ } } ], + "condition": "fountain!=bottle_refill", "id": "Bottle refill" }, + { + "id": "fee", + "question": { + "en": "Is this drinking water point free to use?" + }, + "mappings": [ + { + "if": "fee=no", + "then": { + "en": "Free to use" + } + }, + { + "if": "fee=yes", + "then": { + "en":"One needs to pay to use this drinking water point" + } + } + ] + }, { "id": "render-closest-drinking-water", "render": { @@ -293,6 +357,19 @@ "ca": "Es tracta d'una aixeta d'aigua o bomba d'aigua amb aigua no potable.