User:CBenson/Removing junctions with only two segments

From Wazeopedia

Removing junctions with only two segments

There are times when only two segments are joined at a junction. In general this is not a problem, but it can slow down editing and it may be the source of incorrect turn restrictions and bad routing. So the best practice is to delete these junctions when found. However, it is very important to study the two segments before merging, to ensure the junction is not there for a purpose.

Legitimate Reasons for Two-segment Junctions
  • Loop roads. A single segment cannot loop back upon itself, so a junction is required to create two separate segments. It does not matter where the junction is located, so long as each segment meets the minimum segment length. Some roads have two separate segments that share the same start and end junctions creating two alternate paths between them. These configurations cause routing problems and require one of the two segments to have a 2-segment junction. More details are covered in Junction Style Guide on Loops.
  • Ramp or freeway splits. There are cases where a freeway may split into two separate freeways. In order to provide navigation to drivers, it may be necessary to create short segments on the freeway to show the two different road names at the split. Under certain situations it may be best to make the segments as short as possible, so long as each segment meets the minimum segment length. This is covered in detail in the Junction Style Guide.
  • Long segments. Segments are best kept under a certain distance. See the article segment length for more information.
  • Segment Property Change. When a segment property changes between intersections, a two-segment junction may be required:
  • Road, city, or state name change. When the road, city, or state name changes between intersections, add a junction so the segments on either side may have a different name.
  • Elevation Change. When elevation changes at complex interchanges, a junction can be added to introduce an elevation change.
  • Speed Limit Change. When the speed limit changes between intersections, add a junction so the segments on either side may have a different speed limit.

Once you are certain there is no reason to have the extra junction, there are two methods to remove it. One method highlights the junction and deletes it and the second highlights the two segments and bridges them together.

Delete key or trash can icon

This method is the preferred method, because it enables the WME to alert you when there are legitimate differences between the segments. With the mouse select the junction point between the two segments. Look for the trash can icon at the upper right corner of the WME screen. If it appears press it to remove the junction. Alternatively, the Delete or Del key (not Backspace) removes the junction.

Deletion of a node automatically places a geometry node at that point. If you need to remove the point, you can do so by highlighting the segment and hovering the mouse over the point of the prior junction. The WME displays the point and you can press the d key to remove it.

If the trash can icon does not appear, something about those two segments is different, possibly the city name, street name, road type, or direction of travel.

Bridge segments

Generally do not use this method because it has two additional side effects that are not generally desired.

  1. It increases the elevation of the resulting single segment by one.
  2. It disconnects any other segments at that junction point, but leaves it directly below the geometry node potentially causing automated map problems if not moved.


With the mouse, select one of the segments. Then, while holding down the multi-select key (Control for Windows/Linux and Command for Mac) select the second segment. If the two segments have the same properties including direction, a small bridge icon appears above the junction. Click the bridge to merge the two segments, eliminating the junction between them. A geometry node is placed where the junction was previously located. To remove the node (if necessary), select the segment and hover the mouse near the old junction. The geometry node should be displayed. Then, press the d key to remove the unwanted node. When the segments are different, the bridge icon does not appear at the junction.