Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Polygons cannot be split by selecting a non-end node #2736

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Polygons cannot be split by selecting a non-end node #2736

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: seav
[Submitted to the original trac issue database at 12.36pm, Monday, 22nd February 2010]

version: 0.15-svn(19940)

An area way (polygon) could not be split by just selecting a node that is not the common endpoint as the split point. In this scenario, what is expected is that there would be two ways each having the same end nodes: the original common end node and the new end node that was selected. Instead what seems to happen is that the selected node becomes the new end node of the polygon and that there is a new node on top of the selected node.

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 6.33pm, Monday, 22nd February 2010]

This is not very clear.

Are you trying to break the area? Breaking would duplicating the selected node of the area, effectively "opening" it. Is this what you actually did?

Are you actually trying to split it? In this case, you have to select the area and 2 points, the result being 2 roads, attached by the common 2 nodes.

@openstreetmap-trac
Copy link
Author

Author: seav
[Added to the original trac issue at 12.04am, Tuesday, 23rd February 2010]

I know that you can split the area by selecting two nodes. But I think that you should also be able to split the area by selecting just one node (which is not the common end node of the area). When you split a way with just one node selected as stated, the effect is as if the common end node was also selected and the area is split into two ways sharing common end nodes: the selected node and the original common end node. This is the behavior in Potlatch and I would imagine that many people coming from Potlatch would expect this.

@openstreetmap-trac
Copy link
Author

Author: seav
[Added to the original trac issue at 12.11am, Tuesday, 23rd February 2010]

Anyway, when I try the scenario above in Merkaartor I get weird behavior:

  1. Create a 4-node area.
  2. Select the area and a node (which is not the common end node).
  3. Use the split tool.
  4. The effect is as if the break tool was applied, not the split tool since there are now two separate nodes on the same location.

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 12.21am, Tuesday, 23rd February 2010]

That's on purpose, because, IMHO, that's the logical exectation when selecting 1 node, to actually break. But I should disable the menu item altogether to avoid confusion.

Call me thick but I don't get it. I don't understand what would be the start and end node of the 2 segment by selecting only 1 node.
I think I understand that the second node would be assumed to be the closing node of the area?
How is the user supposed to know which node it is? Do Potlach highlight it differently?

I never used Potlach so I cannot understand from experience.

If I'm wrong, could you (or someone else) make me a little explanatory drawing, please, or Potlach screenshots?

If I'm right, this seems to be rather cumbersome and error-prone just to avoid selecting a 2nd node...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant