Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1.2" xml:lang="en">
3
	<annotation>
4
		<appinfo source="urn:opengis:specification:gml:schema-xsd:dataQuality:3.1.1"/>
5
		<documentation>How to encode positional data quality information. Builds on units.xsd to encode the data needed to describe the positional accuracy of coordinate operations. 
6
		This schema encodes the Data Quality (DQ) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2. 
7
		Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. 
8
		
9
		GML is an OGC Standard.
10
		Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
11
		To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<!-- ======================================================
15
       includes and imports
16
	====================================================== -->
17
	<include schemaLocation="gml.xsd"/>
18
	<include schemaLocation="units.xsd"/>
19
	<!-- ======================================================
20
       elements and types
21
	====================================================== -->
22
	<element name="_positionalAccuracy" type="gml:AbstractPositionalAccuracyType" abstract="true"/>
23
	<!-- =================================================== -->
24
	<complexType name="AbstractPositionalAccuracyType" abstract="true">
25
		<annotation>
26
			<documentation>Position error estimate (or accuracy) data. </documentation>
27
		</annotation>
28
		<sequence>
29
			<element ref="gml:measureDescription" minOccurs="0"/>
30
		</sequence>
31
	</complexType>
32
	<!-- =================================================== -->
33
	<element name="measureDescription" type="gml:CodeType">
34
		<annotation>
35
			<documentation>A description of the position accuracy parameter(s) provided. </documentation>
36
		</annotation>
37
	</element>
38
	<!-- =================================================== -->
39
	<element name="absoluteExternalPositionalAccuracy" type="gml:AbsoluteExternalPositionalAccuracyType" substitutionGroup="gml:_positionalAccuracy"/>
40
	<!-- =================================================== -->
41
	<complexType name="AbsoluteExternalPositionalAccuracyType">
42
		<annotation>
43
			<documentation>Closeness of reported coordinate values to values accepted as or being true. </documentation>
44
		</annotation>
45
		<complexContent>
46
			<extension base="gml:AbstractPositionalAccuracyType">
47
				<sequence>
48
					<element ref="gml:result"/>
49
				</sequence>
50
			</extension>
51
		</complexContent>
52
	</complexType>
53
	<!-- =================================================== -->
54
	<element name="relativeInternalPositionalAccuracy" type="gml:RelativeInternalPositionalAccuracyType" substitutionGroup="gml:_positionalAccuracy"/>
55
	<!-- =================================================== -->
56
	<complexType name="RelativeInternalPositionalAccuracyType">
57
		<annotation>
58
			<documentation>Closeness of the relative positions of two or more positions to their respective relative positions accepted as or being true. </documentation>
59
		</annotation>
60
		<complexContent>
61
			<extension base="gml:AbstractPositionalAccuracyType">
62
				<sequence>
63
					<element ref="gml:result"/>
64
				</sequence>
65
			</extension>
66
		</complexContent>
67
	</complexType>
68
	<!-- =================================================== -->
69
	<element name="result" type="gml:MeasureType">
70
		<annotation>
71
			<documentation>A quantitative result defined by the evaluation procedure used, and identified by the measureDescription. </documentation>
72
		</annotation>
73
	</element>
74
	<!-- =================================================== -->
75
	<element name="covarianceMatrix" type="gml:CovarianceMatrixType" substitutionGroup="gml:_positionalAccuracy"/>
76
	<!-- =================================================== -->
77
	<complexType name="CovarianceMatrixType">
78
		<annotation>
79
			<documentation>Error estimate covariance matrix. </documentation>
80
		</annotation>
81
		<complexContent>
82
			<extension base="gml:AbstractPositionalAccuracyType">
83
				<sequence>
84
					<element ref="gml:unitOfMeasure" maxOccurs="unbounded">
85
						<annotation>
86
							<documentation>Ordered sequence of units of measure, corresponding to the row and column index numbers of the covariance matrix, starting with row and column 1 and ending with row/column N. Each unit of measure is for the ordinate reflected in the relevant row and column of the covariance matrix. </documentation>
87
						</annotation>
88
					</element>
89
					<element ref="gml:includesElement" maxOccurs="unbounded">
90
						<annotation>
91
							<documentation>Unordered set of elements in this covariance matrix. Because the covariance matrix is symmetrical, only the elements in the upper or lower diagonal part (including the main diagonal) of the matrix need to be specified. Any zero valued covariance elements can be omitted. </documentation>
92
						</annotation>
93
					</element>
94
				</sequence>
95
			</extension>
96
		</complexContent>
97
	</complexType>
98
	<!-- =================================================== -->
99
	<element name="includesElement" type="gml:CovarianceElementType"/>
100
	<!-- =================================================== -->
101
	<complexType name="CovarianceElementType">
102
		<annotation>
103
			<documentation>An element of a covariance matrix.</documentation>
104
		</annotation>
105
		<sequence>
106
			<element ref="gml:rowIndex"/>
107
			<element ref="gml:columnIndex"/>
108
			<element ref="gml:covariance"/>
109
		</sequence>
110
	</complexType>
111
	<!-- =================================================== -->
112
	<element name="rowIndex" type="positiveInteger">
113
		<annotation>
114
			<documentation>Row number of this covariance element value. </documentation>
115
		</annotation>
116
	</element>
117
	<!-- =================================================== -->
118
	<element name="columnIndex" type="positiveInteger">
119
		<annotation>
120
			<documentation>Column number of this covariance element value. </documentation>
121
		</annotation>
122
	</element>
123
	<!-- =================================================== -->
124
	<element name="covariance" type="double">
125
		<annotation>
126
			<documentation>Value of covariance matrix element. </documentation>
127
		</annotation>
128
	</element>
129
	<!-- =================================================== -->
130
</schema>
(6-6/29)