Difference between revisions of "User:Voludu2/Segment and node IDs"

From Wazeopedia
m
m
Line 4: Line 4:
  
 
Here is what happened during an actual editing session.
 
Here is what happened during an actual editing session.
[[File:Segment node ids10.png|600||Replacing a junction with a roundabout preserves the segment IDs, but the junction node ID is lost.  There is a new node where each of the segments joins the new roundabout]]
+
 
  
  
Line 23: Line 23:
 
|caption=At the junction, two segments are connected to the same node. There is exatly one node at a junction.
 
|caption=At the junction, two segments are connected to the same node. There is exatly one node at a junction.
 
|annotation=}}
 
|annotation=}}
<!--
+
 
 
{{User:Voludu2/AI4
 
{{User:Voludu2/AI4
 
|image=Segment_node_ids3.png
 
|image=Segment_node_ids3.png
Line 87: Line 87:
 
|caption=All the segments are now joined at one junction.  The stationary node is retained for the junction node.  The node that was moved is deleted.
 
|caption=All the segments are now joined at one junction.  The stationary node is retained for the junction node.  The node that was moved is deleted.
 
|annotation=}}
 
|annotation=}}
-->
+
[[File:Segment node ids10.png|600||Replacing a junction with a roundabout preserves the segment IDs, but the junction node ID is lost.  There is a new node where each of the segments joins the new roundabout]]

Revision as of 13:47, 23 October 2018

When you edit, you are often creating an deleting segments and nodes, even when you don't realize it.

If you take a moment to select the segments and nodes and look at their IDs in the left pane, you can see what is happening.

Here is what happened during an actual editing session.



Every segment is attached to two nodes - one node at each end of the segment.
At the junction, two segments are connected to the same node. There is exatly one node at a junction.


When a segment is highlighted and one end is dragged away from a node, A new node is automatically created on the segment that was just moved.
When a node is dragged and connected to another node, the "stationary" node (the one that didn't get dragged) is retained. The node that was moved is deleted.
When a segment is cut by connecting another segment somewhere in the middle,two new segments are created. The node from the end of the segment used for cutting becomes the node for the new junction
A segment is disconnected from the junction and gains a new node at the end
Another segment is disconnected from the junction
Two segments are joined. The node from the stationary segment is retained as the junction node and the node from the moving end of the other segment is deleted
If you select the junction of 2 segments and drag it to another node, both segments will have their ends dragged along with the junction
All the segments are now joined at one junction. The stationary node is retained for the junction node. The node that was moved is deleted.

Replacing a junction with a roundabout preserves the segment IDs, but the junction node ID is lost.  There is a new node where each of the segments joins the new roundabout