-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGeoSciML.xsd
340 lines (340 loc) · 23.2 KB
/
GeoSciML.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 rel. 3 sp1 (x64) (http://www.altova.com) by Stephen M Richard (private) -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:gmlsf="http://www.opengis.net/gmlsf" xmlns:gsmlp="http://xmlns.geosciml.org/geosciml-portrayal/2.0" targetNamespace="http://xmlns.geosciml.org/geosciml-portrayal/2.0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
<!-- Schema auto-generated by FullMoon, applying rule suite xmi11ea -->
<!-- 2011-08-05: Manually changed schema to import GML 3.1.1 instead of GML 3.2 by Alistair Ritchie - [email protected]. -->
<!-- Note that a GML3.2 compatible schema is available with namespace http://xmlns.geosciml.org/geosciml-portrayal/2.1-->
<!-- 2011-08-18: Namespace changed to match GeoSciML pattern, and "source" cardinality changed to (0..1). Ollie Raymond, Geoscience Australia -->
<!-- 2012-03-28: Add <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> at end of the element sequence for each portrayal type. This allows for the insertion of other elements, particularly allowing for ESRI ArcGIS server tendency to throw in objectID, length and area elements
Also change upper to older and lower to younger in age element names and descriptions to avoid inherent ambiguity about what is older and what is younger.
Add gmlsf level 0 declartion in annotation element. Question: does having xsd:any element with unbounded cardinality violate level 0 proscription that max cardinality is 1? Stephen Richard, AZGS/USGIN -->
<annotation>
<documentation>This schema conforms to The GML Simple Feature Profile for GML v3.1.1 (OGC 06-049r1). An xsd:any element is added at the end of each element sequence that has cardinality of 0..N; While this may violate the proscription for SF level-0 that element cardinality has a max value of 1, the interperable part of the scheme conforms to level 0. Processing clients are expected to ignore elements appended to the end of the sequence if they do not know them.</documentation>
<appinfo source="http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsfLevels.xsd">
<gmlsf:ComplianceLevel>0</gmlsf:ComplianceLevel>
<gmlsf:GMLProfileSchema>http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd</gmlsf:GMLProfileSchema>
</appinfo>
</annotation>
<annotation>
<documentation>The GeoSciML Portrayal View schema standardises the interaction (request/response formats) with layer-based map services. It is best thought of as a view of GeoSciML data that denormalizes the data and concatenates complex property values into single, human-readable, labels and returns single, representative, values from controlled vocabularies for properties multi-valued properties that can be used when generating thematic maps, or portrayals, of the data.
It is separate to, but harmonized with, GeoSciML and conforms to the level 0 of the Simple Features Profile for GML (link). Labels, will be 'free-text' fields that will be, in robust services, well-structured summaries of complex GeoSciML data, while the representative thematic properties will be URIs of concepts in a controlled vocabulary (for example CGI Simple Lithology). There will also be links, via identifier URIs*, providing hooks to full GeoSciML representations of a the geologic feature in question.</documentation>
</annotation>
<import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>
<element name="ContactView" type="gsmlp:ContactViewType" substitutionGroup="gml:_Feature">
<annotation>
<documentation>Simplified view of a GeoSciML Contact. In GeoSciML terms this will be in instance of a MappedFeature with key property values from the associated Contact feature summarised as labels (unconstrained character strings) or arbitrarily selected classifiers to be used for thematic mapping purposes. The latter are the properties suffixed with '_uri' and will contain URIs referring to controlled concepts in published vocabularies.</documentation>
</annotation>
</element>
<complexType name="ContactViewType">
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element name="identifier" type="string">
<annotation>
<documentation>Globally unique identifer. Should have the same value as the corresponding GeoSciML MappedFeature.</documentation>
</annotation>
</element>
<element name="name" type="string" minOccurs="0">
<annotation>
<documentation>Display name for the the Contact.</documentation>
</annotation>
</element>
<element name="description" type="string" minOccurs="0">
<annotation>
<documentation>Text description of the Contact, typically taken from an entry on a geological map legend.</documentation>
</annotation>
</element>
<element name="contactType" type="string" minOccurs="0">
<annotation>
<documentation>Type of Contact (as defined in GeoSciML).</documentation>
</annotation>
</element>
<element name="observationMethod" type="string" minOccurs="0">
<annotation>
<documentation>Metadata snippet indicating how the spatial extent of the feature was determined. ObservationMethod is a convenience property that provides a quick and dirty approach to observation metadata when data are reported using a feature view (as opposed to observation view).</documentation>
</annotation>
</element>
<element name="positionalAccuracy" type="string" minOccurs="0">
<annotation>
<documentation>Quantitative values define the radius of an uncertainty buffer around a mappedFeature (eg: a positionAccuracy of 100 m for a line feature defines a buffer polygon of total width 200 m centred on the line).</documentation>
</annotation>
</element>
<element name="source" type="string" minOccurs="0">
<annotation>
<documentation>Text describing feature-specific details and citations to source materials, and if available providing URLs to reference material and publications describing the geologic feature. This could be a short text synopsis of key inforamtion that would also be in the metadata record referenced by metadata_uri.</documentation>
</annotation>
</element>
<element name="contactType_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept from a vocabulary defining the Contact types. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="specification_uri" type="string">
<annotation>
<documentation>URI referring the the GeoSciML Contact feature that describes the instance in detail. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="metadata_uri" type="string">
<annotation>
<documentation>URI referring to a metadata record describing the provenance of data.</documentation>
</annotation>
</element>
<element name="genericSymbolizer" type="string" minOccurs="0">
<annotation>
<documentation>Identifier for a symbol from standard (locally or community defined) symbolization scheme for portrayal.</documentation>
</annotation>
</element>
<element name="shape" type="gml:GeometryPropertyType">
<annotation>
<documentation>Geometry defining the extent of the feature of interest.</documentation>
</annotation>
</element>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ContactViewPropertyType">
<sequence minOccurs="0">
<element ref="gsmlp:ContactView"/>
</sequence>
</complexType>
<element name="ShearDisplacementStructureView" type="gsmlp:ShearDisplacementStructureViewType" substitutionGroup="gml:_Feature">
<annotation>
<documentation>Simplified view of a GeoSciML ShearDisplacementStructure. In GeoSciML terms this will be in instance of a MappedFeature with key property values from the associated ShearDisplacementStructure feature summarised as labels (unconstrained character strings) or arbitrarily selected classifiers to be used for thematic mapping purposes. The latter are the properties suffixed with '_uri' and will contain URIs referring to controlled concepts in published vocabularies.</documentation>
</annotation>
</element>
<complexType name="ShearDisplacementStructureViewType">
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element name="identifier" type="string">
<annotation>
<documentation>Globally unique identifer. Should have the same value as the corresponding GeoSciML MappedFeature.</documentation>
</annotation>
</element>
<element name="name" type="string" minOccurs="0">
<annotation>
<documentation>Display name for the the ShearDisplacementStructure.</documentation>
</annotation>
</element>
<element name="description" type="string" minOccurs="0">
<annotation>
<documentation>Text description of the ShearDisplacementStructure, typically taken from an entry on a geological map legend.</documentation>
</annotation>
</element>
<element name="faultType" type="string" minOccurs="0">
<annotation>
<documentation>Type of ShearDisplacementStructure (as defined in GeoSciML).</documentation>
</annotation>
</element>
<element name="movementType" type="string" minOccurs="0">
<annotation>
<documentation>Summarises the type of movement (eg dip-slip, strike-slip) on the ShearDisplacementStructure.</documentation>
</annotation>
</element>
<element name="deformationStyle" type="string" minOccurs="0">
<annotation>
<documentation>Describes the style of deformation (eg brittle,ductile etc) for the ShearDisplacementStructure.</documentation>
</annotation>
</element>
<element name="displacement" type="string" minOccurs="0">
<annotation>
<documentation>Summarises the displacement across the ShearDisplacementStructure.</documentation>
</annotation>
</element>
<element name="geologicHistory" type="string" minOccurs="0">
<annotation>
<documentation>Text (possibly formatted with formal syntax) description of the age of the ShearDisplacementStructure (where age is a sequence of events and may include process and environment information).</documentation>
</annotation>
</element>
<element name="observationMethod" type="string" minOccurs="0">
<annotation>
<documentation>Metadata snippet indicating how the spatial extent of the feature was determined. ObservationMethod is a convenience property that provides a quick and dirty approach to observation metadata when data are reported using a feature view (as opposed to observation view).</documentation>
</annotation>
</element>
<element name="positionalAccuracy" type="string" minOccurs="0">
<annotation>
<documentation>Quantitative values define the radius of an uncertainty buffer around a mappedFeature (eg: a positionAccuracy of 100 m for a line feature defines a buffer polygon of total width 200 m centred on the line).</documentation>
</annotation>
</element>
<element name="source" type="string" minOccurs="0">
<annotation>
<documentation>Text describing feature-specific details and citations to source materials, and if available providing URLs to reference material and publications describing the geologic feature. This could be a short text synopsis of key inforamtion that would also be in the metadata record referenced by metadata_uri.</documentation>
</annotation>
</element>
<element name="faultType_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept from a vocabulary defining the fault (ShearDisplacementStructure) type. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="movementType_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept from a vocabulary defining the ShearDisplacementStructure movement type. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="deformationStyle_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept from a vocabulary defining the ShearDisplacementStructure deformation style. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="representativeAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative stratigraphic age interval for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="representativeOlderAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative older value in a range of stratigraphic age intervals for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="representativeYoungerAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative younger value in a range of stratigraphic age intervals for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="specification_uri" type="string">
<annotation>
<documentation>URI referring the the GeoSciML ShearDisplacementStructure feature that describes the instance in detail. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="metadata_uri" type="string">
<annotation>
<documentation>URI referring to a metadata record describing the provenance of data.</documentation>
</annotation>
</element>
<element name="genericSymbolizer" type="string" minOccurs="0">
<annotation>
<documentation>Identifier for a symbol from standard (locally or community defined) symbolization scheme for portrayal.</documentation>
</annotation>
</element>
<element name="shape" type="gml:GeometryPropertyType">
<annotation>
<documentation>Geometry defining the extent of the feature of interest.</documentation>
</annotation>
</element>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ShearDisplacementStructureViewPropertyType">
<sequence minOccurs="0">
<element ref="gsmlp:ShearDisplacementStructureView"/>
</sequence>
</complexType>
<element name="GeologicUnitView" type="gsmlp:GeologicUnitViewType" substitutionGroup="gml:_Feature">
<annotation>
<documentation>Simplified view of a GeoSciML GeologicUnit. In GeoSciML terms this will be in instance of a MappedFeature with key property values from the associated GeologicUnit feature summarised as labels (unconstrained character strings) or arbitrarily selected classifiers to be used for thematic mapping purposes. The latter are the properties suffixed with '_uri' and will contain URIs referring to controlled concepts in published vocabularies.</documentation>
</annotation>
</element>
<complexType name="GeologicUnitViewType">
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element name="identifier" type="string">
<annotation>
<documentation>Globally unique identifer. Should have the same value as the corresponding GeoSciML MappedFeature.</documentation>
</annotation>
</element>
<element name="name" type="string" minOccurs="0">
<annotation>
<documentation>Display name for the the GeologicalUnit.</documentation>
</annotation>
</element>
<element name="description" type="string" minOccurs="0">
<annotation>
<documentation>Text description of the GeologicUnit, typically taken from an entry on a geological map legend.</documentation>
</annotation>
</element>
<element name="geologicUnitType" type="string" minOccurs="0">
<annotation>
<documentation>Type of GeologicUnit (as defined in GeoSciML).</documentation>
</annotation>
</element>
<element name="rank" type="string" minOccurs="0">
<annotation>
<documentation>Rank of GeologicUnit (as defined in GeoSciML).</documentation>
</annotation>
</element>
<element name="lithology" type="string" minOccurs="0">
<annotation>
<documentation>Text (possibly formatted with formal syntax) description of the GeologicUnit's lithology.</documentation>
</annotation>
</element>
<element name="geologicHistory" type="string" minOccurs="0">
<annotation>
<documentation>Text (possibly formatted with formal syntax) description of the age of the GeologicUnit (where age is a sequence of events and may include process and environment information).</documentation>
</annotation>
</element>
<element name="observationMethod" type="string" minOccurs="0">
<annotation>
<documentation>Metadata snippet indicating how the spatial extent of the feature was determined. ObservationMethod is a convenience property that provides a quick and dirty approach to observation metadata when data are reported using a feature view (as opposed to observation view).</documentation>
</annotation>
</element>
<element name="positionalAccuracy" type="string" minOccurs="0">
<annotation>
<documentation>Quantitative values define the radius of an uncertainty buffer around a mappedFeature (eg: a positionAccuracy of 100 m for a line feature defines a buffer polygon of total width 200 m centred on the line).</documentation>
</annotation>
</element>
<element name="source" type="string" minOccurs="0">
<annotation>
<documentation>Text describing feature-specific details and citations to source materials, and if available providing URLs to reference material and publications describing the geologic feature. This could be a short text synopsis of key inforamtion that would also be in the metadata record referenced by metadata_uri.</documentation>
</annotation>
</element>
<element name="geologicUnitType_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept from a vocabulary defining the GeologicUnit types. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="representativeLithology_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the characteristic or represntative lithology of the unit. This may be a concept that defines the super-type of all lithology values present within a GeologicUnit or a concept defining the lithology of the dominant CompositionPart (as defined in GeoSciML) of the unit.</documentation>
</annotation>
</element>
<element name="representativeAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative stratigraphic age interval for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="representativeOlderAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative older value in a range of stratigraphic age intervals for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="representativeYoungerAge_uri" type="string">
<annotation>
<documentation>URI referring to a controlled concept specifying the most representative younger value in a range of stratigraphic age intervals for the GeologicUnit. This will be defined entirely at the discretion of the data provider and may be a single event selected from the geologic feature's geological history or a value summarising the all or part of the feature's history.</documentation>
</annotation>
</element>
<element name="specification_uri" type="string">
<annotation>
<documentation>URI referring the the GeoSciML GeologicUnit feature that describes the instance in detail. Mandatory propery - if not value is provided then a URI referring to a conctrolled concept explaining why the value is nil must be provided.</documentation>
</annotation>
</element>
<element name="metadata_uri" type="string">
<annotation>
<documentation>URI referring to a metadata record describing the provenance of data.</documentation>
</annotation>
</element>
<element name="genericSymbolizer" type="string" minOccurs="0">
<annotation>
<documentation>Identifier for a symbol from standard (locally or community defined) symbolization scheme for portrayal.</documentation>
</annotation>
</element>
<element name="shape" type="gml:GeometryPropertyType">
<annotation>
<documentation>Geometry defining the extent of the feature of interest.</documentation>
</annotation>
</element>
<any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="GeologicUnitViewPropertyType">
<sequence minOccurs="0">
<element ref="gsmlp:GeologicUnitView"/>
</sequence>
</complexType>
</schema>