11.1 Introduction to lanes

In ASAM OpenDRIVE, lanes are an essential part of all roads. Lanes are assigned to a lane layer, which is attached to the road reference line of the road. In each lane layer, lanes are defined from inside to outside. A minimum road definition requires a lane layer with a center lane and an additional lane with a defined width. The number of lanes per road and layer is not limited.

The center lane has no width and serves as reference for lane numbering. Furthermore, it contains the innermost road markings. The center lane itself has the lane id 0. The numbering of the other lanes in each layer starts at the center lane: Lane numbers descend to the right, meaning a negative t-direction, and ascend to the left, meaning a positive t-direction.

Individual lanes can be marked as inaccessible due to roadworks with the @roadworks attribute. Access to and driving on a lane where @roadworks is set to true is restricted for traffic.

img
Figure 57. Center lane for road with lanes of different driving directions

Figure 57 shows the center lane for a road with multiple traffic lanes and different driving directions. In this case, the center lane separates the driving directions, depending on left- and right-hand traffic, specified in Road type. Because no lane offset is used, the center lane is identical to the road reference line.

img
Figure 58. Center lane for road with lanes of identical driving direction

Figure 58 shows the center lane for a road with lanes that have the same driving direction, meaning a one-way road.

Elements in UML model

<lanes> element

In ASAM OpenDRIVE, lanes are represented by <lanes> elements within the <road> element.

UML class: t_road_lanes
XML tag:   <lanes> (Multiplicity: 1..2)

Lanes are an essential part of all roads. Lanes are attached to the road reference line and are defined from inside to outside.

Lanes contain a series of lane section elements that define the characteristics of the road cross sections with respect to the lanes along the road reference line.

Table 34. Attributes of the <lanes> element
Name Type Use Description

layer

e_layerType

optional

Layer the lanes are assigned to (permanent, temporary).

img
Figure 59. UML class diagram of the Lanes class

Figure 59 shows the UML class diagram of the ASAM OpenDRIVE Lanes class.

XML example

<lanes>
    <laneSection s="0.0">
        <left>
            <lane id="2" type="border" level="false">
                <link>
                </link>
                <width sOffset="0.0" a="1.0" b="0.0" c="0.0" d="0.0"/>
            </lane>
            <lane id="1" type="driving" level="false">
                <link>
                </link>
                <width sOffset="0.0" a="4.0" b="0.0" c="0.0" d="0.0"/>
            </lane>
        </left>
        <center>
            <lane id="0">
                ...
            </lane>
        </center>
        <right>
            <lane id="-1" type="driving" level="false">
                <link>
                </link>
                <width sOffset="0.0" a="4.0" b="0.0" c="0.0" d="0.0"/>
            </lane>
            <lane id="-2" type="border" level="false">
                <link>
                </link>
                <width sOffset="0.0" a="1.0" b="0.0" c="0.0" d="0.0"/>
            </lane>
        </right>
    </laneSection>
</lanes>

Rules

The following rules apply to the use of lanes:

  • Lane layers may have as many lanes as needed.

  • asam.net:xodr:1.4.0:road.lane.lane_order: Lane numbering shall start with 1 next to the center lane in positive t-direction in ascending order and -1 next to the center lane in negative t-direction in descending order.

  • There may be bidirectional lanes. This is specified using the @direction attribute of the <lane> element.

  • All drivable lanes must be continuous and smooth, with no gaps, and must account for the plan view, profiles, and lane properties during design and implementation.

In older ASAM OpenDRIVE versions a road required at least one lane with a width greater zero. As roads can now be used for junction boundaries and do not need an extra lane, this rule has been removed.

Related topics