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
Sidewalk quest don't show up for majority of roads, since the maxspeed quest is not enabled (US) #2448
Comments
Sidewalk quest has filtering out Ways without maxspeed are allowed. So "resulting in no sidewalk quests showing up at all - since many streets are not yet tagged with a max speed." is not correct.
That is what happens.
Please, give link to an affected location. I am betting that sidewalk is tagged or that it is filtered out due to separately mapped footways or more important quests are shown and hiding it. Try disabling all quests except sidewalk one. |
Hm, looking at the filter now, it is pretty useless. Roads with |
Does this make sense? |
I will also filter |
Hmmm. Wonder if this isn't overding it a little...
|
@matkoniecz Look at the commits I've done just now. You alright with this? |
Which feedback is required? :) |
As your stated reason ("conflicts with the not enabled max speed quest for the US") does not really work |
The changes in commit 7e1f7da lead to the StreetComplete/app/src/main/java/de/westnordost/streetcomplete/quests/bikeway/AddCycleway.kt Lines 332 to 334 in 7e1f7da
StreetComplete/app/src/main/java/de/westnordost/streetcomplete/data/meta/OsmTaggings.kt Lines 26 to 32 in 7e1f7da
StreetComplete/app/src/main/java/de/westnordost/streetcomplete/quests/bikeway/AddCycleway.kt Lines 305 to 309 in 7e1f7da
|
Uff, damn, you are right. Would you like to create a PR for a fix? I think your excellent detective work in the code should also lead to that your work is credited in the changelog. (Also, I am still pondering how this can be fixed...) |
I am also not sure how to fix this. However, I want to additionally note that the used regular expression also matches values like |
Are you sure about this? https://regexper.com/#.*zone%3A%3F%28%5B1-9%5D%7C%5B1-2%5D%5B0-9%5D%7C30%29 |
Ah, misunderstanding. Overpass uses the regex operator "~" for "find in". In StreetComplete, the regex operator "~" means "matches entire string" |
Yes, you are correct. I did not know that StreetComplete internally uses Kotlin's |
Hm, I see no other way to easily solve this than to remove |
How to Reproduce
We currently have a filter when to show the sidewalk quest, based on the tagged speed.
This conflicts with the not enabled max speed quest for the US, resulting in no sidewalk quests showing up at all - since many streets are not yet tagged with a max speed.
Something similar is true for the lit-quest, which also doesn't show up.
Do we really need to assume, that there's no sidewalk when there's no maxspeed tag? I thought we just want to filter out ways with very low maxspeed.
Versions affected
v29-beta1
The text was updated successfully, but these errors were encountered: