-
Notifications
You must be signed in to change notification settings - Fork 163
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
iD incorrectly deletes the building= tag when applying preset of various amenity types #1404
Comments
Thanks for sharing this issue @deevroman. I have reproduced this issue, and I also see that this happens not just for building, but I believe for everything else as well. If we select a road, restaurant etc, and changes its preset, some of the initial tags are removed. |
In principle this is working as designed: The tags of the previous preset are removed from the feature and the tags from the new preset are applied to it. This is to allow changing features between different types, e.g. from That said, this would be solved by adding a field for the building tag to the Morgue preset (and potentially also the Hospital preset1). Footnotes
|
Duly tagged as {{questionable}} en route to deletion. According to taginfo, there are 20,000 out of 200,000 hospitals worldwide doubly-tagged as building=*. I also think that |
Maybe it can be solved this way: If someone selects a building and tries to add an amenity (or other feature) tag for which the preset does not have a building field, then instead of deleting the building tag add a new node in the middle of or near the building, apply the new preset there and select this new node instead of the building. Perhaps ask/warn before doing it like that. |
How to reproduce the issue?
bug_id.mp4
This also happens with presets for hospitals, schools, etc. Some will say that these presets imply a territory and therefore remove building=. But I believe that iD should not clean up building=:
bug_id2.mp4
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
No response
Which browsers are you seeing this problem on?
No response
The text was updated successfully, but these errors were encountered: