Project

General

Profile

« Previous | Next » 

Revision 9559

Added by Jing Tao over 8 years ago

Added a version of noaa to svn.
Note:
1. gml311 and gml211 is from the standard version.
2. the xlinks.xsd is base on the version of skye's. I added the simpleLink, extenededLink and et al.

View differences:

lib/schema/isotc211-noaa/gco/basicTypes.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema targetNamespace="http://www.isotc211.org/2005/gco" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco">
3
	<!-- ================================= Annotation ================================ -->
4
	<xs:annotation>
5
		<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:00:05 ====== </xs:documentation>
6
	</xs:annotation>
7
	<!-- ================================== Imports ================================== -->
8
	<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml/gml.xsd"/>
9
	<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="../xlink/xlinks.xsd"/>
10
	<xs:include schemaLocation="../gco/gcoBase.xsd"/>
11
	<!-- ########################################################################### -->
12
	<!-- ########################################################################### -->
13
	<!-- ================================== Classes ================================= -->
14
	<!-- =========================================================================== -->
15
	<xs:complexType name="TypeName_Type">
16
		<xs:annotation>
17
			<xs:documentation>A TypeName is a LocalName that references either a recordType or object type in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. This is the types name.  - For parsing from types (or objects) the parsible name normally uses a "." navigation separator, so that it is of the form  [class].[member].[memberOfMember]. ...)</xs:documentation>
18
		</xs:annotation>
19
		<xs:complexContent>
20
			<xs:extension base="gco:AbstractObject_Type">
21
				<xs:sequence>
22
					<xs:element name="aName" type="gco:CharacterString_PropertyType"/>
23
				</xs:sequence>
24
			</xs:extension>
25
		</xs:complexContent>
26
	</xs:complexType>
27
	<!-- ........................................................................ -->
28
	<xs:element name="TypeName" type="gco:TypeName_Type"/>
29
	<!-- ........................................................................ -->
30
	<xs:complexType name="TypeName_PropertyType">
31
		<xs:sequence minOccurs="0">
32
			<xs:element ref="gco:TypeName"/>
33
		</xs:sequence>
34
		<xs:attributeGroup ref="gco:ObjectReference"/>
35
		<xs:attribute ref="gco:nilReason"/>
36
	</xs:complexType>
37
	<!-- =========================================================================== -->
38
	<xs:complexType name="MemberName_Type">
39
		<xs:annotation>
40
			<xs:documentation>A MemberName is a LocalName that references either an attribute slot in a record or  recordType or an attribute, operation, or association role in an object instance or  type description in some form of schema. The stored value "aName" is the returned value for the "aName()" operation.</xs:documentation>
41
		</xs:annotation>
42
		<xs:complexContent>
43
			<xs:extension base="gco:AbstractObject_Type">
44
				<xs:sequence>
45
					<xs:element name="aName" type="gco:CharacterString_PropertyType"/>
46
					<xs:element name="attributeType" type="gco:TypeName_PropertyType"/>
47
				</xs:sequence>
48
			</xs:extension>
49
		</xs:complexContent>
50
	</xs:complexType>
51
	<!-- ........................................................................ -->
52
	<xs:element name="MemberName" type="gco:MemberName_Type"/>
53
	<!-- ........................................................................ -->
54
	<xs:complexType name="MemberName_PropertyType">
55
		<xs:sequence minOccurs="0">
56
			<xs:element ref="gco:MemberName"/>
57
		</xs:sequence>
58
		<xs:attributeGroup ref="gco:ObjectReference"/>
59
		<xs:attribute ref="gco:nilReason"/>
60
	</xs:complexType>
61
	<!-- =========================================================================== -->
62
	<xs:complexType name="Multiplicity_Type">
63
		<xs:annotation>
64
			<xs:documentation>Use to represent the possible cardinality of a relation. Represented by a set of simple multiplicity ranges.</xs:documentation>
65
		</xs:annotation>
66
		<xs:complexContent>
67
			<xs:extension base="gco:AbstractObject_Type">
68
				<xs:sequence>
69
					<xs:element name="range" type="gco:MultiplicityRange_PropertyType" maxOccurs="unbounded"/>
70
				</xs:sequence>
71
			</xs:extension>
72
		</xs:complexContent>
73
	</xs:complexType>
74
	<!-- ........................................................................ -->
75
	<xs:element name="Multiplicity" type="gco:Multiplicity_Type"/>
76
	<!-- ........................................................................ -->
77
	<xs:complexType name="Multiplicity_PropertyType">
78
		<xs:sequence minOccurs="0">
79
			<xs:element ref="gco:Multiplicity"/>
80
		</xs:sequence>
81
		<xs:attributeGroup ref="gco:ObjectReference"/>
82
		<xs:attribute ref="gco:nilReason"/>
83
	</xs:complexType>
84
	<!-- =========================================================================== -->
85
	<xs:complexType name="MultiplicityRange_Type">
86
		<xs:annotation>
87
			<xs:documentation>A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.</xs:documentation>
88
		</xs:annotation>
89
		<xs:complexContent>
90
			<xs:extension base="gco:AbstractObject_Type">
91
				<xs:sequence>
92
					<xs:element name="lower" type="gco:Integer_PropertyType"/>
93
					<xs:element name="upper" type="gco:UnlimitedInteger_PropertyType"/>
94
				</xs:sequence>
95
			</xs:extension>
96
		</xs:complexContent>
97
	</xs:complexType>
98
	<!-- ........................................................................ -->
99
	<xs:element name="MultiplicityRange" type="gco:MultiplicityRange_Type"/>
100
	<!-- ........................................................................ -->
101
	<xs:complexType name="MultiplicityRange_PropertyType">
102
		<xs:sequence minOccurs="0">
103
			<xs:element ref="gco:MultiplicityRange"/>
104
		</xs:sequence>
105
		<xs:attributeGroup ref="gco:ObjectReference"/>
106
		<xs:attribute ref="gco:nilReason"/>
107
	</xs:complexType>
108
	<!--================================================-->
109
	<!-- ================== Measure ===================== -->
110
	<!-- ........................................................................ -->
111
	<xs:element name="Measure" type="gml:MeasureType"/>
112
	<!-- ........................................................................ -->
113
	<xs:complexType name="Measure_PropertyType">
114
		<xs:sequence minOccurs="0">
115
			<xs:element ref="gco:Measure"/>
116
		</xs:sequence>
117
		<xs:attribute ref="gco:nilReason"/>
118
	</xs:complexType>
119
	<!-- =========================================================================== -->
120
	<!-- ........................................................................ -->
121
	<xs:element name="Length" type="gml:LengthType" substitutionGroup="gco:Measure"/>
122
	<!-- ........................................................................ -->
123
	<xs:complexType name="Length_PropertyType">
124
		<xs:sequence minOccurs="0">
125
			<xs:element ref="gco:Length"/>
126
		</xs:sequence>
127
		<xs:attribute ref="gco:nilReason"/>
128
	</xs:complexType>
129
	<!-- =========================================================================== -->
130
	<!-- ........................................................................ -->
131
	<xs:element name="Angle" type="gml:AngleType" substitutionGroup="gco:Measure"/>
132
	<!-- ........................................................................ -->
133
	<xs:complexType name="Angle_PropertyType">
134
		<xs:sequence minOccurs="0">
135
			<xs:element ref="gco:Angle"/>
136
		</xs:sequence>
137
		<xs:attribute ref="gco:nilReason"/>
138
	</xs:complexType>
139
	<!-- =========================================================================== -->
140
	<!-- ........................................................................ -->
141
	<xs:element name="Scale" type="gml:ScaleType" substitutionGroup="gco:Measure"/>
142
	<!-- ........................................................................ -->
143
	<xs:complexType name="Scale_PropertyType">
144
		<xs:sequence minOccurs="0">
145
			<xs:element ref="gco:Scale"/>
146
		</xs:sequence>
147
		<xs:attribute ref="gco:nilReason"/>
148
	</xs:complexType>
149
	<!-- =========================================================================== -->
150
	<!-- ........................................................................ -->
151
	<xs:element name="Distance" type="gml:LengthType" substitutionGroup="gco:Length"/>
152
	<!-- ........................................................................ -->
153
	<xs:complexType name="Distance_PropertyType">
154
		<xs:sequence minOccurs="0">
155
			<xs:element ref="gco:Distance"/>
156
		</xs:sequence>
157
		<xs:attribute ref="gco:nilReason"/>
158
	</xs:complexType>
159
	<!-- =========================================================================== -->
160
	<!-- ........................................................................ -->
161
	<xs:element name="CharacterString" type="xs:string"/>
162
	<!-- ........................................................................ -->
163
	<xs:complexType name="CharacterString_PropertyType">
164
		<xs:sequence minOccurs="0">
165
			<xs:element ref="gco:CharacterString"/>
166
		</xs:sequence>
167
		<xs:attribute ref="gco:nilReason"/>
168
	</xs:complexType>
169
	<!-- =========================================================================== -->
170
	<!-- ........................................................................ -->
171
	<xs:element name="Boolean" type="xs:boolean"/>
172
	<!-- ........................................................................ -->
173
	<xs:complexType name="Boolean_PropertyType">
174
		<xs:sequence minOccurs="0">
175
			<xs:element ref="gco:Boolean"/>
176
		</xs:sequence>
177
		<xs:attribute ref="gco:nilReason"/>
178
	</xs:complexType>
179
	<!-- =========================================================================== -->
180
	<!-- ........................................................................ -->
181
	<xs:element name="AbstractGenericName" type="gml:CodeType" abstract="true"/>
182
	<!-- ........................................................................ -->
183
	<xs:complexType name="GenericName_PropertyType">
184
		<xs:sequence minOccurs="0">
185
			<xs:element ref="gco:AbstractGenericName"/>
186
		</xs:sequence>
187
		<xs:attribute ref="gco:nilReason"/>
188
	</xs:complexType>
189
	<!-- =========================================================================== -->
190
	<!-- ........................................................................ -->
191
	<xs:element name="LocalName" type="gml:CodeType" substitutionGroup="gco:AbstractGenericName"/>
192
	<!-- ........................................................................ -->
193
	<xs:complexType name="LocalName_PropertyType">
194
		<xs:sequence minOccurs="0">
195
			<xs:element ref="gco:LocalName"/>
196
		</xs:sequence>
197
		<xs:attribute ref="gco:nilReason"/>
198
	</xs:complexType>
199
	<!-- =========================================================================== -->
200
	<!-- ........................................................................ -->
201
	<xs:element name="ScopedName" type="gml:CodeType" substitutionGroup="gco:AbstractGenericName"/>
202
	<!-- ........................................................................ -->
203
	<xs:complexType name="ScopedName_PropertyType">
204
		<xs:sequence minOccurs="0">
205
			<xs:element ref="gco:ScopedName"/>
206
		</xs:sequence>
207
		<xs:attribute ref="gco:nilReason"/>
208
	</xs:complexType>
209
	<!-- =========================================================================== -->
210
	<!-- ============================= UOM ========================================= -->
211
	<!-- ........................................................................ -->
212
	<!-- ........................................................................ -->
213
	<xs:complexType name="UomAngle_PropertyType">
214
		<xs:sequence minOccurs="0">
215
			<xs:element ref="gml:UnitDefinition"/>
216
		</xs:sequence>
217
		<xs:attributeGroup ref="gco:ObjectReference"/>
218
		<xs:attribute ref="gco:nilReason"/>
219
	</xs:complexType>
220
	<!-- =========================================================================== -->
221
	<!-- ........................................................................ -->
222
	<!-- ........................................................................ -->
223
	<xs:complexType name="UomLength_PropertyType">
224
		<xs:sequence minOccurs="0">
225
			<xs:element ref="gml:UnitDefinition"/>
226
		</xs:sequence>
227
		<xs:attributeGroup ref="gco:ObjectReference"/>
228
		<xs:attribute ref="gco:nilReason"/>
229
	</xs:complexType>
230
	<!-- =========================================================================== -->
231
	<!-- ........................................................................ -->
232
	<!-- ........................................................................ -->
233
	<xs:complexType name="UomScale_PropertyType">
234
		<xs:sequence minOccurs="0">
235
			<xs:element ref="gml:UnitDefinition"/>
236
		</xs:sequence>
237
		<xs:attributeGroup ref="gco:ObjectReference"/>
238
		<xs:attribute ref="gco:nilReason"/>
239
	</xs:complexType>
240
	<!-- =========================================================================== -->
241
	<!-- ........................................................................ -->
242
	<!-- ........................................................................ -->
243
	<xs:complexType name="UnitOfMeasure_PropertyType">
244
		<xs:sequence minOccurs="0">
245
			<xs:element ref="gml:UnitDefinition"/>
246
		</xs:sequence>
247
		<xs:attributeGroup ref="gco:ObjectReference"/>
248
		<xs:attribute ref="gco:nilReason"/>
249
	</xs:complexType>
250
	<!-- =========================================================================== -->
251
	<!-- ........................................................................ -->
252
	<!-- ........................................................................ -->
253
	<xs:complexType name="UomArea_PropertyType">
254
		<xs:sequence minOccurs="0">
255
			<xs:element ref="gml:UnitDefinition"/>
256
		</xs:sequence>
257
		<xs:attributeGroup ref="gco:ObjectReference"/>
258
		<xs:attribute ref="gco:nilReason"/>
259
	</xs:complexType>
260
	<!-- =========================================================================== -->
261
	<!-- ........................................................................ -->
262
	<!-- ........................................................................ -->
263
	<xs:complexType name="UomVelocity_PropertyType">
264
		<xs:sequence minOccurs="0">
265
			<xs:element ref="gml:UnitDefinition"/>
266
		</xs:sequence>
267
		<xs:attributeGroup ref="gco:ObjectReference"/>
268
		<xs:attribute ref="gco:nilReason"/>
269
	</xs:complexType>
270
	<!-- =========================================================================== -->
271
	<!-- ........................................................................ -->
272
	<!-- ........................................................................ -->
273
	<xs:complexType name="UomTime_PropertyType">
274
		<xs:sequence minOccurs="0">
275
			<xs:element ref="gml:UnitDefinition"/>
276
		</xs:sequence>
277
		<xs:attributeGroup ref="gco:ObjectReference"/>
278
		<xs:attribute ref="gco:nilReason"/>
279
	</xs:complexType>
280
	<!-- =========================================================================== -->
281
	<!-- ........................................................................ -->
282
	<!-- ........................................................................ -->
283
	<xs:complexType name="UomVolume_PropertyType">
284
		<xs:sequence minOccurs="0">
285
			<xs:element ref="gml:UnitDefinition"/>
286
		</xs:sequence>
287
		<xs:attributeGroup ref="gco:ObjectReference"/>
288
		<xs:attribute ref="gco:nilReason"/>
289
	</xs:complexType>
290
	<!-- ========================================================================== -->
291
	<!-- =========================== Date & DateTime ================================= -->
292
	<!--=============================================-->
293
	<xs:element name="DateTime" type="xs:dateTime"/>
294
	<!-- ........................................................................ -->
295
	<xs:complexType name="DateTime_PropertyType">
296
		<xs:sequence minOccurs="0">
297
			<xs:element ref="gco:DateTime"/>
298
		</xs:sequence>
299
		<xs:attribute ref="gco:nilReason"/>
300
	</xs:complexType>
301
	<!-- =========================================================================== -->
302
	<xs:simpleType name="Date_Type">
303
		<xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/>
304
	</xs:simpleType>
305
	<!-- ........................................................................ -->
306
	<xs:element name="Date" type="gco:Date_Type" nillable="true"/>
307
	<!-- ........................................................................ -->
308
	<xs:complexType name="Date_PropertyType">
309
		<xs:choice minOccurs="0">
310
			<xs:element ref="gco:Date"/>
311
			<xs:element ref="gco:DateTime"/>
312
		</xs:choice>
313
		<xs:attribute ref="gco:nilReason"/>
314
	</xs:complexType>
315
	<!-- ========================================================================== -->
316
	<!-- =========================== Number basic type =============================== -->
317
	<!--=======================================================-->
318
	<xs:complexType name="Number_PropertyType">
319
		<xs:choice minOccurs="0">
320
			<xs:element ref="gco:Real"/>
321
			<xs:element ref="gco:Decimal"/>
322
			<xs:element ref="gco:Integer"/>
323
		</xs:choice>
324
		<xs:attribute ref="gco:nilReason"/>
325
	</xs:complexType>
326
	<!-- =========================================================================== -->
327
	<!-- ........................................................................ -->
328
	<xs:element name="Decimal" type="xs:decimal"/>
329
	<!-- ........................................................................ -->
330
	<xs:complexType name="Decimal_PropertyType">
331
		<xs:sequence minOccurs="0">
332
			<xs:element ref="gco:Decimal"/>
333
		</xs:sequence>
334
		<xs:attribute ref="gco:nilReason"/>
335
	</xs:complexType>
336
	<!-- =========================================================================== -->
337
	<!-- ........................................................................ -->
338
	<xs:element name="Real" type="xs:double"/>
339
	<!-- ........................................................................ -->
340
	<xs:complexType name="Real_PropertyType">
341
		<xs:sequence minOccurs="0">
342
			<xs:element ref="gco:Real"/>
343
		</xs:sequence>
344
		<xs:attribute ref="gco:nilReason"/>
345
	</xs:complexType>
346
	<!-- =========================================================================== -->
347
	<!-- ........................................................................ -->
348
	<xs:element name="Integer" type="xs:integer"/>
349
	<!-- ........................................................................ -->
350
	<xs:complexType name="Integer_PropertyType">
351
		<xs:sequence minOccurs="0">
352
			<xs:element ref="gco:Integer"/>
353
		</xs:sequence>
354
		<xs:attribute ref="gco:nilReason"/>
355
	</xs:complexType>
356
	<!-- ========================================================================== -->
357
	<!-- ============================= UnlimitedInteger ================================ -->
358
	<!--NB: The encoding mechanism below is based on the use of XCPT (see the usage of xsi:nil in XML instance).-->
359
	<!--================= Type ==================-->
360
	<xs:complexType name="UnlimitedInteger_Type">
361
		<xs:simpleContent>
362
			<xs:extension base="xs:nonNegativeInteger">
363
				<xs:attribute name="isInfinite" type="xs:boolean"/>
364
			</xs:extension>
365
		</xs:simpleContent>
366
	</xs:complexType>
367
	<!-- ........................................................................ -->
368
	<xs:element name="UnlimitedInteger" type="gco:UnlimitedInteger_Type" nillable="true"/>
369
	<!-- ........................................................................ -->
370
	<xs:complexType name="UnlimitedInteger_PropertyType">
371
		<xs:sequence minOccurs="0">
372
			<xs:element ref="gco:UnlimitedInteger"/>
373
		</xs:sequence>
374
		<xs:attribute ref="gco:nilReason"/>
375
	</xs:complexType>
376
	<!-- ========================================================================== -->
377
	<!-- ========================= Record & RecordType ============================== -->
378
	<!--================= Record ==================-->
379
	<xs:element name="Record"/>
380
	<!-- ........................................................................ -->
381
	<xs:complexType name="Record_PropertyType">
382
		<xs:sequence minOccurs="0">
383
			<xs:element ref="gco:Record"/>
384
		</xs:sequence>
385
		<xs:attributeGroup ref="gco:ObjectReference"/>
386
		<xs:attribute ref="gco:nilReason"/>
387
	</xs:complexType>
388
	<!-- =========================================================================== -->
389
	<!--================= RecordType ==================-->
390
	<xs:complexType name="RecordType_Type">
391
		<xs:simpleContent>
392
			<xs:extension base="xs:string">
393
				<xs:attributeGroup ref="xlink:simpleLink"/>
394
			</xs:extension>
395
		</xs:simpleContent>
396
	</xs:complexType>
397
	<!-- ........................................................................ -->
398
	<xs:element name="RecordType" type="gco:RecordType_Type"/>
399
	<!-- ........................................................................ -->
400
	<xs:complexType name="RecordType_PropertyType">
401
		<xs:sequence minOccurs="0">
402
			<xs:element ref="gco:RecordType"/>
403
		</xs:sequence>
404
		<xs:attribute ref="gco:nilReason"/>
405
	</xs:complexType>
406
	<!-- ========================================================================== -->
407
	<!-- =========================== Binary basic type ================================ -->
408
	<!--NB: this type is not declared in 19103 but used in 19115. -->
409
	<!--================= Type ==================-->
410
	<xs:complexType name="Binary_Type">
411
		<xs:simpleContent>
412
			<xs:extension base="xs:string">
413
				<xs:attribute name="src" type="xs:anyURI"/>
414
			</xs:extension>
415
		</xs:simpleContent>
416
	</xs:complexType>
417
	<!-- ........................................................................ -->
418
	<xs:element name="Binary" type="gco:Binary_Type"/>
419
	<!-- ........................................................................ -->
420
	<xs:complexType name="Binary_PropertyType">
421
		<xs:sequence minOccurs="0">
422
			<xs:element ref="gco:Binary"/>
423
		</xs:sequence>
424
		<xs:attribute ref="gco:nilReason"/>
425
	</xs:complexType>
426
	<!--================================================-->
427
	<!-- =============================================== -->
428
	<!--================================================-->
429
</xs:schema>
0 430

  
lib/schema/isotc211-noaa/gco/gco.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema targetNamespace="http://www.isotc211.org/2005/gco" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco">
3
	<!-- ================================= Annotation ================================ -->
4
	<xs:annotation>
5
		<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:00:06 ====== </xs:documentation>
6
	</xs:annotation>
7
	<!-- ================================== Imports ================================== -->
8
	<xs:include schemaLocation="../gco/basicTypes.xsd"/>
9
	<!-- ########################################################################### -->
10
	<!-- ########################################################################### -->
11
	<!-- ================================== Classes ================================= -->
12
</xs:schema>
0 13

  
lib/schema/isotc211-noaa/gco/gcoBase.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema targetNamespace="http://www.isotc211.org/2005/gco" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2">
3
	<!-- ================================= Annotation ================================ -->
4
	<xs:annotation>
5
		<xs:documentation>This schema provides:
6
		1.  tools to handle specific objects like "code lists" and "record";
7
		2. Some XML types representing that do not follow the general encoding rules.</xs:documentation>
8
	</xs:annotation>
9
	<!-- ================================== Imports ================================== -->
10
	<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="../xlink/xlinks.xsd"/>
11
	<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml/gml.xsd"/>
12
	<!-- ########################################################################### -->
13
	<!-- ########################################################################### -->
14
	<!-- =========================================================================== -->
15
	<!-- ========================= IM_Object: abstract Root ============================= -->
16
	<!--================= Type ===================-->
17
	<xs:complexType name="AbstractObject_Type" abstract="true">
18
		<xs:sequence/>
19
		<xs:attributeGroup ref="gco:ObjectIdentification"/>
20
	</xs:complexType>
21
	<!--================= Element =================-->
22
	<xs:element name="AbstractObject" type="gco:AbstractObject_Type" abstract="true"/>
23
	<!-- ========================================================================== -->
24
	<!-- ====================== Reference of a resource =============================== -->
25
	<!--The following attributeGroup 'extends' the GML  gml:AssociationAttributeGroup-->
26
	<xs:attributeGroup name="ObjectReference">
27
		<xs:attributeGroup ref="xlink:simpleLink"/>
28
		<xs:attribute name="uuidref" type="xs:string"/>
29
	</xs:attributeGroup>
30
	<!--================== NULL ====================-->
31
	<xs:attribute name="nilReason" type="gml:NilReasonType"/>
32
	<!--=============== PropertyType =================-->
33
	<xs:complexType name="ObjectReference_PropertyType">
34
		<xs:sequence/>
35
		<xs:attributeGroup ref="gco:ObjectReference"/>
36
		<xs:attribute ref="gco:nilReason"/>
37
	</xs:complexType>
38
	<!-- ========================================================================== -->
39
	<!-- ====================== Identification of a resource ============================== -->
40
	<xs:attributeGroup name="ObjectIdentification">
41
		<xs:attribute name="id" type="xs:ID"/>
42
		<xs:attribute name="uuid" type="xs:string"/>
43
	</xs:attributeGroup>
44
	<!-- ========================================================================== -->
45
	<!-- ====================== The CodeList prototype ================================= -->
46
	<!--It is used to refer to a specific codeListValue in a register-->
47
	<!--================= Type ==================-->
48
	<xs:complexType name="CodeListValue_Type">
49
		<xs:simpleContent>
50
			<xs:extension base="xs:string">
51
				<xs:attribute name="codeList" type="xs:anyURI" use="required"/>
52
				<xs:attribute name="codeListValue" type="xs:anyURI" use="required"/>
53
				<xs:attribute name="codeSpace" type="xs:anyURI"/>
54
			</xs:extension>
55
		</xs:simpleContent>
56
	</xs:complexType>
57
	<!-- ========================================================================== -->
58
	<!-- ========================== The isoType attribute ============================== -->
59
	<xs:attribute name="isoType" type="xs:string"/>
60
	<!--==============End================-->
61
</xs:schema>
0 62

  
lib/schema/isotc211-noaa/gmi/gmi.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by STEPHANE BIDAULT (I.G.N/SAF/RECEPTIONS) -->
3
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.isotc211.org/2005/gmi" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
4
	<!-- ================================= Annotation ================================ -->
5
	<xs:annotation>
6
		<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 04-04-2008 17:12:49 ====== </xs:documentation>
7
	</xs:annotation>
8
	<!-- ================================== Imports ================================== -->
9
	<xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="../gco/gco.xsd"/>
10
	<xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="../gmd/gmd.xsd"/>
11
	<xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="../gmx/gmx.xsd"/>
12
	<xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="../gss/gss.xsd"/>
13
	<xs:include schemaLocation="../gmi/metadataEntitySet.xsd"/>
14
	<xs:include schemaLocation="../gmi/contentInformation.xsd"/>
15
	<xs:include schemaLocation="../gmi/dataQualityInformation.xsd"/>
16
	<xs:include schemaLocation="../gmi/spatialRepresentationInformation.xsd"/>
17
	<!-- ########################################################################### -->
18
	<!-- ########################################################################### -->
19
	<!-- ================================== Classes ================================= -->
20
</xs:schema>
0 21

  
lib/schema/isotc211-noaa/gmi/spatialRepresentationInformation.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by STEPHANE BIDAULT (I.G.N/SAF/RECEPTIONS) -->
3
<!--
4
	Update: 4/30/2009, AMilan
5
	Edited to conform to 19115-2
6
	
7
	MI_Georectified_Type
8
	* removed geolocationIdentification
9
	
10
	MI_Georeferenceable_Type
11
	* removed platformParameters  
12
-->
13
<xs:schema xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1">
14
	<!-- ================================= Annotation ================================ -->
15
	<xs:annotation>
16
		<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 04-04-2008 17:12:47 ====== Name: SpatialRepresentation - Position: 3</xs:documentation>
17
	</xs:annotation>
18
	<!-- ================================== Imports ================================== -->
19
	<xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="../gmd/gmd.xsd"/>
20
	<xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="../gco/gco.xsd"/>
21
	<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml/gml.xsd"/>
22
	<xs:include schemaLocation="../gmi/acquisitionInformation.xsd"/>
23
	<!-- ########################################################################### -->
24
	<!-- ########################################################################### -->
25
	<!-- ================================== Classes ================================= -->
26
	<xs:complexType name="MI_Georeferenceable_Type">
27
		<xs:annotation>
28
			<xs:documentation>Description: Description of information provided in metadata that allows the geographic or map location raster points to be located - FGDC: Georeferencing_Description - shortName: IGeoref</xs:documentation>
29
		</xs:annotation>
30
		<xs:complexContent>
31
			<xs:extension base="gmd:MD_Georeferenceable_Type">
32
				<xs:sequence>
33
					<xs:element name="geolocationInformation" type="gmi:MI_GeolocationInformation_PropertyType" maxOccurs="unbounded"/>
34
				</xs:sequence>
35
			</xs:extension>
36
		</xs:complexContent>
37
	</xs:complexType>
38
	<!-- ........................................................................ -->
39
	<xs:element name="MI_Georeferenceable" type="gmi:MI_Georeferenceable_Type" substitutionGroup="gmd:MD_Georeferenceable"/>
40
	<!-- ........................................................................ -->
41
	<xs:complexType name="MI_Georeferenceable_PropertyType">
42
		<xs:sequence>
43
			<xs:element ref="gmi:MI_Georeferenceable" minOccurs="0"/>
44
		</xs:sequence>
45
		<xs:attributeGroup ref="gco:ObjectReference"/>
46
		<xs:attribute ref="gco:nilReason"/>
47
	</xs:complexType>
48
	<!-- =========================================================================== -->
49
	<xs:complexType name="MI_Georectified_Type">
50
		<xs:annotation>
51
			<xs:documentation>Description: extends georectified grid description to include associated checkpoints - shortName: IGeorect</xs:documentation>
52
		</xs:annotation>
53
		<xs:complexContent>
54
			<xs:extension base="gmd:MD_Georectified_Type">
55
				<xs:sequence>
56
					<xs:element name="checkPoint" type="gmi:MI_GCP_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
57
				</xs:sequence>
58
			</xs:extension>
59
		</xs:complexContent>
60
	</xs:complexType>
61
	<!-- ........................................................................ -->
62
	<xs:element name="MI_Georectified" type="gmi:MI_Georectified_Type" substitutionGroup="gmd:MD_Georectified"/>
63
	<!-- ........................................................................ -->
64
	<xs:complexType name="MI_Georectified_PropertyType">
65
		<xs:sequence>
66
			<xs:element ref="gmi:MI_Georectified" minOccurs="0"/>
67
		</xs:sequence>
68
		<xs:attributeGroup ref="gco:ObjectReference"/>
69
		<xs:attribute ref="gco:nilReason"/>
70
	</xs:complexType>
71
	<!-- =========================================================================== -->
72
	<xs:complexType name="MI_GCP_Type">
73
		<xs:complexContent>
74
			<xs:extension base="gco:AbstractObject_Type">
75
				<xs:sequence>
76
					<xs:element name="geographicCoordinates" type="gmi:DirectPosition_PropertyType"/>
77
				</xs:sequence>
78
			</xs:extension>
79
		</xs:complexContent>
80
	</xs:complexType>
81
	<!-- ........................................................................ -->
82
	<xs:element name="MI_GCP" type="gmi:MI_GCP_Type"/>
83
	<!-- ........................................................................ -->
84
	<xs:complexType name="MI_GCP_PropertyType">
85
		<xs:sequence>
86
			<xs:element ref="gmi:MI_GCP" minOccurs="0"/>
87
		</xs:sequence>
88
		<xs:attributeGroup ref="gco:ObjectReference"/>
89
		<xs:attribute ref="gco:nilReason"/>
90
	</xs:complexType>
91
	<!-- =========================================================================== -->
92
	<xs:complexType name="AbstractMI_GeolocationInformation_Type" abstract="true">
93
		<xs:complexContent>
94
			<xs:extension base="gco:AbstractObject_Type">
95
				<xs:sequence/>
96
			</xs:extension>
97
		</xs:complexContent>
98
	</xs:complexType>
99
	<!-- ........................................................................ -->
100
	<xs:element name="AbstractMI_GeolocationInformation" type="gmi:AbstractMI_GeolocationInformation_Type" abstract="true"/>
101
	<!-- ........................................................................ -->
102
	<xs:complexType name="MI_GeolocationInformation_PropertyType">
103
		<xs:sequence>
104
			<xs:element ref="gmi:AbstractMI_GeolocationInformation" minOccurs="0"/>
105
		</xs:sequence>
106
		<xs:attributeGroup ref="gco:ObjectReference"/>
107
		<xs:attribute ref="gco:nilReason"/>
108
	</xs:complexType>
109
	<!-- =========================================================================== -->
110
	<xs:complexType name="MI_GCPCollection_Type">
111
		<xs:complexContent>
112
			<xs:extension base="gmi:AbstractMI_GeolocationInformation_Type">
113
				<xs:sequence>
114
					<xs:element name="collectionIdentification" type="gco:Integer_PropertyType"/>
115
					<xs:element name="collectionName" type="gco:CharacterString_PropertyType"/>
116
					<xs:element name="coordinateReferenceSystem" type="gmd:MD_ReferenceSystem_PropertyType"/>
117
					<xs:element name="gcp" type="gmi:MI_GCP_PropertyType" maxOccurs="unbounded"/>
118
				</xs:sequence>
119
			</xs:extension>
120
		</xs:complexContent>
121
	</xs:complexType>
122
	<!-- ........................................................................ -->
123
	<xs:element name="MI_GCPCollection" type="gmi:MI_GCPCollection_Type" substitutionGroup="gmi:AbstractMI_GeolocationInformation"/>
124
	<!-- ........................................................................ -->
125
	<xs:complexType name="MI_GCPCollection_PropertyType">
126
		<xs:sequence>
127
			<xs:element ref="gmi:MI_GCPCollection" minOccurs="0"/>
128
		</xs:sequence>
129
		<xs:attributeGroup ref="gco:ObjectReference"/>
130
		<xs:attribute ref="gco:nilReason"/>
131
	</xs:complexType>
132
	
133
	<!--==XCGE: gml:DirectPosition==-->
134
	<!-- ........................................................................ -->
135
	<xs:complexType name="DirectPosition_PropertyType">
136
		<xs:sequence minOccurs="0">
137
			<xs:element ref="gml:pos"/>
138
		</xs:sequence>
139
		<xs:attributeGroup ref="gco:ObjectReference"/>
140
		<xs:attribute ref="gco:nilReason"/>
141
	</xs:complexType>
142
	<!-- =========================================================================== -->
143
	<!-- ........................................................................ -->
144
</xs:schema>
0 145

  
lib/schema/isotc211-noaa/gml/basicTypes.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:basicTypes:3.2.1">basicTypes.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 8.2.
6
W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup.  These are described in W3C XML Schema Part 2:2001.  Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types.  W3C XML Schema also provides methods for defining 
7
-	new simple types by restriction and combination of the built-in types, and 
8
-	complex types, with simple content, but which also have XML attributes.  
9
In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML.  
10
A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values.
11

  
12
GML is an OGC Standard.
13
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
14
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
15
		</documentation>
16
	</annotation>
17
	<simpleType name="NilReasonType">
18
		<annotation>
19
			<documentation>gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception.
20
gml:NilReasonType is a union of the following enumerated values:
21
-	inapplicable there is no value
22
-	missing the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist
23
-	template the value will be available later
24
-	unknown the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists
25
-	withheld the value is not divulged
26
-	other:text other brief explanation, where text is a string of two or more characters with no included spaces
27
and
28
-	anyURI which should refer to a resource which describes the reason for the exception
29
A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document.
30
gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type.</documentation>
31
		</annotation>
32
		<union memberTypes="gml:NilReasonEnumeration anyURI"/>
33
	</simpleType>
34
	<simpleType name="NilReasonEnumeration">
35
		<union>
36
			<simpleType>
37
				<restriction base="string">
38
					<enumeration value="inapplicable"/>
39
					<enumeration value="missing"/>
40
					<enumeration value="template"/>
41
					<enumeration value="unknown"/>
42
					<enumeration value="withheld"/>
43
				</restriction>
44
			</simpleType>
45
			<simpleType>
46
				<restriction base="string">
47
					<pattern value="other:\w{2,}"/>
48
				</restriction>
49
			</simpleType>
50
		</union>
51
	</simpleType>
52
	<simpleType name="SignType">
53
		<annotation>
54
			<documentation>gml:SignType is a convenience type with values "+" (plus) and "-" (minus).</documentation>
55
		</annotation>
56
		<restriction base="string">
57
			<enumeration value="-"/>
58
			<enumeration value="+"/>
59
		</restriction>
60
	</simpleType>
61
	<simpleType name="booleanOrNilReason">
62
		<annotation>
63
			<documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
64
		</annotation>
65
		<union memberTypes="gml:NilReasonEnumeration boolean anyURI"/>
66
	</simpleType>
67
	<simpleType name="doubleOrNilReason">
68
		<annotation>
69
			<documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
70
		</annotation>
71
		<union memberTypes="gml:NilReasonEnumeration double anyURI"/>
72
	</simpleType>
73
	<simpleType name="integerOrNilReason">
74
		<annotation>
75
			<documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
76
		</annotation>
77
		<union memberTypes="gml:NilReasonEnumeration integer anyURI"/>
78
	</simpleType>
79
	<simpleType name="NameOrNilReason">
80
		<annotation>
81
			<documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
82
		</annotation>
83
		<union memberTypes="gml:NilReasonEnumeration Name anyURI"/>
84
	</simpleType>
85
	<simpleType name="stringOrNilReason">
86
		<annotation>
87
			<documentation>Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.</documentation>
88
		</annotation>
89
		<union memberTypes="gml:NilReasonEnumeration string anyURI"/>
90
	</simpleType>
91
	<complexType name="CodeType">
92
		<annotation>
93
			<documentation>gml:CodeType is a generalized type to be used for a term, keyword or name.
94
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.</documentation>
95
		</annotation>
96
		<simpleContent>
97
			<extension base="string">
98
				<attribute name="codeSpace" type="anyURI"/>
99
			</extension>
100
		</simpleContent>
101
	</complexType>
102
	<complexType name="CodeWithAuthorityType">
103
		<annotation>
104
			<documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</documentation>
105
		</annotation>
106
		<simpleContent>
107
			<restriction base="gml:CodeType">
108
				<attribute name="codeSpace" type="anyURI" use="required"/>
109
			</restriction>
110
		</simpleContent>
111
	</complexType>
112
	<complexType name="MeasureType">
113
		<annotation>
114
			<documentation>gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale.</documentation>
115
		</annotation>
116
		<simpleContent>
117
			<extension base="double">
118
				<attribute name="uom" type="gml:UomIdentifier" use="required"/>
119
			</extension>
120
		</simpleContent>
121
	</complexType>
122
	<simpleType name="UomIdentifier">
123
		<annotation>
124
			<documentation>The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier.</documentation>
125
		</annotation>
126
		<union memberTypes="gml:UomSymbol gml:UomURI"/>
127
	</simpleType>
128
	<simpleType name="UomSymbol">
129
		<annotation>
130
			<documentation>This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc. 
131
It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems.</documentation>
132
		</annotation>
133
		<restriction base="string">
134
			<pattern value="[^: \n\r\t]+"/>
135
		</restriction>
136
	</simpleType>
137
	<simpleType name="UomURI">
138
		<annotation>
139
			<documentation>This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol . 
140
NOTE	It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s").
141
In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either 
142
-	a conventional unit of measure symbol,
143
-	a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition.</documentation>
144
		</annotation>
145
		<restriction base="anyURI">
146
			<pattern value="([a-zA-Z][a-zA-Z0-9\-\+\.]*:|\.\./|\./|#).*"/>
147
		</restriction>
148
	</simpleType>
149
	<complexType name="CoordinatesType">
150
		<annotation>
151
			<documentation>This type is deprecated for tuples with ordinate values that are numbers.
152
CoordinatesType is a text string, intended to be used to record an array of tuples or coordinates. 
153
While it is not possible to enforce the internal structure of the string through schema validation, some optional attributes have been provided in previous versions of GML to support a description of the internal structure. These attributes are deprecated. The attributes were intended to be used as follows:
154
Decimal	symbol used for a decimal point (default="." a stop or period)
155
cs        	symbol used to separate components within a tuple or coordinate string (default="," a comma)
156
ts        	symbol used to separate tuples or coordinate strings (default=" " a space)
157
Since it is based on the XML Schema string type, CoordinatesType may be used in the construction of tables of tuples or arrays of tuples, including ones that contain mixed text and numeric values.</documentation>
158
		</annotation>
159
		<simpleContent>
160
			<extension base="string">
161
				<attribute name="decimal" type="string" default="."/>
162
				<attribute name="cs" type="string" default=","/>
163
				<attribute name="ts" type="string" default="&#x20;"/>
164
			</extension>
165
		</simpleContent>
166
	</complexType>
167
	<simpleType name="booleanList">
168
		<annotation>
169
			<documentation>A type for a list of values of the respective simple type.</documentation>
170
		</annotation>
171
		<list itemType="boolean"/>
172
	</simpleType>
173
	<simpleType name="doubleList">
174
		<annotation>
175
			<documentation>A type for a list of values of the respective simple type.</documentation>
176
		</annotation>
177
		<list itemType="double"/>
178
	</simpleType>
179
	<simpleType name="integerList">
180
		<annotation>
181
			<documentation>A type for a list of values of the respective simple type.</documentation>
182
		</annotation>
183
		<list itemType="integer"/>
184
	</simpleType>
185
	<simpleType name="NameList">
186
		<annotation>
187
			<documentation>A type for a list of values of the respective simple type.</documentation>
188
		</annotation>
189
		<list itemType="Name"/>
190
	</simpleType>
191
	<simpleType name="NCNameList">
192
		<annotation>
193
			<documentation>A type for a list of values of the respective simple type.</documentation>
194
		</annotation>
195
		<list itemType="NCName"/>
196
	</simpleType>
197
	<simpleType name="QNameList">
198
		<annotation>
199
			<documentation>A type for a list of values of the respective simple type.</documentation>
200
		</annotation>
201
		<list itemType="QName"/>
202
	</simpleType>
203
	<simpleType name="booleanOrNilReasonList">
204
		<annotation>
205
			<documentation>A type for a list of values of the respective simple type.</documentation>
206
		</annotation>
207
		<list itemType="gml:booleanOrNilReason"/>
208
	</simpleType>
209
	<simpleType name="NameOrNilReasonList">
210
		<annotation>
211
			<documentation>A type for a list of values of the respective simple type.</documentation>
212
		</annotation>
213
		<list itemType="gml:NameOrNilReason"/>
214
	</simpleType>
215
	<simpleType name="doubleOrNilReasonList">
216
		<annotation>
217
			<documentation>A type for a list of values of the respective simple type.</documentation>
218
		</annotation>
219
		<list itemType="gml:doubleOrNilReason"/>
220
	</simpleType>
221
	<simpleType name="integerOrNilReasonList">
222
		<annotation>
223
			<documentation>A type for a list of values of the respective simple type.</documentation>
224
		</annotation>
225
		<list itemType="gml:integerOrNilReason"/>
226
	</simpleType>
227
	<complexType name="CodeListType">
228
		<annotation>
229
			<documentation>gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute.</documentation>
230
		</annotation>
231
		<simpleContent>
232
			<extension base="gml:NameList">
233
				<attribute name="codeSpace" type="anyURI"/>
234
			</extension>
235
		</simpleContent>
236
	</complexType>
237
	<complexType name="CodeOrNilReasonListType">
238
		<annotation>
239
			<documentation>gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.</documentation>
240
		</annotation>
241
		<simpleContent>
242
			<extension base="gml:NameOrNilReasonList">
243
				<attribute name="codeSpace" type="anyURI"/>
244
			</extension>
245
		</simpleContent>
246
	</complexType>
247
	<complexType name="MeasureListType">
248
		<annotation>
249
			<documentation>gml:MeasureListType provides for a list of quantities.</documentation>
250
		</annotation>
251
		<simpleContent>
252
			<extension base="gml:doubleList">
253
				<attribute name="uom" type="gml:UomIdentifier" use="required"/>
254
			</extension>
255
		</simpleContent>
256
	</complexType>
257
	<complexType name="MeasureOrNilReasonListType">
258
		<annotation>
259
			<documentation>gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.</documentation>
260
		</annotation>
261
		<simpleContent>
262
			<extension base="gml:doubleOrNilReasonList">
263
				<attribute name="uom" type="gml:UomIdentifier" use="required"/>
264
			</extension>
265
		</simpleContent>
266
	</complexType>
267
</schema>
0 268

  
lib/schema/isotc211-noaa/gml/coordinateReferenceSystems.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" xml:lang="en" version="3.2.1 2010-01-28">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:coordinateReferenceSystems:3.2.1">coordinateReferenceSystems.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 13.3.
6
The spatial-temporal coordinate reference systems schema components are divided into two logical parts. One part defines elements and types for XML encoding of abstract coordinate reference systems definitions. The larger part defines specialized constructs for XML encoding of definitions of the multiple concrete types of spatial-temporal coordinate reference systems.
7
These schema components encode the Coordinate Reference System packages of the UML Models of ISO 19111 Clause 8 and ISO/DIS 19136 D.3.10, with the exception of the abstract "SC_CRS" class.
8

  
9
GML is an OGC Standard.
10
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
11
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<include schemaLocation="coordinateSystems.xsd"/>
15
	<include schemaLocation="datums.xsd"/>
16
	<include schemaLocation="coordinateOperations.xsd"/>
17
	<element name="AbstractSingleCRS" type="gml:AbstractCRSType" abstract="true" substitutionGroup="gml:AbstractCRS">
18
		<annotation>
19
			<documentation>gml:AbstractSingleCRS implements a coordinate reference system consisting of one coordinate system and one datum (as opposed to a Compound CRS).</documentation>
20
		</annotation>
21
	</element>
22
	<complexType name="SingleCRSPropertyType">
23
		<annotation>
24
			<documentation>gml:SingleCRSPropertyType is a property type for association roles to a single coordinate reference system, either referencing or containing the definition of that coordinate reference system.</documentation>
25
		</annotation>
26
		<sequence minOccurs="0">
27
			<element ref="gml:AbstractSingleCRS"/>
28
		</sequence>
29
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
30
	</complexType>
31
	<element name="AbstractGeneralDerivedCRS" type="gml:AbstractGeneralDerivedCRSType" abstract="true" substitutionGroup="gml:AbstractSingleCRS">
32
		<annotation>
33
			<documentation>gml:AbstractGeneralDerivedCRS is a coordinate reference system that is defined by its coordinate conversion from another coordinate reference system. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document.</documentation>
34
		</annotation>
35
	</element>
36
	<complexType name="AbstractGeneralDerivedCRSType" abstract="true">
37
		<complexContent>
38
			<extension base="gml:AbstractCRSType">
39
				<sequence>
40
					<element ref="gml:conversion"/>
41
				</sequence>
42
			</extension>
43
		</complexContent>
44
	</complexType>
45
	<element name="conversion" type="gml:GeneralConversionPropertyType">
46
		<annotation>
47
			<documentation>gml:conversion is an association role to the coordinate conversion used to define the derived CRS.</documentation>
48
		</annotation>
49
	</element>
50
	<element name="CompoundCRS" type="gml:CompoundCRSType" substitutionGroup="gml:AbstractCRS">
51
		<annotation>
52
			<documentation>gml:CompundCRS is a coordinate reference system describing the position of points through two or more independent coordinate reference systems. It is associated with a non-repeating sequence of two or more instances of SingleCRS.</documentation>
53
		</annotation>
54
	</element>
55
	<complexType name="CompoundCRSType">
56
		<complexContent>
57
			<extension base="gml:AbstractCRSType">
58
				<sequence>
59
					<element ref="gml:componentReferenceSystem" minOccurs="2" maxOccurs="unbounded"/>
60
				</sequence>
61
				<attributeGroup ref="gml:AggregationAttributeGroup"/>
62
			</extension>
63
		</complexContent>
64
	</complexType>
65
	<element name="componentReferenceSystem" type="gml:SingleCRSPropertyType">
66
		<annotation>
67
			<documentation>The gml:componentReferenceSystem elements are an ordered sequence of associations to all the component coordinate reference systems included in this compound coordinate reference system. The gml:AggregationAttributeGroup should be used to specify that the gml:componentReferenceSystem properties are ordered.</documentation>
68
		</annotation>
69
	</element>
70
	<complexType name="CompoundCRSPropertyType">
71
		<annotation>
72
			<documentation>gml:CompoundCRSPropertyType is a property type for association roles to a compound coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
73
		</annotation>
74
		<sequence minOccurs="0">
75
			<element ref="gml:CompoundCRS"/>
76
		</sequence>
77
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
78
	</complexType>
79
	<element name="GeodeticCRS" type="gml:GeodeticCRSType" substitutionGroup="gml:AbstractSingleCRS"/>
80
	<complexType name="GeodeticCRSType">
81
		<annotation>
82
			<documentation>gml:GeodeticCRS is a coordinate reference system based on a geodetic datum.</documentation>
83
		</annotation>
84
		<complexContent>
85
			<extension base="gml:AbstractCRSType">
86
				<sequence>
87
					<choice>
88
						<element ref="gml:ellipsoidalCS"/>
89
						<element ref="gml:cartesianCS"/>
90
						<element ref="gml:sphericalCS"/>
91
					</choice>
92
					<element ref="gml:geodeticDatum"/>
93
				</sequence>
94
			</extension>
95
		</complexContent>
96
	</complexType>
97
	<element name="ellipsoidalCS" type="gml:EllipsoidalCSPropertyType">
98
		<annotation>
99
			<documentation>gml:ellipsoidalCS is an association role to the ellipsoidal coordinate system used by this CRS.</documentation>
100
		</annotation>
101
	</element>
102
	<element name="cartesianCS" type="gml:CartesianCSPropertyType">
103
		<annotation>
104
			<documentation>gml:cartesianCS is an association role to the Cartesian coordinate system used by this CRS.</documentation>
105
		</annotation>
106
	</element>
107
	<element name="sphericalCS" type="gml:SphericalCSPropertyType">
108
		<annotation>
109
			<documentation>gml:sphericalCS is an association role to the spherical coordinate system used by this CRS.</documentation>
110
		</annotation>
111
	</element>
112
	<element name="geodeticDatum" type="gml:GeodeticDatumPropertyType">
113
		<annotation>
114
			<documentation>gml:geodeticDatum is an association role to the geodetic datum used by this CRS.
115
</documentation>
116
		</annotation>
117
	</element>
118
	<complexType name="GeodeticCRSPropertyType">
119
		<annotation>
120
			<documentation>gml:GeodeticCRSPropertyType is a property type for association roles to a geodetic coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
121
		</annotation>
122
		<sequence minOccurs="0">
123
			<element ref="gml:GeodeticCRS"/>
124
		</sequence>
125
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
126
	</complexType>
127
	<element name="VerticalCRS" type="gml:VerticalCRSType" substitutionGroup="gml:AbstractSingleCRS">
128
		<annotation>
129
			<documentation>gml:VerticalCRS is a 1D coordinate reference system used for recording heights or depths. Vertical CRSs make use of the direction of gravity to define the concept of height or depth, but the relationship with gravity may not be straightforward. By implication, ellipsoidal heights (h) cannot be captured in a vertical coordinate reference system. Ellipsoidal heights cannot exist independently, but only as an inseparable part of a 3D coordinate tuple defined in a geographic 3D coordinate reference system.</documentation>
130
		</annotation>
131
	</element>
132
	<complexType name="VerticalCRSType">
133
		<complexContent>
134
			<extension base="gml:AbstractCRSType">
135
				<sequence>
136
					<element ref="gml:verticalCS"/>
137
					<element ref="gml:verticalDatum"/>
138
				</sequence>
139
			</extension>
140
		</complexContent>
141
	</complexType>
142
	<element name="verticalCS" type="gml:VerticalCSPropertyType">
143
		<annotation>
144
			<documentation>gml:verticalCS is an association role to the vertical coordinate system used by this CRS.</documentation>
145
		</annotation>
146
	</element>
147
	<element name="verticalDatum" type="gml:VerticalDatumPropertyType">
148
		<annotation>
149
			<documentation>gml:verticalDatum is an association role to the vertical datum used by this CRS.</documentation>
150
		</annotation>
151
	</element>
152
	<complexType name="VerticalCRSPropertyType">
153
		<annotation>
154
			<documentation>gml:VerticalCRSPropertyType is a property type for association roles to a vertical coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
155
		</annotation>
156
		<sequence minOccurs="0">
157
			<element ref="gml:VerticalCRS"/>
158
		</sequence>
159
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
160
	</complexType>
161
	<element name="ProjectedCRS" type="gml:ProjectedCRSType" substitutionGroup="gml:AbstractGeneralDerivedCRS">
162
		<annotation>
163
			<documentation>gml:ProjectedCRS is a 2D coordinate reference system used to approximate the shape of the earth on a planar surface, but in such a way that the distortion that is inherent to the approximation is carefully controlled and known. Distortion correction is commonly applied to calculated bearings and distances to produce values that are a close match to actual field values.</documentation>
164
		</annotation>
165
	</element>
166
	<complexType name="ProjectedCRSType">
167
		<complexContent>
168
			<extension base="gml:AbstractGeneralDerivedCRSType">
169
				<sequence>
170
					<choice>
171
						<element ref="gml:baseGeodeticCRS"/>
172
						<element ref="gml:baseGeographicCRS"/>
173
					</choice>
174
					<element ref="gml:cartesianCS"/>
175
				</sequence>
176
			</extension>
177
		</complexContent>
178
	</complexType>
179
	<element name="baseGeodeticCRS" type="gml:GeodeticCRSPropertyType">
180
		<annotation>
181
			<documentation>gml:baseGeodeticCRS is an association role to the geodetic coordinate reference system used by this projected CRS.</documentation>
182
		</annotation>
183
	</element>
184
	<complexType name="ProjectedCRSPropertyType">
185
		<annotation>
186
			<documentation>gml:ProjectedCRSPropertyType is a property type for association roles to a projected coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
187
		</annotation>
188
		<sequence minOccurs="0">
189
			<element ref="gml:ProjectedCRS"/>
190
		</sequence>
191
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
192
	</complexType>
193
	<element name="DerivedCRS" type="gml:DerivedCRSType" substitutionGroup="gml:AbstractGeneralDerivedCRS">
194
		<annotation>
195
			<documentation>gml:DerivedCRS is a single coordinate reference system that is defined by its coordinate conversion from another single coordinate reference system known as the base CRS. The base CRS can be a projected coordinate reference system, if this DerivedCRS is used for a georectified grid coverage as described in ISO 19123, Clause 8.</documentation>
196
		</annotation>
197
	</element>
198
	<complexType name="DerivedCRSType">
199
		<complexContent>
200
			<extension base="gml:AbstractGeneralDerivedCRSType">
201
				<sequence>
202
					<element ref="gml:baseCRS"/>
203
					<element ref="gml:derivedCRSType"/>
204
					<element ref="gml:coordinateSystem"/>
205
				</sequence>
206
			</extension>
207
		</complexContent>
208
	</complexType>
209
	<element name="baseCRS" type="gml:SingleCRSPropertyType">
210
		<annotation>
211
			<documentation>gml:baseCRS is an association role to the coordinate reference system used by this derived CRS.</documentation>
212
		</annotation>
213
	</element>
214
	<element name="derivedCRSType" type="gml:CodeWithAuthorityType">
215
		<annotation>
216
			<documentation>The gml:derivedCRSType property describes the type of a derived coordinate reference system. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property.</documentation>
217
		</annotation>
218
	</element>
219
	<element name="coordinateSystem" type="gml:CoordinateSystemPropertyType">
220
		<annotation>
221
			<documentation>An association role to the coordinate system used by this CRS.</documentation>
222
		</annotation>
223
	</element>
224
	<complexType name="DerivedCRSPropertyType">
225
		<annotation>
226
			<documentation>gml:DerivedCRSPropertyType is a property type for association roles to a non-projected derived coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
227
		</annotation>
228
		<sequence minOccurs="0">
229
			<element ref="gml:DerivedCRS"/>
230
		</sequence>
231
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
232
	</complexType>
233
	<element name="EngineeringCRS" type="gml:EngineeringCRSType" substitutionGroup="gml:AbstractSingleCRS">
234
		<annotation>
235
			<documentation>gml:EngineeringCRS is a contextually local coordinate reference system which can be divided into two broad categories:
236
-	earth-fixed systems applied to engineering activities on or near the surface of the earth;
237
-	CRSs on moving platforms such as road vehicles, vessels, aircraft, or spacecraft, see ISO 19111 8.3.</documentation>
238
		</annotation>
239
	</element>
240
	<complexType name="EngineeringCRSType">
241
		<complexContent>
242
			<extension base="gml:AbstractCRSType">
243
				<sequence>
244
					<choice>
245
						<element ref="gml:affineCS"/>
246
						<element ref="gml:cartesianCS"/>
247
						<element ref="gml:cylindricalCS"/>
248
						<element ref="gml:linearCS"/>
249
						<element ref="gml:polarCS"/>
250
						<element ref="gml:sphericalCS"/>
251
						<element ref="gml:userDefinedCS"/>
252
						<element ref="gml:coordinateSystem">
253
							<annotation>
254
								<appinfo>deprecated</appinfo>
255
							</annotation>
256
						</element>
257
					</choice>
258
					<element ref="gml:engineeringDatum"/>
259
				</sequence>
260
			</extension>
261
		</complexContent>
262
	</complexType>
263
	<element name="cylindricalCS" type="gml:CylindricalCSPropertyType">
264
		<annotation>
265
			<documentation>gml:cylindricalCS is an association role to the cylindrical coordinate system used by this CRS.</documentation>
266
		</annotation>
267
	</element>
268
	<element name="linearCS" type="gml:LinearCSPropertyType">
269
		<annotation>
270
			<documentation>gml:linearCS is an association role to the linear coordinate system used by this CRS.</documentation>
271
		</annotation>
272
	</element>
273
	<element name="polarCS" type="gml:PolarCSPropertyType">
274
		<annotation>
275
			<documentation>gml:polarCS is an association role to the polar coordinate system used by this CRS.</documentation>
276
		</annotation>
277
	</element>
278
	<element name="userDefinedCS" type="gml:UserDefinedCSPropertyType">
279
		<annotation>
280
			<documentation>gml:userDefinedCS is an association role to the user defined coordinate system used by this CRS.</documentation>
281
		</annotation>
282
	</element>
283
	<element name="engineeringDatum" type="gml:EngineeringDatumPropertyType">
284
		<annotation>
285
			<documentation>gml:engineeringDatum is an association role to the engineering datum used by this CRS.</documentation>
286
		</annotation>
287
	</element>
288
	<complexType name="EngineeringCRSPropertyType">
289
		<annotation>
290
			<documentation>gml:EngineeringCRSPropertyType is a property type for association roles to an engineering coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
291
		</annotation>
292
		<sequence minOccurs="0">
293
			<element ref="gml:EngineeringCRS"/>
294
		</sequence>
295
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
296
	</complexType>
297
	<element name="ImageCRS" type="gml:ImageCRSType" substitutionGroup="gml:AbstractSingleCRS">
298
		<annotation>
299
			<documentation>gml:ImageCRS is an engineering coordinate reference system applied to locations in images. Image coordinate reference systems are treated as a separate sub-type because the definition of the associated image datum contains two attributes not relevant to other engineering datums.</documentation>
300
		</annotation>
301
	</element>
302
	<complexType name="ImageCRSType">
303
		<complexContent>
304
			<extension base="gml:AbstractCRSType">
305
				<sequence>
306
					<choice>
307
						<element ref="gml:cartesianCS"/>
308
						<element ref="gml:affineCS"/>
309
						<element ref="gml:usesObliqueCartesianCS"/>
310
					</choice>
311
					<element ref="gml:imageDatum"/>
312
				</sequence>
313
			</extension>
314
		</complexContent>
315
	</complexType>
316
	<element name="affineCS" type="gml:AffineCSPropertyType">
317
		<annotation>
318
			<documentation>gml:affineCS is an association role to the affine coordinate system used by this CRS.</documentation>
319
		</annotation>
320
	</element>
321
	<element name="imageDatum" type="gml:ImageDatumPropertyType">
322
		<annotation>
323
			<documentation>gml:imageDatum is an association role to the image datum used by this CRS.</documentation>
324
		</annotation>
325
	</element>
326
	<complexType name="ImageCRSPropertyType">
327
		<annotation>
328
			<documentation>gml:ImageCRSPropertyType is a property type for association roles to an image coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
329
		</annotation>
330
		<sequence minOccurs="0">
331
			<element ref="gml:ImageCRS"/>
332
		</sequence>
333
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
334
	</complexType>
335
	<element name="TemporalCRS" type="gml:TemporalCRSType" substitutionGroup="gml:AbstractSingleCRS">
336
		<annotation>
337
			<documentation>gml:TemporalCRS is a 1D coordinate reference system used for the recording of time.</documentation>
338
		</annotation>
339
	</element>
340
	<complexType name="TemporalCRSType">
341
		<complexContent>
342
			<extension base="gml:AbstractCRSType">
343
				<sequence>
344
					<choice>
345
						<element ref="gml:timeCS"/>
346
						<element ref="gml:usesTemporalCS"/>
347
					</choice>
348
					<element ref="gml:temporalDatum"/>
349
				</sequence>
350
			</extension>
351
		</complexContent>
352
	</complexType>
353
	<element name="timeCS" type="gml:TimeCSPropertyType">
354
		<annotation>
355
			<documentation>gml:timeCS is an association role to the time coordinate system used by this CRS.</documentation>
356
		</annotation>
357
	</element>
358
	<element name="temporalDatum" type="gml:TemporalDatumPropertyType">
359
		<annotation>
360
			<documentation>gml:temporalDatum is an association role to the temporal datum used by this CRS.</documentation>
361
		</annotation>
362
	</element>
363
	<complexType name="TemporalCRSPropertyType">
364
		<annotation>
365
			<documentation>gml:TemporalCRSPropertyType is a property type for association roles to a temporal coordinate reference system, either referencing or containing the definition of that reference system.</documentation>
366
		</annotation>
367
		<sequence minOccurs="0">
368
			<element ref="gml:TemporalCRS"/>
369
		</sequence>
370
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
371
	</complexType>
372
</schema>
0 373

  
lib/schema/isotc211-noaa/gml/datums.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
3
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" xml:lang="en" version="3.2.1 2010-01-28">
4
	<annotation>
5
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:datums:3.2.1">datums.xsd</appinfo>
6
		<documentation>See ISO/DIS 19136 13.5
7
The datums schema components can be divided into three logical parts, which define elements and types for XML encoding of the definitions of:
8
-	Abstract datum
9
-	Geodetic datums, including ellipsoid and prime meridian
10
-	Multiple other concrete types of spatial or temporal datums
11
These schema components encode the Datum packages of the UML Models of ISO 19111 Clause 10 and ISO/DIS 19136 D.3.10.
12

  
13
GML is an OGC Standard.
14
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
15
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
16
		</documentation>
17
	</annotation>
18
	<include schemaLocation="referenceSystems.xsd"/>
19
	<include schemaLocation="measures.xsd"/>
20
	<element name="AbstractDatum" type="gml:AbstractDatumType" abstract="true" substitutionGroup="gml:Definition">
21
		<annotation>
22
			<documentation>A gml:AbstractDatum specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype may be associated with only specific types of coordinate systems. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document.</documentation>
23
		</annotation>
24
	</element>
25
	<complexType name="AbstractDatumType" abstract="true">
26
		<complexContent>
27
			<extension base="gml:IdentifiedObjectType">
28
				<sequence>
29
					<element ref="gml:domainOfValidity" minOccurs="0"/>
30
					<element ref="gml:scope" maxOccurs="unbounded"/>
31
					<element ref="gml:anchorDefinition" minOccurs="0"/>
32
					<element ref="gml:realizationEpoch" minOccurs="0"/>
33
				</sequence>
34
			</extension>
35
		</complexContent>
36
	</complexType>
37
	<element name="anchorDefinition" type="gml:CodeType">
38
		<annotation>
39
			<documentation>gml:anchorDefinition is a description, possibly including coordinates, of the definition used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute may be used to reference a source of more detailed on this point or surface, or on a set of such descriptions.
40
-	For a geodetic datum, this point is also known as the fundamental point, which is traditionally the point where the relationship between geoid and ellipsoid is defined. In some cases, the "fundamental point" may consist of a number of points. In those cases, the parameters defining the geoid/ellipsoid relationship have been averaged for these points, and the averages adopted as the datum definition.
41
-	For an engineering datum, the anchor definition may be a physical point, or it may be a point with defined coordinates in another CRS.may
42
-	For an image datum, the anchor definition is usually either the centre of the image or the corner of the image.
43
-	For a temporal datum, this attribute is not defined. Instead of the anchor definition, a temporal datum carries a separate time origin of type DateTime.</documentation>
44
		</annotation>
45
	</element>
46
	<element name="realizationEpoch" type="date">
47
		<annotation>
48
			<documentation>gml:realizationEpoch is the time after which this datum definition is valid. See ISO 19111 Table 32 for details.</documentation>
49
		</annotation>
50
	</element>
51
	<complexType name="DatumPropertyType">
52
		<annotation>
53
			<documentation>gml:DatumPropertyType is a property type for association roles to a datum, either referencing or containing the definition of that datum.</documentation>
54
		</annotation>
55
		<sequence minOccurs="0">
56
			<element ref="gml:AbstractDatum"/>
57
		</sequence>
58
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
59
	</complexType>
60
	<element name="GeodeticDatum" type="gml:GeodeticDatumType" substitutionGroup="gml:AbstractDatum">
61
		<annotation>
62
			<documentation>gml:GeodeticDatum is a geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere), or of a Cartesian coordinate system centered in this ellipsoid (or sphere).</documentation>
63
		</annotation>
64
	</element>
65
	<complexType name="GeodeticDatumType">
66
		<complexContent>
67
			<extension base="gml:AbstractDatumType">
68
				<sequence>
69
					<element ref="gml:primeMeridian"/>
70
					<element ref="gml:ellipsoid"/>
71
				</sequence>
72
			</extension>
73
		</complexContent>
74
	</complexType>
75
	<element name="primeMeridian" type="gml:PrimeMeridianPropertyType">
76
		<annotation>
77
			<documentation>gml:primeMeridian is an association role to the prime meridian used by this geodetic datum.</documentation>
78
		</annotation>
79
	</element>
80
	<element name="ellipsoid" type="gml:EllipsoidPropertyType">
81
		<annotation>
82
			<documentation>gml:ellipsoid is an association role to the ellipsoid used by this geodetic datum.</documentation>
83
		</annotation>
84
	</element>
85
	<complexType name="GeodeticDatumPropertyType">
86
		<annotation>
87
			<documentation>gml:GeodeticDatumPropertyType is a property type for association roles to a geodetic datum, either referencing or containing the definition of that datum.</documentation>
88
		</annotation>
89
		<sequence minOccurs="0">
90
			<element ref="gml:GeodeticDatum"/>
91
		</sequence>
92
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
93
	</complexType>
94
	<element name="Ellipsoid" type="gml:EllipsoidType" substitutionGroup="gml:Definition">
95
		<annotation>
96
			<documentation>A gml:Ellipsoid is a geometric figure that may be used to describe the approximate shape of the earth. In mathematical terms, it is a surface formed by the rotation of an ellipse about its minor axis.</documentation>
97
		</annotation>
98
	</element>
99
	<complexType name="EllipsoidType">
100
		<complexContent>
101
			<extension base="gml:IdentifiedObjectType">
102
				<sequence>
103
					<element ref="gml:semiMajorAxis"/>
104
					<element ref="gml:secondDefiningParameter"/>
105
				</sequence>
106
			</extension>
107
		</complexContent>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff