Adding higher or lower to overlapping buildings
URL
No response
How to reproduce the issue?
In iD Editor draw one area and tag it as building=yes. Draw another area that overlaps the first area and tag it as building=yes. Select the outline of one of the buildings. The yellow Issues warning suggest Tag this as higher or Tag this as lower instead of resolving the issue of the overlap. Many inexperienced mappers click on one of those suggestions which then adds a plus layer or minus layer to the building but does not resolve the issue of the overlapping buildings. This has resulted in the use of a Map Paint Style (layer checker) to identify the buildings with a layer tag so that we can remove the layer tag from the building and then adjust the geometry of the buildings (if necessary) so they do not overlap. Remember that the recommendation for buildings is to use level instead of layer tags.
Screenshot(s) or anything else?
Here is the result of that yellow Issue
Buildings have +1 or -1 layer added and the main highway through the town has a -1 layer. All of this to avoid the validator showing overlapping buildings.
The JOSM Validation function does not pick up that these are still overlapping buildings but it does pick up that the highway has intersections on different layers.
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
@RAytoun I have gone through the issue and yes using the layer tag makes the buildings (basically they all are on ground level only) float on one another which is inappropriate because this "layer tag" is generally used for the bridges over canals etc..
So, basically now to help the new/inexperienced mappers the best we can do is -
- If a warning "Building crosses Building" then we should not show "Tag as higher/lower" first to the user on editor as they mostly intend to select one of them obviously which makes the buildings float on each other which is inappropriate.
- Instead "Reposition the features" should be the first suggestion with a text saying "Buildings usually should not overlap. If these are separate buildings, please reposition them and click 'Ignore' on this warning."
By making this way at least the mappers now can not select the layer option right! Open to hear your thoughts on this one and @k-yle and @tordans expecting same from you too!
@ak8abhinay Thank you for your quick response. Certainly your solution may well work to reduce the workload of cleaning up the floating buildings. If at all possible I would like to see the layer option removed from the buildings issue prompt altogether as the layering of buildings is not appropriate in the majority of cases and the building level tags would handle most of the other cases. There are very few cases where the layer tag may be needed on buildings such as the roof cover at a petrol filling station. (taginfo shows 54,354 instances of this) I have shared your response with interested parties and am awaiting their response to your solutions.
@RAytoun Thanks for the update from your side. Yes! the "Tag as higher/lower" layer tag can be removed for the buildings for the obvious reasons. And also yes I agree with you for the cases where this tag is necessary for that the mapper require some manual actions for tagging. I'll wait to hear what the interested parties think. Am ready to help and look into the code and open a PR to implement these changes.
I agree that, at minimum, the "Tag as higher/lower" solutions should be removed.
What would really be helpful is if "Reposition the features" could be somehow automatized, in the same manner as "Add a bridge" solution when a highway and a waterway cross. In most cases, there's only a slight overlap of the buildings, as in the following screenshot:
In this case, I would really like the two buildings "glued", sharing the two nodes where they intersect. Doing this manually takes some time. It's tricky to recognize the situations where such a solution makes sense, though. I think the possible automatized solutions may include:
- Move the buildings apart (find the axis of the overlapping area, then move the buildings perpendicularly to it until they split)
- Make the buildings touch ("glue" the buildings together using... some... algorithm).