Repository navigation
remove cuisine when retagging restaurant to something else - #1622
matkoniecz wants to merge 3 commits into
Conversation
|
🍱 Your pull request preview is ready Please use this preview to check your changes. Ideally use the test documentation template and document your test results by commenting on the PR. This will speed up the review process for everyone. FYI, once this PR is merged, you can use the iD Editor Preview to test your changes in interaction with all other changes. |
|
it works, tested on retagging into bank will do full "Checklist and Test-Documentation Template" at some point (depending of availability of free time I will use on OSM volunteering in this way) |
|
thinking about a long term solution: maybe when you change presets from For example:
In every case, generic tags like |
|
Seems like a good idea and I am a bit surprised it is not happening already |
that would require change in iD, I guess? And would require no change in iD presets. maybe it would be even relatively simple to implement - and maybe it can be even easily found looking where iD code uses |
Isn't this a bit more subtle, are you reclassifying, it's really fast food not a restaurant, or saying it's now an entirely different restaurant/cafe etc (e.g. seafood to chinese). StreetComplete asks if it's still the same place to drive these updates.
Certainly preserving name if it's changed ownership could be problematic... |
I implemented this in my app yesterday and have been playing around with it (it's not yet live). If you convert a fast-food/cafe to a restaurant it drops keys about drive-through, which occasionally is inappropriate. I haven't seen other issues that are concerning. I applied it to both |
|
See also @mnalis https://github.com/mnalis/StreetComplete-taginfo-categorize for a more hand-curated approach to the problem... |
|
reopening as openstreetmap/iD#11696 got reverted |
fixes openstreetmap/iD#11037
Description, Motivation & Context
retagging restaurant to shop should not leave cuisine tag behind
Note: now retagging restaurant to fast food will also delete it (but it seems fine)
Related issues
fixes openstreetmap/iD#11037
Links and data
Relevant OSM Wiki links:
Relevant tag usage stats:
Checklist and Test-Documentation Template
Read on to get your PR merged faster…
Follow these steps to test your PR yourself and make it a lot easier and faster for maintainers to check and approve it.
This is how it works:
After you submit your PR, the system will create a preview and comment on your PR:
Once the preview is ready, use it to test your changes.
Now copy the snippet below into a new comment and fill out the blanks.
Now your PR is ready to be reviewed.