-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
display operator for collection times of this postbox quest #1473
Comments
I've also had to leave a nearly identical note because of this... A fedex and ups post box were right next to each other, and I wasn't sure which one the quest was about. |
(1) |
Yes indeed implementation-wise it is a challenge how to do this cleanly. |
I'm confused. Why wouldn't it be as simple as changing getTitle like is done for add bus stop shelter? In english, the brand is usable as an adjective, I'd expect the same for operator for postboxes. |
That is only one part, it selects version of title with space for name ( There is And in https://github.com/westnordost/StreetComplete/blob/a137ccc6c04dbcd60386c1556650f5de7b60226f/app/src/main/java/de/westnordost/streetcomplete/quests/QuestUtil.kt#L25 In case of bus/tram stops only selection of title with space for name and nameless variant was needed as bus stops are fine with using The tricky part is that Though on a second thought:
And for post box it does not matter which value of Overall, no architectural changes appear to be needed. Thanks for being a rubber duck! |
And once I started coding I found obvious mistake - what about a name quest for school that has It should specify object as its type (given by For postbox with |
also, allow each quest to give its own list of name giving tags fixes streetcomplete#1473
also, allow each quest to define its own title replacement(s) (for now only the first one will be used, as there is no quest at this moment that needs to use multiple ones) fixes streetcomplete#1473, closes streetcomplete#1474
See https://www.openstreetmap.org/note/1833373 where user was unable to solve quest as postboxes were not identified - note that https://www.openstreetmap.org/node/3705957048 and https://www.openstreetmap.org/node/3705957049 are mapped separately, each tagged with operator.
The text was updated successfully, but these errors were encountered: