openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.34k stars 1.2k forks source link

Option to select all connected features/elements #7388

Open forteller opened 4 years ago

forteller commented 4 years ago

I spend maybe too much time adjusting the placement of buildings. This might not be an important thing to do, generally. But some times I have to to make sure the building doesn't cross a road or a sidewalk. But this is not a fun thing to do if the building is a part of a complex with many connected buildings. Especially if I miss one of the connected element, starts moving it, notice it distort the element I missed, and have to start all over again.

It would be very helpful to have a way to click on one element and then automatically select all connected elements. Maybe as a keyboard shortcut, or maybe as something in the right click context menu. That's not so important for me.

Thanks!

Screenshot from 2020-02-26 21-05-19

(Example of a building crossing a sidewalk because it, and all its connected buildings are misaligned.)

quincylvania commented 4 years ago

I agree we should improve iD's selection mechanisms since we've been improving multiselection inspection and editing for v3. We'll have to see if we can figure out an intuitive UI for this. See also #7375.

forteller commented 4 years ago

Thanks! The lasso tool is not very relevant, though, since it also marks all freestanding nodes etc in the area. As you can see in the screenshot there's a lot of those in Norway (all addresses are added in this way), and you often don't want to move this. In the lower right corner of the screenshot you can see buildings that should be moved, but if the address nodes are moved just as much as the buildings then the nodes would be moved outside the buildings in the photo.

quincylvania commented 4 years ago

7375 is distinct but might be helpful in some of these cases, such as when separate address points aren't present.