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.
Name | Type | Use | Description |
---|---|---|---|
|
string |
required |
ID of the connecting road. Only to be used for junctions of @type="default". |
|
optional |
Contact point on the @connectingRoad or @linkedRoad. Required for all junction types except virtual. |
|
|
string |
required |
Unique ID within the junction |
|
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:
-
asam.net:xodr:1.4.0:junctions.connection.connect_road_no_incoming_road: Connecting roads shall not be incoming roads.
Related topics