-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Changing shop type in shop overlay should cleanup old-shop secondary tags #5195
Comments
I think |
So to summarize your request: StreetComplete should not assume that if the name of a place stays the same after changing the type, that it is still the same shop. I assume you make this request because it happened to you during a mapping session? Please describe what happened. |
I'm not sure whom you're asking, but I think it's probably safe to assume that if a shop name doesn't change, it's still the same shop (except when it's still |
It was directed at @mnalis. And yes, this is the reason why StreetComplete does not cleanup old-shop secondary tags when just changing the type but not the name. |
I think it would be safer to ask it also when shop type changes but name remains the same, yes. That should cover corner cases too, and (in my experience) shop/amenity changing type but not name is relatively rare, thus asking such question in those cases too should not excessively spam the user, so it should be both beneficial to data correctness and less confusing to the user to change the behaviour of Shops overlay so the question is always asked, no matter if only name or only type or both are changed.
Primarily I was triggered by issue as linked at the bottom of original post, but if you need an example, I've recently edited e.g. node 2964594173 which kept the same name "Maslina" (meaning "Olive" - quite popular in Dalmatia) but changed type between restaurant to gift shop to restaurant over the years. I think owners only changed once, though. Opening hours did change on each iteration, as they catered to different clientele (but in this particular case, such details were not recorded in older node versions so it would by luck make no difference were it edited in SC Shops overlay, which it wasn't anyway) Note however that I personally rarely if ever use Shops overlay feature of StreetComplete (as I noted before, I find it quite cumbersome to jump from overlay to overlay, and much easier to switch to EveryDoor and do what I need there before switching back to SC, partly also because of problem outlined in the linked issue), but if I were, I probably would've missed the fact that SC didn't ask nor clear old shop data and be confused about wrong data afterwards (just as I was surprised in the linked issue that changing type would not result in asking for new |
Well, you have a point. Asking is safer and at the same time should not spam the user because changing the shop type is something the user will not do often. |
Use case
When one changes shop type in "Shops overlay", it does not cleanup old shop tags (including
opening_hours=*
) - and it should (IMHO).That is not consistent with what happens when one changes the same shop type via Quest when one notices the shop changed (e.g. when answering any shop quest like
Which customers visit this hairdresser?
I can answerIt does not exist
and choose that there is different shop type now (e.g.butcher
). That will removeopening_hours
and other secondary tags related to old amenity/shop, as it should do).As the same action is being performed (i.e. different shop type is now there), SC should behave the same regardless whether user uses Quest
other answer
or Shop overlay to change shop type.Interestingly, when I change the name of the shop in the overlay, I do get asked if it's
Different place now
orStill the same place
, and if I choose the former, the tags likeopening_hours
do get deleted, as they should.Proposed Solution
I would suggest same question
Different place now / Still the same place
also get asked when changing shop type in Shops overlay, and secondary tags cleanup performed if it isdifferent place now
, just as it does when shop type is changed in Quest format viaIt does not exist
.Alternatively, when changing shop type in Shop overlay, always assume
Different place now
when type of the shop changes and perform tag cleanup (because, when hairdresser becomes butcher, it likely also changes its opening hours, payment methods, VAT id etc.)(noticed it #5189 (comment) and went to check how it behaves and indeed it is behaving differently)
The text was updated successfully, but these errors were encountered: