#19280 closed defect (fixed)
Select all inside: Child Nodes of inside ways not selected
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin utilsplugin2 | Version: | |
Keywords: | template_report select all_inside node | Cc: |
Description
What steps will reproduce the problem?
- Have a polygon with a way with some child nodes inside, see josm_all_inside_small_example.osm.
- Select polygon
- "All inside" from selection menu
What is the expected result?
All object inside the polygon are selected
What happens instead?
Child nodes of ways inside the polygon are not selected
Please provide any additional information below. Attach a screenshot if possible.
Other nodes are selected
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-05-21 00:29:30 +0200 (Thu, 21 May 2020) Revision:16472 Build-Date:2020-05-21 01:30:46 URL:https://josm.openstreetmap.de/svn/trunk Plugins: + utilsplugin2 (35468)
Attachments (1)
Change History (6)
by , 5 years ago
Attachment: | josm_all_inside_small_example.osm added |
---|
comment:1 by , 5 years ago
It would be ease to change that, but it seems this is intended. See also[o30200]
There is a flag ignoreNodesOfFoundWays
which is set to true for the action. No idea why.
If you use search (Ctrl+F) with inside
you get what you want.
comment:2 by , 5 years ago
It is easier to deselect child nodes than to additional select them.
The flag should be a setting.
With search I should get all possible selections.
I would expect that the same functions are used but I do not know what was implemented first.
We need to document the action to state what the result of the action should be.
comment:3 by , 5 years ago
I looked at the svn history. I think [o26644] introduced the select all inside action and my understanding of the code is that nodes and ways were selected in this version. [o30200] changed it.
I assume that change wasn't intended as the comment only mentions that the search finds nodes and ways, so I'd be happy to change the code for the action to find nodes and ways again.
small example