Skip to content
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

prevent really unclear level quests with no detected object type #5198

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

matkoniecz
Copy link
Member

require object having known name or known object type otherwise mapper has no chance to answer question
similar to say 14f0040

prompted by https://www.openstreetmap.org/node/6213197233

Without this change the level number quest may be asked without giving any info whatsoever what it is being asked about.

screen

Note that it will NOT block objects of known type with no name tags.

Similar filtering is used already by opening hours quest.

matkoniecz referenced this pull request Aug 16, 2023
require object having known name or known object type
otherwise mapper has no chance to answer question
similar to say 14f0040

prompted by https://www.openstreetmap.org/node/6213197233
@westnordost
Copy link
Member

westnordost commented Aug 16, 2023

This has been discussed in particular in #4448 (comment) onwards

@westnordost
Copy link
Member

So, it looks like the chosen solution should rather mimic what a4c6d32 did for consistency.

@matkoniecz matkoniecz marked this pull request as draft August 17, 2023 04:09
@matkoniecz
Copy link
Member Author

That may fail in unusual cases, say name=unusual_shop_value name:signed=no but it is really unlikely as name:signed=no is added basically only by StreetComplete.

@westnordost
Copy link
Member

Yeah

skip vast majority of objects without known name or known object type
in such cases mapper has no chance to answer question

prompted by https://www.openstreetmap.org/node/6213197233
@matkoniecz matkoniecz marked this pull request as ready for review August 23, 2023 04:30
@westnordost westnordost merged commit 1836497 into streetcomplete:master Aug 23, 2023
@matkoniecz matkoniecz deleted the unknown branch August 23, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants