Commit 9137fe67 authored by CO Coordination's avatar CO Coordination
Browse files

railML 3.2 alpha 1 from UML

git-svn-id: https://svn.railml.org/railML3/trunk@1090 997d4637-a740-4bf4-9a76-81fddc049f28
parent 64db32b0
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2/gml" xmlns:gml4rail3="https://www.railml.org/schemas/3.2/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1">
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2/gml" xmlns:gml4rail3="https://www.railml.org/schemas/3.2/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2">
<xs:annotation>
<xs:documentation>Content of this file: XML Schema for railML(R) 3.1 Definition of GML based elements for infrastructure sub schema.
<xs:documentation>Content of this file: XML Schema for railML(R) 3.2 (alpha) Definition of GML based elements for infrastructure sub schema.
GML is an OGC Standard.
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
Source: http://schemas.opengis.net/gml/3.2.1/geometryBasic0d1d.xsd
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/</xs:documentation>
</xs:annotation>
<xs:complexType name="LineStringType">
<xs:simpleType name="doubleList">
<xs:annotation>
<xs:documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.</xs:documentation>
<xs:documentation>A type for a list of values of the respective simple type.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml4rail3:AbstractCurveType">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="pos" type="gml4rail3:DirectPositionType" minOccurs="0" maxOccurs="1"/>
<xs:element name="posList" type="gml4rail3:DirectPositionListType" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:list itemType="xs:double"/>
</xs:simpleType>
<xs:simpleType name="NCNameList">
<xs:annotation>
<xs:documentation>A type for a list of values of the respective simple type.</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:NCName"/>
</xs:simpleType>
<xs:simpleType name="NilReasonType">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType name="AbstractCurveType" abstract="true">
<xs:annotation>
<xs:documentation>gml:AbstractCurveType is an abstraction of a curve to support the different levels of complexity. The curve may always be viewed as a geometric primitive, i.e. is continuous.</xs:documentation>
......@@ -60,59 +60,25 @@ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/</
</xs:sequence>
<xs:attribute name="id" use="optional" type="xs:ID"/>
</xs:complexType>
<xs:group name="StandardObjectProperties">
<xs:sequence>
<xs:element name="description" type="gml4rail3:StringOrRefType" minOccurs="0" maxOccurs="1"/>
<xs:element name="descriptionReference" type="gml4rail3:ReferenceType" minOccurs="0" maxOccurs="1"/>
<xs:element name="name" type="gml4rail3:CodeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="identifier" type="gml4rail3:CodeWithAuthorityType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:group>
<xs:complexType name="PointType">
<xs:annotation>
<xs:documentation>A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml4rail3:AbstractGeometricPrimitiveType">
<xs:sequence>
<xs:element name="pos" type="gml4rail3:DirectPositionType" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="StringOrRefType">
<xs:complexType name="CodeType">
<xs:annotation>
<xs:documentation>deprecated</xs:documentation>
<xs:documentation>gml:CodeType is a generalized type to be used for a term, keyword or name.
It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attributeGroup ref="gml4rail3:AssociationAttributeGroup"/>
<xs:attribute name="codeSpace" use="optional" type="xs:anyURI"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:attributeGroup name="AssociationAttributeGroup">
<xs:annotation>
<xs:documentation>XLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML.</xs:documentation>
</xs:annotation>
<xs:attribute name="nilReason" use="optional" type="xs:string"/>
</xs:attributeGroup>
<xs:complexType name="ReferenceType">
<xs:annotation>
<xs:documentation>gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding.</xs:documentation>
</xs:annotation>
<xs:sequence/>
<xs:attributeGroup ref="gml4rail3:OwnershipAttributeGroup"/>
<xs:attributeGroup ref="gml4rail3:AssociationAttributeGroup"/>
</xs:complexType>
<xs:complexType name="DirectPositionType">
<xs:complexType name="CodeWithAuthorityType">
<xs:annotation>
<xs:documentation>Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.
if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.</xs:documentation>
<xs:documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="gml4rail3:doubleList">
<xs:attributeGroup ref="gml4rail3:SRSReferenceGroup"/>
</xs:extension>
<xs:restriction base="gml4rail3:CodeType">
<xs:attribute name="codeSpace" use="required" type="xs:anyURI"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DirectPositionListType">
......@@ -129,56 +95,90 @@ The number of entries in the list is equal to the product of the dimensionality
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="doubleList">
<xs:complexType name="DirectPositionType">
<xs:annotation>
<xs:documentation>A type for a list of values of the respective simple type.</xs:documentation>
<xs:documentation>Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.
if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:double"/>
</xs:simpleType>
<xs:attributeGroup name="SRSReferenceGroup">
<xs:attribute name="srsDimension" use="optional" type="xs:positiveInteger"/>
<xs:attribute name="srsName" use="optional" type="xs:anyURI"/>
<xs:attributeGroup ref="gml4rail3:SRSInformationGroup"/>
</xs:attributeGroup>
<xs:attributeGroup name="SRSInformationGroup">
<xs:attribute name="axisLabels" use="optional" type="xs:string"/>
<xs:attribute name="uomLabels" use="optional" type="xs:string"/>
</xs:attributeGroup>
<xs:simpleType name="NCNameList">
<xs:simpleContent>
<xs:extension base="gml4rail3:doubleList">
<xs:attributeGroup ref="gml4rail3:SRSReferenceGroup"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LineStringType">
<xs:annotation>
<xs:documentation>A type for a list of values of the respective simple type.</xs:documentation>
<xs:documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:NCName"/>
</xs:simpleType>
<xs:attributeGroup name="OwnershipAttributeGroup">
<xs:complexContent>
<xs:extension base="gml4rail3:AbstractCurveType">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="posList" type="gml4rail3:DirectPositionListType" minOccurs="0" maxOccurs="1"/>
<xs:element name="pos" type="gml4rail3:DirectPositionType" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="PointType">
<xs:annotation>
<xs:documentation>Encoding a GML property inline vs. by-reference shall not imply anything about the "ownership" of the contained or referenced GML Object, i.e. the encoding style shall not imply any "deep-copy" or "deep-delete" semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be "owned".
When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object.</xs:documentation>
<xs:documentation>A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.</xs:documentation>
</xs:annotation>
<xs:attribute name="owns" use="optional" type="xs:boolean"/>
</xs:attributeGroup>
<xs:complexType name="CodeType">
<xs:complexContent>
<xs:extension base="gml4rail3:AbstractGeometricPrimitiveType">
<xs:sequence>
<xs:element name="pos" type="gml4rail3:DirectPositionType" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ReferenceType">
<xs:annotation>
<xs:documentation>gml:CodeType is a generalized type to be used for a term, keyword or name.
It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.</xs:documentation>
<xs:documentation>gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding.</xs:documentation>
</xs:annotation>
<xs:sequence/>
<xs:attributeGroup ref="gml4rail3:OwnershipAttributeGroup"/>
<xs:attributeGroup ref="gml4rail3:AssociationAttributeGroup"/>
</xs:complexType>
<xs:complexType name="StringOrRefType">
<xs:annotation>
<xs:documentation>deprecated</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="codeSpace" use="optional" type="xs:anyURI"/>
<xs:attributeGroup ref="gml4rail3:AssociationAttributeGroup"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="CodeWithAuthorityType">
<xs:group name="StandardObjectProperties">
<xs:sequence>
<xs:element name="name" type="gml4rail3:CodeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="identifier" type="gml4rail3:CodeWithAuthorityType" minOccurs="0" maxOccurs="1"/>
<xs:element name="descriptionReference" type="gml4rail3:ReferenceType" minOccurs="0" maxOccurs="1"/>
<xs:element name="description" type="gml4rail3:StringOrRefType" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="AssociationAttributeGroup">
<xs:annotation>
<xs:documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</xs:documentation>
<xs:documentation>XLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:restriction base="gml4rail3:CodeType">
<xs:attribute name="codeSpace" use="required" type="xs:anyURI"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="NilReasonType">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute name="nilReason" use="optional" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="OwnershipAttributeGroup">
<xs:annotation>
<xs:documentation>Encoding a GML property inline vs. by-reference shall not imply anything about the "ownership" of the contained or referenced GML Object, i.e. the encoding style shall not imply any "deep-copy" or "deep-delete" semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be "owned".
When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object.</xs:documentation>
</xs:annotation>
<xs:attribute name="owns" use="optional" type="xs:boolean"/>
</xs:attributeGroup>
<xs:attributeGroup name="SRSInformationGroup">
<xs:attribute name="axisLabels" use="optional" type="xs:string"/>
<xs:attribute name="uomLabels" use="optional" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="SRSReferenceGroup">
<xs:attribute name="srsDimension" use="optional" type="xs:positiveInteger"/>
<xs:attribute name="srsName" use="optional" type="xs:anyURI"/>
<xs:attributeGroup ref="gml4rail3:SRSInformationGroup"/>
</xs:attributeGroup>
</xs:schema>
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:rail3="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1">
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:rail3="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2">
<xs:annotation>
<xs:documentation>Copyright (c) railML.org e.V. Dresden/Germany; All Rights Reserved.
This work is licensed under the restricted CreativeCommons Attribution-NonCommercial-NoDerivatives 4.0 International License with additional license conditions of railML.org.
For further information see: https://www.railml.org/licence
Content of this file: XML Schema for railML(R) 3.2 Definition of elements for interlocking sub schema (IL).</xs:documentation>
Content of this file: XML Schema for railML(R) 3.2 (alpha) Definition of elements for interlocking sub schema (IL).
This is an alpha version and is not intended for productive purposes.</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="common3.xsd"/>
<xs:complexType name="AssetsForInterlocking">
......
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:rail3="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1">
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:rail3="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2">
<xs:annotation>
<xs:documentation>Copyright (c) railML.org e.V. Dresden/Germany; All Rights Reserved.
This work is licensed under the restricted CreativeCommons Attribution-NonCommercial-NoDerivatives 4.0 International License with additional license conditions of railML.org.
For further information see: https://www.railml.org/licence
Content of this file: XML Schema for railML(R) 3.1 Definition of root element "railML", refers to elements of all sub schemas from "xs:include" paths</xs:documentation>
Content of this file: XML Schema for railML(R) 3.2 (alpha) Definition of root element "railML", refers to elements of all sub schemas from "xs:include" paths.
This is an alpha version and is not intended for productive purposes.</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="timetable3.xsd"/>
<xs:include schemaLocation="rollingstock3.xsd"/>
<xs:include schemaLocation="interlocking3.xsd"/>
<xs:include schemaLocation="infrastructure3.xsd"/>
<xs:include schemaLocation="common3.xsd"/>
<xs:include schemaLocation="visualizations3.xsd"/>
<xs:element name="railML" type="rail3:railML"/>
<xs:complexType name="railML">
<xs:annotation>
......@@ -43,6 +45,11 @@ Content of this file: XML Schema for railML(R) 3.1 Definition of root element "r
<xs:documentation>root element for railML3 timetable model</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="visualizations" type="rail3:Visualizations" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>root element for railML3 visualization model</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attributeGroup ref="rail3:aRailML"/>
</xs:complexType>
......
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rail3="https://www.railml.org/schemas/3.2" elementFormDefault="qualified" version="3.1">
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rail3="https://www.railml.org/schemas/3.2" elementFormDefault="qualified" version="3.2">
<xs:annotation>
<xs:documentation>Copyright (c) railML.org e.V. Dresden/Germany; All Rights Reserved.
This work is licensed under the restricted CreativeCommons Attribution-NonCommercial-NoDerivs 3.0 Unported License with additional license conditions of railML.org.
This work is licensed under the restricted CreativeCommons Attribution-NonCommercial-NoDerivatives 4.0 International License with additional license conditions of railML.org.
For further information see: https://www.railml.org/licence
Content of this file: XML Schema for railML(R) 3.1 Definition of elements for timetable sub schema (TT).</xs:documentation>
Content of this file: XML Schema for railML(R) 3.2 (alpha) Placeholder for the timetable sub schema (TT).
This is an alpha version and is not intended for productive purposes.</xs:documentation>
</xs:annotation>
<xs:element name="Timetable" type="rail3:Timetable"/>
<xs:complexType name="Timetable">
<xs:annotation>
<xs:documentation>This is the top level element for the timetable model.</xs:documentation>
......
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="https://www.railml.org/schemas/3.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rail3="https://www.railml.org/schemas/3.2" elementFormDefault="qualified" version="3.2">
<xs:annotation>
<xs:documentation>Copyright (c) railML.org e.V. Dresden/Germany; All Rights Reserved.
This work is licensed under the restricted CreativeCommons Attribution-NonCommercial-NoDerivatives 4.0 International License with additional license conditions of railML.org.
For further information see: https://www.railml.org/licence
Content of this file: XML Schema for railML(R) 3.2 (alpha) Definition of elements for visualization sub schema (IS).
This is an alpha version and is not intended for productive purposes.</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="common3.xsd"/>
<xs:simpleType name="tElementProjectionSymbolOrientation">
<xs:restriction base="xs:string">
<xs:enumeration value="down">
<xs:annotation>
<xs:documentation>the icon or symbol is turned 180 degrees</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="left">
<xs:annotation>
<xs:documentation>icon or symbol turned 90 degrees left</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="right">
<xs:annotation>
<xs:documentation>icon or symbol turned 90 degrees right</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="up">
<xs:annotation>
<xs:documentation>standard orientation of icon or symbol</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tElementProjectionSymbolOrientationExt">
<xs:union memberTypes="rail3:tElementProjectionSymbolOrientation rail3:tOtherEnumerationValue"/>
</xs:simpleType>
<xs:complexType name="AreaProjection">
<xs:complexContent>
<xs:extension base="rail3:ElementProjection">
<xs:sequence>
<xs:element name="coordinate" type="rail3:ProjectionCoordinate" minOccurs="3" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>coordinates for area projection (min 3 whereas first and last coordinate have to be identical to close the polygon)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ElementProjection">
<xs:complexContent>
<xs:extension base="rail3:VisualizationBaseElement">
<xs:sequence>
<xs:element name="usesSymbol" type="rail3:ElementProjectionSymbol" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>use an (external) symbol for element projection</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="refersToElement" use="required" type="rail3:tRef">
<xs:annotation>
<xs:documentation>reference to any element of infrastructure model</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ElementProjectionSymbol">
<xs:complexContent>
<xs:extension base="rail3:VisualizationBaseElement">
<xs:sequence>
<xs:element name="isLocatedAt" type="rail3:ProjectionCoordinate" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>coordinate, where the icon or symbol shall be placed with its reference point</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="externalIconRef" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>reference to an external Icon or symbol</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="orientation" use="optional" type="rail3:tElementProjectionSymbolOrientationExt">
<xs:annotation>
<xs:documentation>orientation of the external icon or symbol with respect to its standard orientation (up)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="EllipticalProjection">
<xs:complexContent>
<xs:extension base="rail3:ElementProjection">
<xs:sequence>
<xs:element name="center" type="rail3:ProjectionCoordinate" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>the center point of the ellipse</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="longAxis" use="required" type="rail3:tLengthM">
<xs:annotation>
<xs:documentation>length of the ellipse long half axis in meters</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="shortAxis" use="required" type="rail3:tLengthM">
<xs:annotation>
<xs:documentation>length of the ellipse short half axis in meters</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="turnAngle" use="optional" type="rail3:tAngleDeg">
<xs:annotation>
<xs:documentation>the angle between the x-axis and the long half axis of the ellipse, given in degrees. By default, the angle shall be 0 degrees.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="LinearProjection">
<xs:complexContent>
<xs:extension base="rail3:ElementProjection">
<xs:sequence>
<xs:element name="coordinate" type="rail3:ProjectionCoordinate" minOccurs="2" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>coordinates for linear projection (min 2)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ProjectionCoordinate">
<xs:sequence/>
<xs:attribute name="x" use="required" type="xs:decimal"/>
<xs:attribute name="y" use="optional" type="xs:decimal"/>
<xs:attribute name="z" use="optional" type="xs:decimal"/>
</xs:complexType>
<xs:complexType name="SpotProjection">
<xs:complexContent>
<xs:extension base="rail3:ElementProjection">
<xs:sequence>
<xs:element name="coordinate" type="rail3:ProjectionCoordinate" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>coordinate for spot projection (exact one)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Visualization">
<xs:complexContent>
<xs:extension base="rail3:VisualizationBaseElement">
<xs:sequence>
<xs:element name="areaElementProjection" type="rail3:AreaProjection" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>element projection as area location (min 3 coordinates)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="designator" type="rail3:Designator" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ellipticalProjection" type="rail3:EllipticalProjection" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="linearElementProjection" type="rail3:LinearProjection" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>element projection as linear location (min 2 coordinates)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="spotElementProjection" type="rail3:SpotProjection" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>element projection as spot location (1 coordinate)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="positioningSystemRef" use="optional" type="rail3:tRef">
<xs:annotation>
<xs:documentation>reference to a positioning system</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="VisualizationBaseElement" abstract="true">
<xs:complexContent>
<xs:extension base="rail3:tElementWithIDandName">
<xs:sequence>
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>provide an extension point for non-railML elements in foreign namespace</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
<xs:attributeGroup ref="rail3:anyAttribute"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Visualizations">
<xs:sequence>
<xs:element name="visualization" type="rail3:Visualization" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>visualization of (a part of) a railway infrastructure, e.g. on a screen or a schematic map</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment