#23105 closed enhancement (fixed)
[Patch] Add action to select shared/common child objects
Reported by: | Woazboat | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 23.08 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
It would be quite useful to have an action that allows you to select all common child objects that are shared between all currently selected objects.
E.g.:
- select all nodes that are shared between ways
- select all common members of relations
Attachments (0)
Change History (9)
comment:1 by , 15 months ago
Description: | modified (diff) |
---|---|
Summary: | Add action to select shared nodes of ways → [Patch] Add action to select shared/common child objects |
comment:2 by , 15 months ago
Milestone: | → 23.08 |
---|
comment:3 by , 15 months ago
comment:4 by , 15 months ago
NVM. A use case I didn't think about for SelectWayNodesAction
was to select all way nodes in the current selection.
comment:6 by , 14 months ago
Sorry, I didn't have much time in the last weeks to follow up on this or the comments on the github pull request. Thanks for modifying and applying the patch!
comment:8 by , 14 months ago
Initial documentation added via https://josm.openstreetmap.de/wiki/Help/Menu/Selection?action=diff&version=24 .
comment:9 by , 14 months ago
Thank you!
@Woazboat, could you please detail the function in a few sentences on the wiki?
I was going to apply this today.
I didn't, since when a single way is selected, the behavior is very similar to
SelectWayNodesAction
from utilsplugin2.I'm kind of inclined to (a) set the default shortcut to ctrl+shift+n (same as utilsplugin2) and modify utilsplugin2 to not add that action when running a JOSM version with this patch.
Question:
SelectWayNodesAction
? Or should we modifyupdateEnabledState
to check to see if there are at least two selected objects?