# Scenery

This file describes the road network and all static objects of the road for the simulation run. It is structured according to the ASAM OpenDRIVE 1.6 standard.

The file name can be freely chosen, but needs to be properly referenced by the Scenario within the tag RoadNetwork.

## Restrictions

If object definitions does not meet the OpenDRIVE or are not supported, the simulation is aborted. On top openPASS adds some additional requirements to the attributes of objects:

- length > 0

- width > 0

- radius == 0

Objects, which do no meet these requirements are ignored.

## Full Example

SceneryConfiguration.xodr

     1<OpenDRIVE>
     2  <header revMajor="1" revMinor="1" name="Testfile" version="1" date="Thu Feb 8 14:24:06 2007" north="2.0000000000000000e+003" south="-2.0000000000000000e+003" east="2.0000000000000000e+003" west="-2.0000000000000000e+003"/>
     3  <road name="" length="5139.7188686309819" id="1" junction="-1">
     4    <link/>
     5    <planView>
     6      <geometry s="0.0000000000000000e+000" x="0" y="7.5" hdg="0" length="4000">
     7        <line/>
     8      </geometry>
     9      <geometry s="4000" x="4000" y="7.5" hdg="0" length="285">
    10        <spiral curvStart="0.0000000000000000e+000" curvEnd="-0.0028500000000000066"/>
    11      </geometry>
    12      <geometry s="4285" x="4280.3350391612494" y="-30.629710830536482" hdg="-0.40612500000000096" length="183.7188686309816">
    13        <arc curvature="-0.0028500000000000066"/>
    14      </geometry>
    15      <geometry s="4468.7188686309819" x="4422.9323279193268" y="-143.12204699500415" hdg="-0.92972377559829977" length="571">
    16        <spiral curvStart="-0.0028500000000000066" curvEnd="0.0000000000000000e+000"/>
    17      </geometry>
    18      <geometry s="5039.7188686309819" x="4476.6651848689908" y="-694.88624436808436" hdg="-1.7453292519943295" length="100">
    19        <line/>
    20      </geometry>
    21    </planView>
    22    <elevationProfile/>
    23    <lateralProfile/>
    24    <lanes>
    25      <laneSection s="0.0000000000000000e+000">
    26        <left/>
    27        <center>
    28          <lane id="0" type="border" level="true">
    29            <link>
    30              <successor id="0"/>
    31            </link>
    32            <roadMark weight="standard" sOffset="0" type="solid" color="standard" width="0.12" laneChange="both"/>
    33          </lane>
    34        </center>
    35        <right>
    36          <lane id="-1" type="driving" level="true">
    37        <link>
    38        <successor id="-1"/>
    39        </link>
    40        <width sOffset="0" a="3.75" b="0" c="0" d="0"/>
    41        <roadMark weight="standard" sOffset="0" type="broken" color="standard" width="0.12" laneChange="both"/>
    42        </lane>
    43        <lane id="-2" type="driving" level="true">
    44        <link>
    45        <successor id="-2"/>
    46        </link>
    47        <width sOffset="0" a="3.75" b="0" c="0" d="0"/>
    48        <roadMark weight="standard" sOffset="0" type="solid" color="standard" width="0.12" laneChange="both"/>
    49        </lane>
    50        </right>
    51      </laneSection>
    52    </lanes>
    53    <objects>
    54      <object type="roadMark" name="RoadSideMarkerPost" id="" s="0" t="1" zOffset="0" validLength="0" orientation="+" length="0.12" width="0.12" height="1.2" hdg="0" pitch="0" roll="0">
    55        <repeat s="0" distance="50" length="5139.7188686309819"/>
    56      </object>
    57      <object type="roadMark" name="RoadSideMarkerPost" id="" s="0" t="-8.5" zOffset="0" validLength="0" orientation="-" length="0.12" width="0.12" height="1.2" hdg="0" pitch="0" roll="0">
    58        <repeat s="0" distance="50" length="5139.7188686309819"/>
    59      </object>
    60      <object type="railing" name="GuardRail" id="" s="0" t="0.5" zOffset="0" validLength="0" orientation="+" length="3.0" width="0.25" height="0.9" hdg="0" pitch="0" roll="0">
    61        <repeat s="0" distance="0" length="5139.7188686309819"/>
    62      </object>
    63      <object type="railing" name="GuardRail" id="" s="0" t="-8" zOffset="0" validLength="0" orientation="-" length="3.0" width="0.25" height="0.9" hdg="0" pitch="0" roll="0">
    64        <repeat s="0" distance="0" length="5139.7188686309819"/>
    65      </object>
    66    </objects>
    67    <signals/>
    68  </road>
    69</OpenDRIVE>