-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new quest to ask if a place is suitable for vegetarians or vegans #506
Conversation
"suitable" invites somewhat subjective classification. Is this not defined any better? What is the rationale behind putting that answer into "Other answers"? Do you have any suggestion for icon motives? |
I would propose either the fork and knife emoji from twemoji or the fork, knife and spoon emoji from twemoji, because I think, there is nothing that could describe vegan or vegetarian...
I have no idea, which other word we can use for that... Maybe an explanatory text like "Does this place explicitly offer no fish or meat?" for the vegetarian quest and "Does this place explicitly offer no fish, meat, dairy, eggs or any other animal product?" for the vegan quest. What do you think?
Because it would take too much place in the buttonpanel... |
Well I was thinking a leaf for either of the two and something else for the other one (or both).
Nothing helpful in the wiki? Your proposed questions are too long. Id propose "Does ... explicitly offer vegetarian food?" (instead of "suitable") but I don't know if this fits the definition in the wiki.
Even just "Only" / "Ausschließlich"? |
Maybe this could work, but the german word is much more longer than the english one... This can be a problem, because it could be displayed as: AUS especially on small devices... But I will test it anyway...
No, not really |
Yes, this fits the definition in the wiki. I am implementing this right now. |
I would amend
by requiring also diet:vegetarian=yes or diet:vegetarian=only as diet:vegetarian=no imply diet:vegan=no |
Should we add |
Probably not, otherwise one should add also
wiki has at https://wiki.openstreetmap.org/wiki/Key:diet
https://wiki.openstreetmap.org/wiki/Key:diet "constantly available" requirement may make tagging this tricky. |
I tested it right now, and contrary to my expections, it is possible to implement a button with "Only" in english and even "Ausschließlich" in german. It is not displayed like I said in the comment above. |
I changed the question to "Does [..] explicitly offer vegan/vegetarian food?" I think this is much better! |
|
||
@Override protected String getTagFilters() | ||
{ | ||
return "nodes, ways with ( amenity ~ restaurant|cafe|pub|fast_food|bar ) and diet:vegetarian and !diet:vegan"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diet:vegetarian~yes|only
Because this quest shouldn't show if the user selected "no" in the vegetarian quest
Also, superfluous parenthesis.
} | ||
else | ||
{ | ||
setTitle(R.string.quest_dietType_vegan_title); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As usual, always require a name please. (So, add and name
in the query)
|
||
@Override protected String getTagFilters() | ||
{ | ||
return "nodes, ways with ( amenity ~ restaurant|cafe|pub|fast_food|bar ) and !diet:vegetarian"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to ask here: Why bars and pubs? These are not primarily eating places. Especially bars not. (False friends for Germans. amenity=bar
is not a German "Bar", that's a amenity=pub
). amenity=bar
is something like a coctail bar.
Everything you proposed is now implemented:
|
Okay, cool. Aren't the two forms now not exactly the same though? You can set the title from the outside (in I can only merge this after I created an icon for this and implemented some country whitelist/blacklist. Remember, I talked about that this quest should only be activated in a certain set of countries (first). I.e. in detail, it should only be activated
|
This is implemented now! |
No, please don't. This clashes with #366 and/or #83. Better really use 🥄/🍴 or so… I doubt you'll creating another quest related to eatery… 😉 However I understand why you want to use 🍃. Another idea: Maybe color the fork and knife in green in the icon? For vegetarian only cover one part, for vegan color both… |
As for an explanatory text to clarify when one should select yes (because that is not obvious when a restaurant e.g. offers one vegetarian dish and the rest is just with meat) I'd suggest to use the text, which is used in @Rudloff's OpenVegeMap:
(shorten it a bit and use it as a small grey explanatory text) I suggested this, e.g.:
|
Good idea! I will implement this now! |
The icon? Okay, but use a proper fork & knife icon as a template and then just apply a color filter or so… |
No no, I mean the explanatory text. |
I think I have to revert the changes I made, because I can't get the |
Yes, that doesn't work that way. But doesn't matter, the way how the quest titles are set changes after when I merged the However, such an explanatory text as rugk mentioned would be nice. |
Oh, this is perfect! Then I will push the latest changes now. |
BTW does it even make sense to ask for vegetarian for cafés? I mean I have never seen a cafe, where you can eat meat cake or bones. (possibly only galantine, but which cafe offers gummy bears?? And even if they did, they would still have enough dishes for vegetarians.) |
Yes it does. |
I would still tag them as vegetarian, anyway. Because you likely can also get that without sausages and so one, and you have enough vegetarian things to choose from. As I said, "there is a proper choice of dishes", or as you explain on your site, the main dish for a cafe is coffee and cake and similar things. These are all vegetarian – it does not really mater that you can also get some bacon for breakfast there then. |
IMHO this is a discussion that needs to happen on the OSM wiki so the tags can be more precisely defined. |
@Rudloff Sure, we can also discuss something else, but I see that as a StreetComplete problem. The tags are all right. But in StreetComplete always a low number of false-positives is desirable, i.e. quests should not be shown in cases where it makes no sense, e.g. because they are always true (as the meaning is implied). That's the whole reason why I am asking. If we would exclude cafès from the vegetarian quest, (but include it in the vegan quest) then we would not have to ask that (IMHO, useless) question to surveyors. |
Well in that case, even I do think it is useful to tag cafes, I understand your point and won't oppose not asking if they are vegetarian in StreetComplete. |
# Conflicts: # app/src/main/java/de/westnordost/streetcomplete/quests/AbstractQuestAnswerFragment.java
- Provide additional descriptions for each diet type (easily extendable for other diets - halal etc.) - Improve description - Simplify quest <-> form communication - Set quest title properly - remove mentioning the type of place, this doesn't work in localization
Correction to what I said in the commit comment: It would work, since it is nominative, but I'd like to not add strings where they are not necessary. |
So, this PR is blocked by defining a country whitelist of where the quest should be shown. See #506 (comment) |
Wikipedia has some data on the percentage of vegetarians per country. Maybe it can help (if a country has data it means that vegetarianism is a thing there?). |
Great idea. |
I created the YAML file based on the Wikipedia data there: https://gist.github.com/rugk/aac00507c825ccdb5df0526b09007942 However, this of course only includes ethical vegetarianism. In some countries people may just not afford meat – at least in restaurants. Although I am not sure that in such cases there are much restaurants (except for tourism) or so… However, for tourism the local data (I gathered from Wikipedia here) would not matter either, again… |
app/src/main/res/values/strings.xml
Outdated
<string name="quest_dietType_vegetarian_name_title">Does "%s" explicitly offer vegetarian food?</string> | ||
<string name="quest_dietType_vegan_name_title">Does "%s" explicitly offer vegan food?</string> | ||
<string name="quest_hasFeature_only">Only</string> | ||
<string name="quest_dietType_explanation_vegan">Vegan meals contain no animal products (no meat, no milk products, no eggs,…).</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A space before …
/after the comma is missing.
app/src/main/res/values/strings.xml
Outdated
@@ -388,4 +388,10 @@ Otherwise, you can download another keyboard in the app store. Popular keyboards | |||
<string name="quest_parkingType_surface">Normal</string> | |||
<string name="quest_parkingType_underground">Underground garage</string> | |||
<string name="quest_parkingType_multiStorage">Car park</string> | |||
<string name="quest_dietType_vegetarian_name_title">Does "%s" explicitly offer vegetarian food?</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a problem with "explicitly" here. The explanation in quest_dietType_explanation
may hopefully be sufficient, but with this "explicitly" I would not tag a restaurant offering 2-4 meals as "vegetarian". Is that intended? Would not 2-4 meals be enough for a restaurant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understood "explicitly" as meaning that vegetarian meals are on the menu and you don't need to ask for them (e.g. "Can I have this but without the meat, please?").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's a different way than I understood it. Maybe change it to "offer on it's menu"?
As for the icon, you do not want to use the colored 🍴 I proposed earlier? I see you created this icon obviously for this quest, but still we need two icons: One for vegan and one for vegetarian. And if we just add a "+" to vegetarian and "++" to vegan, or the same thing with starts or maybe even with carrots or so, but there should be a visual difference. |
BTW this PR is now unblocked. |
A logo for the vegetarian places could be http://vegetarianmark.net |
Perhaps I'm too late to the conversation, but I have some feedback on the (English) wording. I think the original wording of "suitable for vegetarians" is the correct English term for what I suggest some form of V for a logo for vegetarian, since that's commonly used on menus or on food in supermarkets in my experience. But I'm not sure what do for vegan. |
I will change the wording a little bit. |
Hmm wait, that the wording was set to "explicitly" was result of the prior discussion. @rory did neither refute nor even respond these arguments. To recap, the reason why "explicitly" is mentioned (and explicitly can mean as little as that on their menu, they have a section "Vegetarian menus"), is, that if it is not explicitly mentioned that something is vegetarian, one cannot assume that a particular dish is vegetarian. I.e. for "Bratkartoffeln" (fried potatoes) in Germany, it can be the case, that there is some ham inside as well, without that it is explicitly mentioned on the menu. Many dishes that seem to be vegetarian / vegan may not actually be. It should not be in the responsibility of the surveyor to sort this out (by interviewing the chef??). This is even more important for vegan, since many people have no idea in which all products there are actually animal products. (Wine, I hear, as well). I would find it much worse to tag a place wrongly as Of course, thinking of India, where vegetarian restaurants are more the norm than not, no restaurant will actually "explicitly" mention that they have veg food (because everything on their menu is). But currently, I think the users will have enough common sense to tag a "only-vegetarian-without-explicitly-mentioning-it"-restaurant not as Just removing the "explicitly" is not the right solution. I was thinking of "...caters to..." but I am not native speaker, so it could be that "caters to" is actually even harder than "explicitly". So I find "explicitly" the best alternative here. |
You're right, I didn't address the original points. However I would content that "Is [place] suitable for vegetarians?" is exactly what |
😁😂 It is so long ago that I created this PR that I forgot that... |
# Conflicts: # app/src/main/java/de/westnordost/streetcomplete/quests/QuestModule.java # app/src/main/res/values/strings.xml
…that (and other disabled quests) Also: - add an icon for vegetarian quest - slightly change texts
Here is the updated version of #499. The quest is now split into two seperate quests and each quest is a simple yes-no-dialog with an "Other answer" for "Only serves vegetarian/vegan food"

The vegetarian question looks like this:
And the vegan question looks like this: