Project

General

Profile

1 10458 tao
<?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" attributeFormDefault="unqualified" version="3.2.0" xml:lang="en">
3
	<annotation>
4
		<appinfo source="urn:ogc:specification:gml:schema-xsd:measures:3.2.0">measures.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 17.3.
6
gml:MeasureType is defined in the basicTypes schema.  The measure types defined here correspond with a set of convenience measure types described in ISO/TS 19103.  The XML implementation is based on the XML Schema simple type “double” which supports both decimal and scientific notation, and includes an XML attribute “uom” which refers to the units of measure for the value.  Note that, there is no requirement to store values using any particular format, and applications receiving elements of this type may choose to coerce the data to any other type as convenient.
7
</documentation>
8
	</annotation>
9
	<include schemaLocation="units.xsd"/>
10
	<element name="measure" type="gml:MeasureType">
11
		<annotation>
12
			<documentation>The value of a physical quantity, together with its unit.</documentation>
13
		</annotation>
14
	</element>
15
	<complexType name="LengthType">
16
		<annotation>
17
			<documentation>This is a prototypical definition for a specific measure type defined as a vacuous extension (i.e. aliases) of gml:MeasureType. In this case, the content model supports the description of a length (or distance) quantity, with its units. The unit of measure referenced by uom shall be suitable for a length, such as metres or feet.</documentation>
18
		</annotation>
19
		<simpleContent>
20
			<extension base="gml:MeasureType"/>
21
		</simpleContent>
22
	</complexType>
23
	<complexType name="ScaleType">
24
		<simpleContent>
25
			<extension base="gml:MeasureType"/>
26
		</simpleContent>
27
	</complexType>
28
	<complexType name="TimeType">
29
		<simpleContent>
30
			<extension base="gml:MeasureType"/>
31
		</simpleContent>
32
	</complexType>
33
	<complexType name="GridLengthType">
34
		<simpleContent>
35
			<extension base="gml:MeasureType"/>
36
		</simpleContent>
37
	</complexType>
38
	<complexType name="AreaType">
39
		<simpleContent>
40
			<extension base="gml:MeasureType"/>
41
		</simpleContent>
42
	</complexType>
43
	<complexType name="VolumeType">
44
		<simpleContent>
45
			<extension base="gml:MeasureType"/>
46
		</simpleContent>
47
	</complexType>
48
	<complexType name="SpeedType">
49
		<simpleContent>
50
			<extension base="gml:MeasureType"/>
51
		</simpleContent>
52
	</complexType>
53
	<complexType name="AngleType">
54
		<simpleContent>
55
			<extension base="gml:MeasureType"/>
56
		</simpleContent>
57
	</complexType>
58
	<element name="angle" type="gml:AngleType">
59
		<annotation>
60
			<documentation>The gml:angle property element is used to record the value of an angle quantity as a single number, with its units.</documentation>
61
		</annotation>
62
	</element>
63
	<element name="dmsAngle" type="gml:DMSAngleType">
64
		<annotation>
65
			<appinfo>deprecated</appinfo>
66
		</annotation>
67
	</element>
68
	<complexType name="DMSAngleType">
69
		<annotation>
70
			<appinfo>deprecated</appinfo>
71
		</annotation>
72
		<sequence>
73
			<element ref="gml:degrees"/>
74
			<choice minOccurs="0">
75
				<element ref="gml:decimalMinutes"/>
76
				<sequence>
77
					<element ref="gml:minutes"/>
78
					<element ref="gml:seconds" minOccurs="0"/>
79
				</sequence>
80
			</choice>
81
		</sequence>
82
	</complexType>
83
	<element name="degrees" type="gml:DegreesType">
84
		<annotation>
85
			<appinfo>deprecated</appinfo>
86
		</annotation>
87
	</element>
88
	<complexType name="DegreesType">
89
		<annotation>
90
			<appinfo>deprecated</appinfo>
91
		</annotation>
92
		<simpleContent>
93
			<extension base="gml:DegreeValueType">
94
				<attribute name="direction">
95
					<simpleType>
96
						<restriction base="string">
97
							<enumeration value="N"/>
98
							<enumeration value="E"/>
99
							<enumeration value="S"/>
100
							<enumeration value="W"/>
101
							<enumeration value="+"/>
102
							<enumeration value="-"/>
103
						</restriction>
104
					</simpleType>
105
				</attribute>
106
			</extension>
107
		</simpleContent>
108
	</complexType>
109
	<simpleType name="DegreeValueType">
110
		<annotation>
111
			<appinfo>deprecated</appinfo>
112
		</annotation>
113
		<restriction base="nonNegativeInteger">
114
			<maxInclusive value="359"/>
115
		</restriction>
116
	</simpleType>
117
	<element name="decimalMinutes" type="gml:DecimalMinutesType">
118
		<annotation>
119
			<appinfo>deprecated</appinfo>
120
		</annotation>
121
	</element>
122
	<simpleType name="DecimalMinutesType">
123
		<annotation>
124
			<appinfo>deprecated</appinfo>
125
		</annotation>
126
		<restriction base="decimal">
127
			<minInclusive value="0.00"/>
128
			<maxExclusive value="60.00"/>
129
		</restriction>
130
	</simpleType>
131
	<element name="minutes" type="gml:ArcMinutesType">
132
		<annotation>
133
			<appinfo>deprecated</appinfo>
134
		</annotation>
135
	</element>
136
	<simpleType name="ArcMinutesType">
137
		<annotation>
138
			<appinfo>deprecated</appinfo>
139
		</annotation>
140
		<restriction base="nonNegativeInteger">
141
			<maxInclusive value="59"/>
142
		</restriction>
143
	</simpleType>
144
	<element name="seconds" type="gml:ArcSecondsType">
145
		<annotation>
146
			<appinfo>deprecated</appinfo>
147
		</annotation>
148
	</element>
149
	<simpleType name="ArcSecondsType">
150
		<annotation>
151
			<appinfo>deprecated</appinfo>
152
		</annotation>
153
		<restriction base="decimal">
154
			<minInclusive value="0.00"/>
155
			<maxExclusive value="60.00"/>
156
		</restriction>
157
	</simpleType>
158
	<complexType name="AngleChoiceType">
159
		<annotation>
160
			<appinfo>deprecated</appinfo>
161
		</annotation>
162
		<choice>
163
			<element ref="gml:angle"/>
164
			<element ref="gml:dmsAngle"/>
165
		</choice>
166
	</complexType>
167
</schema>