Main Content

Road Plan Tool

Create and lay out roads

Since R2020a

Description

The Road Plan Tool is the primary tool for creating and laying out roads. It allows for creation and manipulation of the 2D reference curve that the road layout is based on. The height of the road can be manipulated independently using the Road Height Tool. By default, the Road Plan Tool automatically creates intersections at locations where roads overlap. For information on how to avoid creating automatic junctions, see Prevent Creation of Automatic Junctions Between Roads.

Roads automatically participate in the terrain surface graph. For more information about this interaction, refer to the How Surfaces Work in RoadRunner.

Open the Road Plan Tool

On the RoadRunner toolbar, click the Road Plan Tool button:

Road Plan Tool button

Examples

Create a New Road

  1. Click the Road Plan Tool button.

  2. If another road is already selected, click away from any road to unselect it.

  3. Optionally, click the desired road style in the Assets Browser to build a road of a particular style. If no road style is picked, a basic default style will be used. For more information about road styles, see Road Style Assets.

  4. Right-click at the location you want to start a new road.

  5. Right-click additional times to create additional road control points to extend and shape the road.

Move Road Control Point

  1. Click the Road Plan Tool button.

  2. Click the road you want to edit. The road is highlighted, and the control points are displayed and connected by light blue lines.

    Curved road with two control points connected light blue lines

  3. Click and drag the desired control point to move it.

  4. Optionally, you can click to select the point, and then type a precise position in the Attributes pane.

Note

The end control points and the first interior control points have some special properties when roads are connected end-to-end:

  • Moving the end control point of one of the roads will move the end of the connected road and update the first interior control point of the other road to ensure that the road directions remain aligned at this end, as shown here:

    Two roads connected end-to-end. The end control point moves and the interior control point of the first road moves with it.

  • Moving the first interior control point of one of the roads will move the first interior control point of the other road (by rotating it about the end point) to ensure that the road directions remain aligned at this end, as shown here:

    Two roads connected end-to-end. The interior control point of the first road moves and the road connected to it also moves.

Insert New Control Point Within Existing Road

  1. Click the Road Plan Tool button.

  2. Click the road you want to edit.

  3. Move the mouse cursor over the blue control line at the location you want to insert a node.

  4. Right-click to insert a new node within the control line of the road.

    Road with a new control point highlighted in red

Adjust Radius of Road Curve

By default, the circular arcs in the road curves will fit in the space available. If a smaller curve radius is desired:

  1. Click the Road Plan Tool button.

  2. Click the road you want to edit. The road is highlighted, and the control points are displayed and connected by light blue lines.

  3. Click the control point closest to the circular arc you want to modify. The attributes of the selected control point will appear in the Attributes pane.

  4. Adjust the Max Radius value to the desired radius. If you do not see anything change, then try a lower value, because Max Radius will limit the maximum radius of the arc.

    Road with control point selected and the Max Radius attribute adjusted

Adjust Curvature of Road Curve

Shift Single Road Using Control Line

You can shift a single road on the editing canvas using a control line.

  1. Click the Road Plan Tool button.

  2. Click the road you want to shift. The road is highlighted, and the control points are displayed and connected by light blue control lines.

  3. To shift the entire road, drag one of the control lines. While dragging the light blue line, the canvas displays a preview of the shifted road as a red outline. Note that the road mesh does not move until you release the control line.

    Road shift preview with control line being dragged

  4. When you are satisfied with the road location indicated by the preview, release the control line. The road mesh shifts from the source location to the destination location.

Shift Multiple Roads Using Control Point

You can shift multiple roads on the editing canvas at the same time using control points.

  1. Click the Road Plan Tool button.

  2. Click and drag from the left side of the canvas to select multiple roads you want to move. The roads are highlighted, and the control points are displayed and connected by light blue control lines.

    Multiple roads selected by dragging the pointer from the left

  3. Click and drag from the right side of the canvas to select the same roads again. The control lines and control points turn red.

    Multiple roads selected by dragging the pointer from the right

  4. Click on a control point and drag it to a new location. While dragging the control point, the canvas displays a preview of the shifted roads as a red outline. Note that the road meshes do not move until you release the control point.

    Roads with control point being dragged

  5. When you are satisfied with the new location of the roads indicated by the preview, release the control point. The road meshes shift from the source location to the destination location.

Extend Existing Road

You can extend an existing road in either direction by adding more control points, as follows:

  1. Click the Road Plan Tool button.

  2. Click the road you want to extend. The road is highlighted, and the control points are displayed and connected by light blue lines.

  3. Click the control point on the end of the road you want to extend.

  4. Right-click to create a new control point and extend the road.

    Road with new control point being added to the end

Note

For optimal performance, avoid very long individual roads. Keeping individual roads under 500 m is recommended. To create stretches of road longer than 500 m, use multiple roads connected end-to-end. Refer to Create New Road Connected End-to-End with Another Road and Connect Two Roads End-to-End.

Create New Road Connected End-to-End with Another Road

In a similar fashion to extending an existing road, you can also create a new road that connects end-to-end with an existing road. The visual result is similar to extending the existing road, but there are some important situations where end-to-end roads are needed:

  • To avoid extremely long roads for performance reasons

  • To create a road loop or self-intersecting road

You can create an end-to-end road that connects with an existing road as follows:

  1. Click the Road Plan Tool button.

  2. If another road is already selected, click away from any road to unselect it.

  3. Click the lavender road node line at the end of a road.

  4. Right-click to create a new control point, which creates a new road that extends off the existing one.

    A new road created that extends from an existing one

Connect Two Roads End-to-End

Similar to the steps above, you can extend a road and simultaneously connect it to the end of an existing road as follows:

  1. Click the Road Plan Tool.

  2. Click the road you want to extend. The road is highlighted, and the control points are displayed and connected by light blue lines.

    Thr selected road highlighted and the control lines and control points are displayed in light blue.

  3. Click the control point on the end of the road you want to extend.

  4. Right-click the lavender line at the end of another road.

Create Road Loop

You can create a closed loop road by combining the steps above or by using the Road Circle Tool.

Note

Closed loops require at least three separate roads. You cannot form a loop from a single road.

  1. Create the first road by using the Create a New Road steps.

    Curved road with control points connected by a blue line

  2. Create the second road by using the Create New Road Connected End-to-End with Another Road steps.

    A second road connected end-to-end with the first road

  3. Create the final road by using the Create New Road Connected End-to-End with Another Road steps, followed by the Connect Two Roads End-to-End steps to end the road.

    A third road connected between the first and second road to form a loop

Delete Road Control Point

  1. Click the Road Plan Tool button.

  2. Click the road you want to delete the point from. The road is highlighted, and the control points are displayed and connected by light blue lines.

  3. Click the control point you want to delete.

  4. Press the Delete key, or select Edit > Delete from the menu bar.

Delete Road

  1. Click the Road Plan Tool button.

  2. Click the road you want to delete.

  3. Press the Delete key, or select Edit > Delete from the menu bar.

Create Intersection

At-grade intersections are created automatically in RoadRunner wherever two or more roads cross.

Four-Way Intersections

To create a four-way intersection, create two roads that fully overlap:

Two overlapping roads that form an intersection

T-Junctions

To create a T-junction, create two roads where one ends within the extents of the other:

Two overlapping roads that form a T-junction

Ramps and Splits

A highway road with an offramp and a road split

To create onramps, offramps, and road splits, refer to the Slip Road Tool documentation.

Self-Intersections

A single road should not overlap itself. If you need to create a road that loops back on itself, either chop the road with the Road Chop Tool, or create roads connected end-to-end:

A single road that loops back in on itself. The road does not form a correct junction. The intersection is missing.

Roads may not cross themselves

A road that loops back in on itself. The road has been chopped into two roads and correctly forms a junction.

Instead, create two or more roads connected end-to-end

Double-Crossings

You might observe issues with lane markings when two roads cross each other twice (that is, two at-grade intersections are formed between the same two roads).

Avoid double-crossing roads. If you need to create a double-crossing situation, either chop one of the roads with the Road Chop Tool, or initially create one of the roads using two end-to-end roads.

A single road the crosses in on itself twice. Sections of the road are missing lane markings.

Avoid roads that cross each other twice.

A road that crosses in on itself twice. The road has been chopped into two roads and the lane markings display correctly.

Instead, split one of the roads in two

(Note the lavender bar indicating an end-to-end connection.)

Note

Intersections are only created when the roads have similar heights at the crossing locations. To adjust road heights, use the Road Height Tool.

Prevent Creation of Automatic Junctions Between Roads

RoadRunner automatically creates intersections wherever two or more roads cross. To prevent RoadRunner from creating automatic junctions between roads, use the Stack Level or Overlap Group attribute.

Stack Level

Two roads only produce an automatic junction if their Stack Level values are the same. For example, when creating an overpass in a highway interchange, you can define the levels of the overpass by assigning each level a different Stack Level value. If you also assign a road an Overlap Group value, then the road only creates automatic junctions with overlapping roads with the same Stack Level value and different Overlap Group values.

To modify the Stack Level value for a road, follow these steps:

  1. Click the Road Plan Tool button.

  2. Click the road for which you want to modify the Stack Level value.

  3. In the Attributes pane, under Road, increase or decrease the Stack Level value as desired to suit your scene. For example, in the figure, a straight road and a curved road overlap. However, because the Stack Level value for the straight road is set to 1 and the Stack Level value for the curved road is set to 0, these two roads do not automatically produce a junction.

    Straight road with Stack Level value set to 1

    Curved road with Stack Level value set to 0

Overlap Group

Roads with the same Overlap Group value do not produce automatic junctions, even if they have the same Stack Level value. You can use the Overlap Group attribute when importing data where the junctions have already been defined (such as from ASAM OpenDRIVE®) to ensure that RoadRunner does not produce additional automatic junctions.

To modify the Overlap Group values for roads, follow these steps:

  1. Click the Road Plan Tool button.

  2. Click the road for which you want to assign an Overlap Group value.

  3. In the Attributes pane, under Road, click the + button next to Overlap Group. This opens the Create Overlap Group dialog box. Enter the name of a group to assign the road to that overlap group.

    Repeat this step to assign the remaining roads to overlap groups. The roads assigned to the same overlap group do not produce an automatic junction. For example, in this figure, a curved road and a straight road overlap. Because the curved road and the straight road both have an Overlap Group Group1, these two roads do not produce a junction.

    Create Overlap Group dialog box open to assign curved road to overlap group Group1

    Straight road also assigned to overlap group Group1.

Explicit Road Curves

By default, new roads will be created out of straight lines and circular arcs. Roads created in this method are called "Automatic". It is sometimes desirable to instead define a road curve as an explicit set of straight lines, circular arcs, clothoids (spirals), and parametric cubics (Hermite curves).

Roads created in this method are called "Explicit." Each straight line, circular arc, clothoid (spiral), or parametric cubic (Hermite curve) is called a "Segment." The explicit road curve also allows you to set the tangents of the road at each control point. Editing the control points of an explicit curve is done the same as with an automatic curve.

Tangents of the road at each control point.

Building Roads With Explicit Curves

Explicit curves can be used to create a road with a very specific profile (for example, a 50 m linear section, followed by a 20 m spiral with specific starting and ending curvatures, followed by a 30 m arc with specific curvature, and so on).

To build such a road, follow these steps:

  1. Click the Road Plan Tool button.

  2. Create a new road using these steps: Create a New Road.

  3. Convert the new road to explicit form using these steps: Make Road Curve Explicit.

  4. Adjust the type and properties of the first road section.

  5. For each new section you want to add to the road:

    1. Add a new section using these steps: Extend Existing Road.

    2. Adjust the type and properties of the new road section.

Make Road Curve Explicit

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. In the Attributes pane, press Convert to Explicit.

Make Road Curve Automatic

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. In the Attributes pane, press Convert to Automatic.

Note

Converting an explicit curve to an automatic curve can slightly change the curve and insert additional points.

Change Tangent of Explicit Curve

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. Click and drag one of the tangent control points and move it to set the desired tangent.

Dragging the tangent control point to set the desired tangent.

Note

Setting tangents on a road may change the type of the segments connected to the affected control point.

Change Type of Segment

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. Click the segment you want to change.

  4. In the Attributes pane, select the Type of the segment. This will automatically constrain the segment's points and tangents to match the type.

Change Length of Segment

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. Click the segment you want to change.

  4. In the Attributes pane, adjust the Length of the segment to the desired length.

Note

You can set the length of a segment only if the segment is a line, arc, or spiral.

Change Curvature of Segment

  1. Click the Road Plan Tool button.

  2. Click the road you want to change.

  3. Click the segment you want to change.

  4. In the Attributes pane, adjust the Curvature (for circular arcs) or Start Curvature/End Curvature (for spirals).

Resulting spiral after adjusting the curvature values for spirals in the Attributes pane.

Note

You can set the curvature of a segment only if the segment is an arc or spiral.

Version History

Introduced in R2020a