amenity=recycling without a knowledge which waste i can dump is not useful.
Wiki has a list. Taginfo has a list of most used values:
recycling:glass=* (but some should be glass_bottles)
recycling:paper=*
recycling:clothes=*
recycling:glass_bottles=*
recycling:cans=*
recycling:plastic=*
related to #222 (this here could be asked after adding the type)
This quest can probably use the same system as #180 with a multi image selector. The tricky thing will be to retrieve features without any recycling:* tag, as Overpass doesn't allow to combine a regex over key and negation on value.
Ah, I love these implementation synergies!
The query could retrieve all â™» and then filter it out in Java code. This is possible since 0.9, see the housenumber quest.
Am 15. Mai 2017 08:17:35 MESZ schrieb Adrien Pavie notifications@github.com:
This quest can probably use the same system as #180 with a multi image
selector. The tricky thing will be to retrieve features without any
recycling:*tag, as Overpass doesn't allow to combine a regex over
key and negation on value.--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/westnordost/StreetComplete/issues/223#issuecomment-301385706
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Though, getting/creating all those icons will be the most work.
Am 15. Mai 2017 08:17:35 MESZ schrieb Adrien Pavie notifications@github.com:
This quest can probably use the same system as #180 with a multi image
selector. The tricky thing will be to retrieve features without any
recycling:*tag, as Overpass doesn't allow to combine a regex over
key and negation on value.--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/westnordost/StreetComplete/issues/223#issuecomment-301385706
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
The tricky thing will be to retrieve features without any recycling:* tag
Maybe just check documented ones? For extreme safety, include test that will check taginfo whatever new popular tag appeared that is not handled by this program.
As a first step, some icons extracted from Twemoji / Emojione sets + custom icons for cans and plastic bottles (SVG file).

Some of these already look quite cool, I.e. the newspaper is really good.
I think this is a important quest, maybe even more important than the "Recycling type" quest (If I want to get rid of my wastepaper, I have to know where it is accepted, it's rather not important whether it's a container, underground container or recycling centre).
As an icon for this quest, how about that one:

I usually draw the icons myself. I would say, in this case, I'd either show a typical round glassbottle container, simply a glass bottle or a mashup of a glass bottle, paper and a can.
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Drew some icons. One that is still missing is the one for "plastic packaging" (that is not plastic bottles).
https://github.com/westnordost/StreetComplete/blob/master/res/recycling_icons.svg
recycling:newspaper is also somewhat common, can the paper icon be different in case this key is added later? (I definitely know of one that accepts newspaper and cardboard but not other types of paper.)
How would the can look if it was lighter on the tops of the two rims? (When I first looked at it, I thought it looked inward sloped, I used a straight edge to determine that I was seeing an illusion.)
What kind of container accepts newspaper but not other paper?
Overpass Turbo shows hundreds. There's one I know of personally; it's in a rural town.
https://github.com/westnordost/StreetComplete/blob/master/res/recycling_icons.svg
Felt like drawing some more today. I am now content with all the icons except electrical appliances:
For the electrical appliances, I think I will make an icon of a hair dryer + old phone + light bulb or something to show what it roughly covers. Maybe I should add a scrap-icon (screw + spring?) as well.
So now I will probably finish with the easy part.
Query: http://overpass-turbo.eu/s/Mpx
@PanierAvide
The tricky thing will be to retrieve features without any recycling:* tag, as Overpass doesn't allow to combine a regex over key and negation on value.
You can't do it (probably) in a single request, but thanks to an ability to combine requests it can be done without further local processing.
@HolgerJeromin Is there any current user of this data not listed at https://taginfo.openstreetmap.org/keys/recycling%3Aglass#projects ? It will influence quest priority (default position on the quest list).
Current status: waiting for reply at https://github.com/westnordost/StreetComplete/commit/c63059357ab837cfb4888b31c568b32100980e8f#r35141029
Initial code: https://github.com/westnordost/StreetComplete/compare/master...matkoniecz:recycling?expand=1 (unfinished, will not even compile as I interupted coding on discovering that many icon are currently unavailable)
I didn't convert it yet because it is not the final icon
OK, in that case I apparently started too early, I thought that icons are ready and only the final easy part remained. Thanks for already made icons!
@HolgerJeromin Is there any current user of this data not listed at https://taginfo.openstreetmap.org/keys/recycling%3Aglass#projects ? It will influence quest priority (default position on the quest list).
OSMand poi info shows it after clicking the icon.
Added the icon
I reviewed tags and documented some results at Wiki page (numbers with links to queries) - see https://wiki.openstreetmap.org/w/index.php?title=Tag%3Aamenity%3Drecycling&type=revision&diff=1906046&oldid=1906025
For example recycling:newspaper=yes is quite popular but in most cases it duplicates recycling:paper=yes, in just 319 cases providing real info (and I suspect that most of this places simply miss recycling:paper=yes) so it is dubious is it really needed to be provided as an option. Though it can be added, just I would not consider it is a a blocker.
But there are thousands of recycling:plastic_bottles without recycling:plastic and it is case that I can confirm that sometimes happens - so icons for both recycling:plastic_bottles and recycling:plastic would be nice.
To my surprise similar thing happens with recycling:plastic_packaging=yes - often without recycling:plastic=yes. I am tempted to propose quest adding explicit recycling:plastic=yes/no to places with just recycling:plastic_packaging=yes, I am suspecting faulty tagging here.
I am unsure what should be done with recycling:glass vs recycling:glass_bottles - I run into it at https://github.com/osm-fr/osmose-backend/issues/549
recycling:waste sounds like mistagging. Is it actually popular that places accept mixed rubbish and actually recycle it?
All other values either have an icon already or seem to happen fairly rarely.
EDIT:
Somehow, according to OSM data, there is a real difference between place accepting solely cans and metal objects in general. Looking how some objects are tagged I am a bit dubious about it, but with over 21k object with recycling:cans=yes without recycling:scrap_metal=yes and without recycling:metal=yes...
Your additions don't exactly make that page more clear. How about - like for the Key:buildings page, you use your findings to organize them into categories? After all, it is pretty clear that paper is a category, plastic is, etc.
I want to leave out as much as possible those "subcategories", because users will get confused (rightly so) whether if a container accepts plastic bottles and plastic, whether they have to check both, or what.
But there are thousands of recycling:plastic_bottles without recycling:plastic and it is case that I can confirm that sometimes happens - so icons for both recycling:plastic_bottles and recycling:plastic would be nice.
Well, then it must be made very clear in the UI that this should only be selected if it is only plastic bottles, not other plastic packaging. But I guess, calling it "Only Plastic Bottles" in the UI is fine.
Yes, I also think that recycling:glass is a mistake. It stagnates since 2017, because I guess that many people made this mistake got public and people started to correct this mistake:

Regarding plastic packaging, I am not sure if it is a mistake. In Hamburg, the places all accept any plastic, also toys. (And cans, even pots etc).
Cans are part of Green Dot , so go into the same container as the plastic goes. In Germany. But I guess this can be different in other countries.
I could make another icon that includes a can and pot (and a screw?)...
self-assigned this 12 days ago
Is it just covering icons? Or is there some unfinished code? I went back to finish coding of this PR and checked https://github.com/westnordost/StreetComplete/branches/all - is there maybe some offline unpushed branch?
I ask as I planned today to complete this (except icons) and it would be sad to duplicate the work.
I checked now situation more thoroughly for recycling:glass and confirmed, to my surprise, that this tag is mostly invalid (at least in Poland, but for reasons that are not local).
It turns out that you are supposed to put in glass recycling container only specific type of glass - one used to make bottles and jars. Glassware, pyrex, window glass, glass used to make lighting bulbs, glass from grave candles and more all are not supposed to go into glass container (not made from soda–lime–silica or at least there is significant risk of being made from other types of glass).
Fundamental problem here is that organizations responsible for recycling mislabel bins - do not label something "glass" if just one type of glass is supposed to go there!
Not sure what would be the best way to handle this - recycling:glass often matches what is signed on the ground, while recycling:glass_bottles is matching reality and regulations/recommendations.
See also https://github.com/osm-fr/osmose-backend/issues/691 https://github.com/osm-fr/osmose-backend/issues/549 https://wiki.openstreetmap.org/w/index.php?title=Tag%3Aamenity%3Drecycling&type=revision&diff=1919148&oldid=1908674
It's assigned to me because of the icons. I still need to do an icon for scrap metal or how it was called (pots, tools, screws,...).
Also, I wondered if I can really just include recycling:plastic instead of also recycling:plastic_packaging so I asked in the German forum.
Turns out: Whether or not they accept "any plastic" and not just "plastic packaging" in their containers is up to the individual company that was commissioned by the county / city to organize the plastic waste collection. (Cause they are commissioned only for plastic packaging, though usually they make a profit of collecting other recycleables)
So, "only plastic packaging" and "only plastic bottles" must be included as options, and the three options plastic, plastic_packaging and plastic_bottles must be mutually exclusive in the UI. (Cause plastic includes all plastic, plastic packaging includes plastic bottles).
This needs to be reflected somehow in the UI, so I need to think of a custom UI for that. I don't think using the standard ImageSelectAdapter will suffice. The code part is really the smallest effort for this quest.
For the UI, there are two options:
Either show something that resembles a radio button group for "only plastic bottles", "only plastic packaging" (icon showing bottles + packaging), "any plastic" (icon showing bottles + packaging + lego), maybe frame the three options with a rounded rectangle labelled "plastic.
Or, show the "plastic bottles", "plastic packaging" and "other plastic" icons and ask the user for confirmation if he only selected "other plastic" but not the others or if he selected the latter two but not plastic bottles.
@matkoniecz So in other words, better leave it to me. It won't go into v15 though anymore anyhow.
But you may have noticed that I finished up the maxweight quest - single sign edition. If you like, you could continue on it, I already checked in the assets (SVGs) for maxaxleload, maxbogieweight and maxweightrating
,
and ![]()
assuming adding support for these might be your plan how to continue.
@matkoniecz ah but anyway, I am going to fork from your initial implementation, just saw it and no need to waste good code, you already added all those strings etc
Most helpful comment
Drew some icons. One that is still missing is the one for "plastic packaging" (that is not plastic bottles).
https://github.com/westnordost/StreetComplete/blob/master/res/recycling_icons.svg