12.3 Incoming roads

Incoming roads contain lanes that lead into a junction. Because outgoing roads are not specifically defined in ASAM OpenDRIVE, incoming roads may also serve as outgoing roads, see Figure 83.

To specify a road as incoming road, its ID is referenced in the <connection> element using the @incomingRoad attribute.

Elements in UML model

<connection incomingRoad="…​"> element

In ASAM OpenDRIVE, incoming roads are represented by the @incomingRoad attribute of <connection> elements within the <junction> element.

UML class: t_junction_connection_common
XML tag:   <connection> (Multiplicity: 0..*)

Provides information about a single connection within a common junction.

Table 57. Attributes of the <connection> element
Name Type Use Description

connectingRoad

string

required

ID of the connecting road. Only to be used for junctions of @type="default".

contactPoint

e_contactPoint

optional

Contact point on the @connectingRoad or @linkedRoad. Required for all junction types except virtual.

id

string

required

Unique ID within the junction

incomingRoad

string

optional

ID of the incoming road. Required for all junction types except virtual.

XML example

<junction name="myJunction" id="555" >
    <connection id="0"
                incomingRoad="1"
                connectingRoad="2"
                contactPoint="start">
        <laneLink from="-2" to="-1"/>
    </connection>
</junction>

Rules

The following rules apply to incoming roads:

  • Connecting roads shall not be incoming roads.

Related topics