-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
better deal with bad OSM data for OH #3719
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
eae0c48
better deal with bad OSM data for OH
matkoniecz c6f0327
fix typo
matkoniecz af005e7
manually force Longs
matkoniecz 2aff336
clean imports
matkoniecz 8cebddf
Update app/src/main/java/de/westnordost/streetcomplete/quests/opening…
westnordost 364a276
Update app/src/main/java/de/westnordost/streetcomplete/quests/opening…
westnordost c9962f3
Update app/src/main/java/de/westnordost/streetcomplete/quests/opening…
westnordost abac445
stop asking for recycling battery containers
matkoniecz 1c0f639
Merge branch 'master' into OH
matkoniecz f9fed42
edit CheckOpeningHoursSigned filter to match AddOpeningHours filter
matkoniecz 0d5794f
drop test that either require access to private function or overhelmi…
matkoniecz c4a64fc
Update app/src/main/java/de/westnordost/streetcomplete/quests/opening…
westnordost File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Shouldn't we drop recycling from here too?
Also should this either be
~
, or can the one in AddOpeningHours be=
too?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.
Good catches!
Fixed
=
vs~
in 0848d98amenity = recycling and recycling_type = centre
should be either added to name quest or allowed to have no name in opening hours quest, not checked which would be preferable.Or maybe in addition also removed from opening hours quest, is there distinction between recycling centres that allow walk ins and ones that are factories closed to typical people?
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.
The
recycling_type = centre
bit isn't in the CheckOpeningHoursSigned code though.I'm guessing you meant "rather than not checked"?
The recycling centres near me which allow walk/drive in from the public are normally council things which also accept waste too, would they be tagged like that not as something else? We used to call them a dump or tip, but they didn't used to recycle quite so much.
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.
Yes, but asking for extremely rare cases where this tag was manually placed on containers is also fine
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.
https://wiki.openstreetmap.org/wiki/Tag:recycling_type%3Dcentre
So asking for opening hours is fine