提交 a1effb6a 编写于 作者: 9h03n1x's avatar 9h03n1x

update on xsd

上级 aad4eba4
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE core description
ASAM OpenDRIVE defines a file format for the precise analytical description of road networks
Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_railroad.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_junction.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_signal.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_road.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_railroad.xsd"/>
<xs:include schemaLocation="opendrive_16_junction.xsd"/>
<xs:include schemaLocation="opendrive_16_signal.xsd"/>
<xs:include schemaLocation="opendrive_16_road.xsd"/>
<xs:element name="OpenDRIVE">
<xs:complexType>
<xs:sequence>
......@@ -117,11 +120,11 @@ See www.asam.net/license.html for further details.
<xs:selector xpath="road/signals/signalReference"/>
<xs:field xpath="@id"/>
</xs:keyref>
<xs:keyref name="r_road_railroad_switch_mainTrack" refer="k_road_railroad_switchId">">
<xs:keyref name="r_road_railroad_switch_mainTrack" refer="k_road_railroad_switchId">
<xs:selector xpath="road/railroad/switch/mainTrack"/>
<xs:field xpath="@id"/>
</xs:keyref>
<xs:keyref name="r_road_railroad_switch_sideTrack" refer="k_road_railroad_switchId">">
<xs:keyref name="r_road_railroad_switch_sideTrack" refer="k_road_railroad_switchId">
<xs:selector xpath="road/railroad/switch/sideTrack"/>
<xs:field xpath="@id"/>
</xs:keyref>
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE junction description
......@@ -11,8 +11,11 @@ Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:simpleType name="e_contactPoint">
<xs:restriction base="xs:string">
<xs:enumeration value="start"/>
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE lane description
ASAM OpenDRIVE lane dsecription
Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:simpleType name="e_accessRestrictionType">
<xs:restriction base="xs:string">
<xs:enumeration value="simulator"/>
......@@ -303,7 +306,7 @@ b) continuous two-way left turn lane on multi-lane roads – US road networks</x
</xs:complexType>
<xs:complexType name="t_road_lanes_laneSection">
<xs:annotation>
<xs:documentation>Lanes may be split into multiple lane sections. Each lane section contains a fixed number of lanes. Every time the number of lanes changes, a new lane section is required.</xs:documentation>
<xs:documentation>Lanes may be split into multiple lane sections. Each lane section contains a fixed number of lanes. Every time the number of lanes changes, a new lane section is required. The distance between two succeeding lane sections shall not be zero.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="_OpenDriveElement">
......@@ -356,7 +359,7 @@ b) continuous two-way left turn lane on multi-lane roads – US road networks</x
</xs:complexType>
<xs:complexType name="t_road_lanes_laneSection_lcr_lane_link">
<xs:annotation>
<xs:documentation>For links between lanes with an identical reference line, the lane predecessor and successor information provide the IDs of lanes on the preceding or following lane section. This element may only be omitted, if lanes end at a junction or have no physical link.</xs:documentation>
<xs:documentation>For links between lanes with an identical reference line, the lane predecessor and successor information provide the IDs of lanes on the preceding or following lane section. For links between lanes with different reference line, the lane predecessor and successor information provide the IDs of lanes on the first or last lane section of the other reference line depending on the contact point of the road linkage. This element may only be omitted, if lanes end at a junction or have no physical link.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="_OpenDriveElement">
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE object description
......@@ -11,9 +11,12 @@ Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_lane.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:include schemaLocation="opendrive_16_lane.xsd"/>
<xs:simpleType name="e_borderType">
<xs:restriction base="xs:string">
<xs:enumeration value="concrete"/>
......@@ -167,6 +170,14 @@ See www.asam.net/license.html for further details.
<xs:selector xpath="outlines/outline"/>
<xs:field xpath="@id"/>
</xs:key>
<!--xs:keyref name="r_road_objects_object_outline_cornerRoad" refer="k_road_objects_object_outlineId">
<xs:selector xpath="outlines/outline/cornerRoad"/>
<xs:field xpath="@id"/>
</xs:keyref>
<xs:keyref name="r_road_objects_object_outline_cornerLocal" refer="k_road_objects_object_outlineId">
<xs:selector xpath="outlines/outline/cornerLocal"/>
<xs:field xpath="@id"/>
</xs:keyref-->
<xs:keyref name="r_road_objects_object_borders_border" refer="k_road_objects_object_outlineId">
<xs:selector xpath="borders/border"/>
<xs:field xpath="@outlineId"/>
......@@ -352,7 +363,7 @@ For a parking space, the &lt;parkingSpace&gt; element may be used additionally.<
<xs:complexContent>
<xs:extension base="_OpenDriveElement">
<xs:sequence>
<xs:element name="cornerReference" type="t_road_objects_object_markings_marking_cornerReference" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="cornerReference" type="t_road_objects_object_markings_marking_cornerReference" minOccurs="2" maxOccurs="unbounded"/>
<xs:group ref="g_additionalData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="width" use="required" type="t_grEqZero">
......@@ -398,10 +409,10 @@ For a parking space, the &lt;parkingSpace&gt; element may be used additionally.<
<xs:complexContent>
<xs:extension base="_OpenDriveElement">
<xs:sequence>
<xs:element name="cornerReference" type="t_road_objects_object_markings_marking_cornerReference" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="cornerReference" type="t_road_objects_object_markings_marking_cornerReference" minOccurs="2" maxOccurs="unbounded"/>
<xs:group ref="g_additionalData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="side" use="optional" type="e_sideType">
<xs:attribute name="side" use="required" type="e_sideType">
<xs:annotation>
<xs:documentation>Side of the bounding box described in &lt;object&gt; element in the local coordinate system u/v. For values see UML model.</xs:documentation>
</xs:annotation>
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE railroad description
......@@ -11,9 +11,12 @@ Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_junction.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_junction.xsd"/>
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:simpleType name="e_road_railroad_switch_position">
<xs:restriction base="xs:string">
<xs:enumeration value="dynamic"/>
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE road description
......@@ -11,13 +11,16 @@ Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_junction.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_railroad.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_signal.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_object.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_lane.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_junction.xsd"/>
<xs:include schemaLocation="opendrive_16_railroad.xsd"/>
<xs:include schemaLocation="opendrive_16_signal.xsd"/>
<xs:include schemaLocation="opendrive_16_object.xsd"/>
<xs:include schemaLocation="opendrive_16_lane.xsd"/>
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:simpleType name="e_countryCode">
<xs:union memberTypes="e_countryCode_iso3166alpha2 e_countryCode_iso3166alpha3_deprecated e_countryCode_deprecated"/>
</xs:simpleType>
......@@ -621,7 +624,7 @@ In OpenDRIVE, a cubic polynom is represented by a &lt;poly3&gt; element within t
</xs:attribute>
<xs:attribute name="type" use="required" type="e_roadType">
<xs:annotation>
<xs:documentation>For supported types, for values see UML model.</xs:documentation>
<xs:documentation>Type of the road defined as enumeration, see UML diagramm</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="country" use="optional" type="e_countryCode">
......
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
ASAM OpenDRIVE V1.6.1
ASAM OpenDRIVE V1.6.0
© by ASAM e.V., 2021
© by ASAM e.V., 2020
ASAM OpenDRIVE signal description
......@@ -11,11 +11,14 @@ Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_road.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_object.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_core.xsd"/>
<xs:include schemaLocation="https://code.asam.net/simulation/standard/opendrive_schema/-/raw/master/opendrive_16_lane.xsd"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://code.asam.net/simulation/standard/opendrive_schema"
xmlns="http://code.asam.net/simulation/standard/opendrive_schema"
elementFormDefault="qualified">
<xs:include schemaLocation="opendrive_16_road.xsd"/>
<xs:include schemaLocation="opendrive_16_object.xsd"/>
<xs:include schemaLocation="opendrive_16_core.xsd"/>
<xs:include schemaLocation="opendrive_16_lane.xsd"/>
<xs:simpleType name="e_road_signals_signal_reference_elementType">
<xs:restriction base="xs:string">
<xs:enumeration value="object"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册