diff --git a/assets/layers/recycling/fluorescent_tubes.svg b/assets/layers/recycling/fluorescent_tubes.svg new file mode 100644 index 000000000..b4315872c --- /dev/null +++ b/assets/layers/recycling/fluorescent_tubes.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/layers/recycling/license_info.json b/assets/layers/recycling/license_info.json index ec788ff43..6698ec44c 100644 --- a/assets/layers/recycling/license_info.json +++ b/assets/layers/recycling/license_info.json @@ -60,6 +60,17 @@ "https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/recycling%20icons/engine_oil.svg" ] }, + { + "path": "fluorescent_tubes.svg", + "license": "CC-BY", + "authors": [ + "Noun Project", + "shashank singh" + ], + "sources": [ + "https://thenounproject.com/icon/tube-fluorescent-light-3756518/" + ] + }, { "path": "garden_waste.svg", "license": "CC-BY-SA", @@ -91,6 +102,17 @@ "https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/recycling%20icons/glass_bottles.svg" ] }, + { + "path": "light_bulbs.svg", + "license": "CC0", + "authors": [ + "OpenClipArt", + "fabiovaleggia" + ], + "sources": [ + "https://openclipart.org/detail/175842/basic-light-bulb" + ] + }, { "path": "newspaper.svg", "license": "CC-BY-SA", diff --git a/assets/layers/recycling/light_bulbs.svg b/assets/layers/recycling/light_bulbs.svg new file mode 100644 index 000000000..5ee43cc39 --- /dev/null +++ b/assets/layers/recycling/light_bulbs.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + basic light bulb + 2007-02-16T04:05:06 + + https://openclipart.org/detail/175842/Clipart-by-drunken_duck + + + drunken_duck + + + + + light + bulb + electricity + + + + + + + + + + + \ No newline at end of file diff --git a/assets/layers/recycling/recycling.json b/assets/layers/recycling/recycling.json index 0a6a86185..d79a83d35 100644 --- a/assets/layers/recycling/recycling.json +++ b/assets/layers/recycling/recycling.json @@ -128,6 +128,15 @@ }, "then": "circle:white;./assets/layers/recycling/engine_oil.svg" }, + { + "if": { + "and": [ + "_waste_amount=1", + "recycling:fluorescent_tubes=yes" + ] + }, + "then": "circle:white;./assets/layers/recycling/fluorescent_tubes.svg" + }, { "if": { "and": [ @@ -160,6 +169,15 @@ }, "then": "circle:white;./assets/layers/recycling/garden_waste.svg" }, + { + "if": { + "and": [ + "_waste_amount=1", + "recycling:light_bulbs=yes" + ] + }, + "then": "circle:white;./assets/layers/recycling/light_bulbs.svg" + }, { "if": { "and": [ @@ -303,6 +321,15 @@ }, "then": "circle:white;./assets/layers/recycling/engine_oil.svg" }, + { + "if": { + "and": [ + "_waste_amount>1", + "recycling:fluorescent_tubes=yes" + ] + }, + "then": "circle:white;./assets/layers/recycling/fluorescent_tubes.svg" + }, { "if": { "and": [ @@ -335,6 +362,15 @@ }, "then": "circle:white;./assets/layers/recycling/garden_waste.svg" }, + { + "if": { + "and": [ + "_waste_amount>1", + "recycling:light_bulbs=yes" + ] + }, + "then": "circle:white;./assets/layers/recycling/light_bulbs.svg" + }, { "if": { "and": [ @@ -500,7 +536,9 @@ "recycling:clothes=", "recycling:cooking_oil=", "recycling:engine_oil=", + "recycling:fluorescent_tubes=", "recycling:green_waste=", + "recycling:light_bulbs=", "recycling:organic=", "recycling:glass_bottles=", "recycling:glass=", @@ -698,6 +736,18 @@ "class": "medium" } }, + { + "if": "recycling:fluorescent_tubes=yes", + "ifnot": "recycling:fluorescent_tubes=", + "then": { + "en": "Fluorescent tubes can be recycled here", + "nl": "TL-buizen kunnen hier gerecycled worden" + }, + "icon": { + "path": "./assets/layers/recycling/fluorescent_tubes.svg", + "class": "medium" + } + }, { "if": "recycling:green_waste=yes", "ifnot": "recycling:green_waste=", @@ -761,6 +811,18 @@ "class": "medium" } }, + { + "if": "recycling:light_bulbs=yes", + "ifnot": "recycling:light_bulbs=", + "then": { + "en": "Light bulbs can be recycled here", + "nl": "Lampen kunnen hier gerecycled worden" + }, + "icon": { + "path": "./assets/layers/recycling/light_bulbs.svg", + "class": "medium" + } + }, { "if": "recycling:newspaper=yes", "ifnot": "recycling:newspaper=", @@ -1047,6 +1109,13 @@ }, "osmTags": "recycling:engine_oil=yes" }, + { + "question": { + "en": "Recycling of fluorescent tubes", + "nl": "Recycling van tl-buizen" + }, + "osmTags": "recycling:fluorescent_tubes=yes" + }, { "question": { "en": "Recycling of green waste", @@ -1081,6 +1150,13 @@ }, "osmTags": "recycling:glass=yes" }, + { + "question": { + "en": "Recycling of light bulbs", + "nl": "Recycling van lampen" + }, + "osmTags": "recycling:light_bulbs=yes" + }, { "question": { "en": "Recycling of newspapers",