source: RevitalizationWS/schemas/gml/trunk/src/main/resources/geometryBasic0d1d.xsd @ 7379

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/gml/trunk/src/main/resources/geometryBasic0d1d.xsd@7379
Revision 7379, 32.3 KB checked in by mnagni, 11 years ago (diff)

Contains the configuration to generate an ogc complaint GML library. The version of the Maven's POM file has to be considered as the GML version

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by David Burggraf (Galdos Systems Inc) -->
3<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1 2010-01-28" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron"
4        xmlns="http://www.w3.org/2001/XMLSchema">
5        <annotation>
6                <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic0d1d:v3.1.1">geometryBasic0d1d.xsd</appinfo>
7                <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic0d1d:v3.1.1">
8                        <sch:title>Schematron validation</sch:title>
9                        <sch:pattern name="Check SRS tags">
10                                <sch:rule abstract="true" id="CRSLabels">
11                                        <sch:report test="not(@srsDimension) or @srsName">The presence of a dimension attribute implies the presence of the srsName attribute.</sch:report>
12                                        <sch:report test="not(@axisLabels) or @srsName">The presence of an axisLabels attribute implies the presence of the srsName attribute.</sch:report>
13                                        <sch:report test="not(@uomLabels) or @srsName">The presence of an uomLabels attribute implies the presence of the srsName attribute.</sch:report>
14                                        <sch:report test="(not(@uomLabels) and not(@axisLabels)) or (@uomLabels and @axisLabels)">The presence of an uomLabels attribute implies the presence of the axisLabels attribute and vice versa.</sch:report>
15                                </sch:rule>
16                        </sch:pattern>
17                        <sch:pattern name="Check Dimension">
18                                <sch:rule abstract="true" id="Count">
19                                        <sch:report test="not(@count) or @srsDimension">The presence of a count attribute implies the presence of the dimension attribute.</sch:report>
20                                </sch:rule>
21                        </sch:pattern>
22                </appinfo>
23                <documentation>
24                        GML is an OGC Standard.
25                        Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
26                        To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
27                </documentation>
28        </annotation>
29        <!-- ============================================================== -->
30        <include schemaLocation="measures.xsd">
31                <annotation>
32                        <documentation>This includes not only measures.xsd, but also units.xsd, gmlBase.xsd and basicTypes.xsd.</documentation>
33                </annotation>
34        </include>
35        <!-- ============================================================== -->
36        <!-- ===========  abstract supertype for geometry objects =================== -->
37        <!-- ============================================================== -->
38        <element name="_Geometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:_GML">
39                <annotation>
40                        <documentation>The "_Geometry" element is the abstract head of the substituition group for all geometry elements of GML 3. This
41                        includes pre-defined and user-defined geometry elements. Any geometry element must be a direct or indirect extension/restriction
42                        of AbstractGeometryType and must be directly or indirectly in the substitution group of "_Geometry".</documentation>
43                        <appinfo>
44                                <sch:pattern name="Check SRS tags">
45                                        <sch:rule context="gml:_Geometry">
46                                                <sch:extends rule="CRSLabels"/>
47                                        </sch:rule>
48                                </sch:pattern>
49                        </appinfo>
50                </annotation>
51        </element>
52        <!-- ============================================================== -->
53        <complexType name="GeometryPropertyType">
54                <annotation>
55                        <documentation>A geometric property can either be any geometry element encapsulated in an element of this type or an XLink reference
56                        to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Note that either
57                        the reference or the contained element must be given, but not both or none.</documentation>
58                </annotation>
59                <sequence minOccurs="0">
60                        <element ref="gml:_Geometry"/>
61                </sequence>
62                <attributeGroup ref="gml:AssociationAttributeGroup">
63                        <annotation>
64                                <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference
65                                remote resources (including those elsewhere in the same document). A simple link element can be constructed by
66                                including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation
67                                of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create
68                                sophisticated links between resources; such links can be used to reference remote properties. A simple link element
69                                can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by
70                                including the gml:AssociationAttributeGroup.</documentation>
71                        </annotation>
72                </attributeGroup>
73        </complexType>
74        <!-- ============================================================== -->
75        <complexType name="GeometryArrayPropertyType">
76                <annotation>
77                        <documentation>A container for an array of geometry elements. The elements are always contained in the array property,
78                        referencing geometry elements or arrays of geometry elements is not supported.</documentation>
79                </annotation>
80                <sequence>
81                        <element ref="gml:_Geometry" minOccurs="0" maxOccurs="unbounded"/>
82                </sequence>
83        </complexType>
84        <!-- ============================================================== -->
85        <complexType name="AbstractGeometryType" abstract="true">
86                <annotation>
87                        <documentation>All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may
88                        have an identifying attribute ("gml:id"), a name (attribute "name") and a description (attribute "description"). It may be associated
89                        with a spatial reference system (attribute "srsName"). The following rules shall be adhered: - Every geometry type shall derive
90                        from this abstract type. - Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the
91                        substitution group of _Geometry.</documentation>
92                </annotation>
93                <complexContent>
94                        <extension base="gml:AbstractGMLType">
95                                <attribute name="gid" type="string" use="optional">
96                                        <annotation>
97                                                <documentation>This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3.
98                                                This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used
99                                                anymore and may be deleted in future versions of GML without further notice.</documentation>
100                                        </annotation>
101                                </attribute>
102                                <attributeGroup ref="gml:SRSReferenceGroup"/>
103                        </extension>
104                </complexContent>
105        </complexType>
106        <!-- ============================================================== -->
107        <attributeGroup name="SRSReferenceGroup">
108                <annotation>
109                        <documentation>Optional reference to the CRS used by this geometry, with optional additional information to simplify use when
110                        a more complete definition of the CRS is not needed.</documentation>
111                </annotation>
112                <attribute name="srsName" type="anyURI" use="optional">
113                        <annotation>
114                                <documentation>In general this reference points to a CRS instance of gml:CoordinateReferenceSystemType
115                                (see coordinateReferenceSystems.xsd). For well known references it is not required that the CRS description exists at the
116                                location the URI points to. If no srsName attribute is given, the CRS must be specified as part of the larger context this
117                                geometry element is part of, e.g. a geometric element like point, curve, etc. It is expected that this attribute will be specified
118                                at the direct position level only in rare cases.</documentation>
119                        </annotation>
120                </attribute>
121                <attribute name="srsDimension" type="positiveInteger" use="optional">
122                        <annotation>
123                                <documentation>The "srsDimension" is the length of coordinate sequence (the number of entries in the list). This dimension is
124                                specified by the coordinate reference system. When the srsName attribute is omitted, this attribute shall be omitted.</documentation>
125                        </annotation>
126                </attribute>
127                <attributeGroup ref="gml:SRSInformationGroup"/>
128        </attributeGroup>
129        <!-- =================================================== -->
130        <attributeGroup name="SRSInformationGroup">
131                <annotation>
132                        <documentation>Optional additional and redundant information for a CRS to simplify use when a more complete definition of the
133                        CRS is not needed. This information shall be the same as included in the more complete definition of the CRS, referenced by the
134                        srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes
135                        shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted.</documentation>
136                </annotation>
137                <attribute name="axisLabels" type="gml:NCNameList" use="optional">
138                        <annotation>
139                                <documentation>Ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis
140                                labels, after spaces and forbiddden characters are removed. When the srsName attribute is included, this attribute is optional.
141                                When the srsName attribute is omitted, this attribute shall also be omitted.</documentation>
142                        </annotation>
143                </attribute>
144                <attribute name="uomLabels" type="gml:NCNameList" use="optional">
145                        <annotation>
146                                <documentation>Ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the
147                                gml:catalogSymbol should be used for this uom labels, after spaces and forbiddden characters are removed. When the
148                                axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute
149                                shall also be omitted.</documentation>
150                        </annotation>
151                </attribute>
152        </attributeGroup>
153        <!-- ============================================================== -->
154        <element name="_GeometricPrimitive" type="gml:AbstractGeometricPrimitiveType" abstract="true" substitutionGroup="gml:_Geometry">
155                <annotation>
156                        <documentation>The "_GeometricPrimitive" element is the abstract head of the substituition group for all (pre- and user-defined)
157                        geometric primitives.</documentation>
158                </annotation>
159        </element>
160        <!-- ============================================================== -->
161        <complexType name="AbstractGeometricPrimitiveType" abstract="true">
162                <annotation>
163                        <documentation>This is the abstract root type of the geometric primitives. A geometric primitive is a geometric object that is not
164                        decomposed further into other primitives in the system. All primitives are oriented in the direction implied by the sequence of their
165                        coordinate tuples.</documentation>
166                </annotation>
167                <complexContent>
168                        <extension base="gml:AbstractGeometryType"/>
169                </complexContent>
170        </complexType>
171        <!-- ============================================================== -->
172        <complexType name="GeometricPrimitivePropertyType">
173                <annotation>
174                        <documentation>A property that has a geometric primitive as its value domain can either be an appropriate geometry element
175                        encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry
176                        elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither
177                        both nor none.</documentation>
178                </annotation>
179                <sequence minOccurs="0">
180                        <element ref="gml:_GeometricPrimitive"/>
181                </sequence>
182                <attributeGroup ref="gml:AssociationAttributeGroup">
183                        <annotation>
184                                <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
185                                resources (including those elsewhere in the same document). A simple link element can be constructed by including a
186                                specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide
187                                Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between
188                                resources; such links can be used to reference remote properties. A simple link element can be used to implement pointer
189                                functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
190                        </annotation>
191                </attributeGroup>
192        </complexType>
193        <!-- =========================================================== -->
194        <!-- primitive geometry objects (0-dimensional) -->
195        <!-- ============================================================== -->
196        <element name="Point" type="gml:PointType" substitutionGroup="gml:_GeometricPrimitive"/>
197        <!-- ============================================================== -->
198        <complexType name="PointType">
199                <annotation>
200                        <documentation>A Point is defined by a single coordinate tuple.</documentation>
201                </annotation>
202                <complexContent>
203                        <extension base="gml:AbstractGeometricPrimitiveType">
204                                <sequence>
205                                        <choice>
206                                                <annotation>
207                                                        <documentation>GML supports two different ways to specify the direct poisiton of a point. 1. The "pos" element is of type
208                                                        DirectPositionType.</documentation>
209                                                </annotation>
210                                                <element ref="gml:pos"/>
211                                                <element ref="gml:coordinates">
212                                                        <annotation>
213                                                                <documentation>Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers. Use "pos"
214                                                                instead. The "coordinates" element shall only be used for coordinates with ordinates that require a string
215                                                                representation, e.g. DMS representations.</documentation>
216                                                        </annotation>
217                                                </element>
218                                                <element ref="gml:coord">
219                                                        <annotation>
220                                                                <documentation>Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for
221                                                                backwards compatibility with GML 2.</documentation>
222                                                        </annotation>
223                                                </element>
224                                        </choice>
225                                </sequence>
226                        </extension>
227                </complexContent>
228        </complexType>
229        <!-- ============================================================== -->
230        <element name="pointProperty" type="gml:PointPropertyType">
231                <annotation>
232                        <appinfo>
233                                <sch:pattern name="Check either href or content not both">
234                                        <sch:rule context="gml:pointProperty">
235                                                <sch:extends rule="hrefOrContent"/>
236                                        </sch:rule>
237                                </sch:pattern>
238                        </appinfo>
239                        <documentation>This property element either references a point via the XLink-attributes or contains the point element. pointProperty
240                        is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that
241                        is substitutable for Point.</documentation>
242                </annotation>
243        </element>
244        <!-- ============================================================== -->
245        <element name="pointRep" type="gml:PointPropertyType">
246                <annotation>
247                        <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
248                </annotation>
249        </element>
250        <!-- ============================================================== -->
251        <complexType name="PointPropertyType">
252                <annotation>
253                        <documentation>A property that has a point as its value domain can either be an appropriate geometry element encapsulated in an
254                        element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located
255                        elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
256                </annotation>
257                <sequence minOccurs="0">
258                        <element ref="gml:Point"/>
259                </sequence>
260                <attributeGroup ref="gml:AssociationAttributeGroup">
261                        <annotation>
262                                <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
263                                resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific
264                                set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium.
265                                XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be
266                                used to reference remote properties. A simple link element can be used to implement pointer functionality, and this functionality has
267                                been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
268                        </annotation>
269                </attributeGroup>
270        </complexType>
271        <!-- ============================================================== -->
272        <element name="pointArrayProperty" type="gml:PointArrayPropertyType"/>
273        <!-- =========================================================== -->
274        <complexType name="PointArrayPropertyType">
275                <annotation>
276                        <documentation>A container for an array of points. The elements are always contained in the array property, referencing geometry
277                        elements or arrays of geometry elements is not supported.</documentation>
278                </annotation>
279                <sequence>
280                        <element ref="gml:Point" minOccurs="0" maxOccurs="unbounded"/>
281                </sequence>
282        </complexType>
283        <!-- =========================================================== -->
284        <!-- primitive geometry objects (1-dimensional) -->
285        <!-- ============================================================== -->
286        <element name="_Curve" type="gml:AbstractCurveType" abstract="true" substitutionGroup="gml:_GeometricPrimitive">
287                <annotation>
288                        <documentation>The "_Curve" element is the abstract head of the substituition group for all (continuous) curve elements.</documentation>
289                </annotation>
290        </element>
291        <!-- ============================================================== -->
292        <complexType name="AbstractCurveType" abstract="true">
293                <annotation>
294                        <documentation>An abstraction of a curve to support the different levels of complexity. The curve can always be viewed as a geometric
295                        primitive, i.e. is continuous.</documentation>
296                </annotation>
297                <complexContent>
298                        <extension base="gml:AbstractGeometricPrimitiveType"/>
299                </complexContent>
300        </complexType>
301        <!-- ============================================================== -->
302        <element name="curveProperty" type="gml:CurvePropertyType">
303                <annotation>
304                        <appinfo>
305                                <sch:pattern name="Check either href or content not both">
306                                        <sch:rule context="gml:curveProperty">
307                                                <sch:extends rule="hrefOrContent"/>
308                                        </sch:rule>
309                                </sch:pattern>
310                        </appinfo>
311                        <documentation>This property element either references a curve via the XLink-attributes or contains the curve element. curveProperty is the
312                        predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is
313                        substitutable for _Curve.</documentation>
314                </annotation>
315        </element>
316        <!-- ============================================================== -->
317        <complexType name="CurvePropertyType">
318                <annotation>
319                        <documentation>A property that has a curve as its value domain can either be an appropriate geometry element encapsulated in an
320                        element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere
321                        in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
322                </annotation>
323                <sequence minOccurs="0">
324                        <element ref="gml:_Curve"/>
325                </sequence>
326                <attributeGroup ref="gml:AssociationAttributeGroup">
327                        <annotation>
328                                <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
329                                resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific
330                                set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium.
331                                XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used
332                                to reference remote properties. A simple link element can be used to implement pointer functionality, and this functionality has been built
333                                into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
334                        </annotation>
335                </attributeGroup>
336        </complexType>
337        <!-- ============================================================== -->
338        <element name="curveArrayProperty" type="gml:CurveArrayPropertyType"/>
339        <!-- =========================================================== -->
340        <complexType name="CurveArrayPropertyType">
341                <annotation>
342                        <documentation>A container for an array of curves. The elements are always contained in the array property, referencing geometry elements
343                        or arrays of geometry elements is not supported.</documentation>
344                </annotation>
345                <sequence>
346                        <element ref="gml:_Curve" minOccurs="0" maxOccurs="unbounded"/>
347                </sequence>
348        </complexType>
349        <!-- =========================================================== -->
350        <element name="LineString" type="gml:LineStringType" substitutionGroup="gml:_Curve"/>
351        <!-- =========================================================== -->
352        <complexType name="LineStringType">
353                <annotation>
354                        <documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate
355                        tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is
356                        implemented by LineStringSegment.</documentation>
357                </annotation>
358                <complexContent>
359                        <extension base="gml:AbstractCurveType">
360                                <sequence>
361                                        <choice>
362                                                <annotation>
363                                                        <documentation>GML supports two different ways to specify the control points of a line string. 1. A sequence of "pos"
364                                                        (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part
365                                                        of this curve, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference
366                                                        another point defined outside of this curve (reuse of existing points). 2. The "posList" element allows for a compact way to
367                                                        specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong
368                                                        to this curve only. The number of direct positions in the list must be at least two.</documentation>
369                                                </annotation>
370                                                <choice minOccurs="2" maxOccurs="unbounded">
371                                                        <element ref="gml:pos"/>
372                                                        <element ref="gml:pointProperty"/>
373                                                        <element ref="gml:pointRep">
374                                                                <annotation>
375                                                                        <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility
376                                                                        with GML 3.0.0.</documentation>
377                                                                </annotation>
378                                                        </element>
379                                                        <element ref="gml:coord">
380                                                                <annotation>
381                                                                        <documentation>Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards
382                                                                        compatibility with GML 2.</documentation>
383                                                                </annotation>
384                                                        </element>
385                                                </choice>
386                                                <element ref="gml:posList"/>
387                                                <element ref="gml:coordinates">
388                                                        <annotation>
389                                                                <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
390                                                        </annotation>
391                                                </element>
392                                        </choice>
393                                </sequence>
394                        </extension>
395                </complexContent>
396        </complexType>
397        <!-- ============================================================== -->
398        <!-- positions -->
399        <!-- =========================================================== -->
400        <element name="pos" type="gml:DirectPositionType">
401                <annotation>
402                        <appinfo>
403                                <sch:pattern name="Check SRS tags">
404                                        <sch:rule context="gml:pos">
405                                                <sch:extends rule="CRSLabels"/>
406                                        </sch:rule>
407                                </sch:pattern>
408                        </appinfo>
409                </annotation>
410        </element>
411        <!-- ============================================================== -->
412        <complexType name="DirectPositionType">
413                <annotation>
414                        <documentation>DirectPosition instances hold the coordinates for a position within some coordinate reference system (CRS). Since
415                        DirectPositions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the
416                        "srsName" attribute will in general be missing, if this particular DirectPosition is included in a larger element with such a reference to a
417                        CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.</documentation>
418                </annotation>
419                <simpleContent>
420                        <extension base="gml:doubleList">
421                                <attributeGroup ref="gml:SRSReferenceGroup"/>
422                        </extension>
423                </simpleContent>
424        </complexType>
425        <!-- =========================================================== -->
426        <element name="posList" type="gml:DirectPositionListType">
427                <annotation>
428                        <appinfo>
429                                <sch:pattern name="Check SRS tags">
430                                        <sch:rule context="gml:posList">
431                                                <sch:extends rule="CRSLabels"/>
432                                        </sch:rule>
433                                </sch:pattern>
434                        </appinfo>
435                        <appinfo>
436                                <sch:pattern name="Check Dimension">
437                                        <sch:rule context="gml:posList">
438                                                <sch:extends rule="Count"/>
439                                        </sch:rule>
440                                </sch:pattern>
441                        </appinfo>
442                </annotation>
443        </element>
444        <!-- ============================================================== -->
445        <complexType name="DirectPositionListType">
446                <annotation>
447                        <documentation>DirectPositionList instances hold the coordinates for a sequence of direct positions within the same coordinate
448                        reference system (CRS).</documentation>
449                </annotation>
450                <simpleContent>
451                        <extension base="gml:doubleList">
452                                <attributeGroup ref="gml:SRSReferenceGroup"/>
453                                <attribute name="count" type="positiveInteger" use="optional">
454                                        <annotation>
455                                                <documentation>"count" allows to specify the number of direct positions in the list. If the attribute count is present then
456                                                the attribute srsDimension shall be present, too.</documentation>
457                                        </annotation>
458                                </attribute>
459                        </extension>
460                </simpleContent>
461        </complexType>
462        <!-- ============================================================== -->
463        <element name="vector" type="gml:VectorType">
464                <annotation>
465                        <appinfo>
466                                <sch:pattern name="Check SRS tags">
467                                        <sch:rule context="gml:vector">
468                                                <sch:extends rule="CRSLabels"/>
469                                        </sch:rule>
470                                </sch:pattern>
471                        </appinfo>
472                </annotation>
473        </element>
474        <!-- ============================================================== -->
475        <complexType name="VectorType">
476                <annotation>
477                        <documentation>Vector instances hold the compoents for a (usually spatial) vector within some coordinate reference system (CRS).
478                        Since Vectors will often be included in larger objects that have references to CRS, the "srsName" attribute may be missing.
479                        In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.
480
481                        Note that this content model is the same as DirectPositionType, but is defined separately to reflect the distinct semantics, and to avoid validation problems. SJDC 2004-12-02</documentation>
482                </annotation>
483                <simpleContent>
484                        <extension base="gml:doubleList">
485                                <attributeGroup ref="gml:SRSReferenceGroup"/>
486                        </extension>
487                </simpleContent>
488        </complexType>
489        <!-- ============================================================== -->
490        <group name="geometricPositionGroup">
491                <annotation>
492                        <documentation>A geometric position represented either by a DirectPosition or a Point.</documentation>
493                </annotation>
494                <choice>
495                        <element ref="gml:pos"/>
496                        <element ref="gml:pointProperty"/>
497                </choice>
498        </group>
499        <!-- ============================================================== -->
500        <group name="geometricPositionListGroup">
501                <annotation>
502                        <documentation>A list of geometric positions represented either by a DirectPosition or a Point.</documentation>
503                </annotation>
504                <choice>
505                        <element ref="gml:posList"/>
506                        <group ref="gml:geometricPositionGroup" maxOccurs="unbounded"/>
507                </choice>
508        </group>
509        <!-- ============================================================== -->
510        <element name="coordinates" type="gml:CoordinatesType">
511                <annotation>
512                        <documentation>Deprecated with GML version 3.1.0.</documentation>
513                </annotation>
514        </element>
515        <!-- =========================================================== -->
516        <!-- Envelope -->
517        <!-- =========================================================== -->
518        <element name="Envelope" type="gml:EnvelopeType"/>
519        <!-- =========================================================== -->
520        <complexType name="EnvelopeType">
521                <annotation>
522                        <documentation>Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct
523                        position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope),
524                        the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the
525                        envelope).</documentation>
526                </annotation>
527                <choice>
528                        <sequence>
529                                <element name="lowerCorner" type="gml:DirectPositionType"/>
530                                <element name="upperCorner" type="gml:DirectPositionType"/>
531                        </sequence>
532                        <element ref="gml:coord" minOccurs="2" maxOccurs="2">
533                                <annotation>
534                                        <appinfo>deprecated</appinfo>
535                                        <documentation>deprecated with GML version 3.0</documentation>
536                                </annotation>
537                        </element>
538                        <element ref="gml:pos" minOccurs="2" maxOccurs="2">
539                                <annotation>
540                                        <appinfo>deprecated</appinfo>
541                                        <documentation>Deprecated with GML version 3.1. Use the explicit properties "lowerCorner" and "upperCorner" instead.</documentation>
542                                </annotation>
543                        </element>
544                        <element ref="gml:coordinates">
545                                <annotation>
546                                        <documentation>Deprecated with GML version 3.1.0. Use the explicit properties "lowerCorner" and "upperCorner" instead.</documentation>
547                                </annotation>
548                        </element>
549                </choice>
550                <attributeGroup ref="gml:SRSReferenceGroup"/>
551        </complexType>
552        <!-- =========================================================== -->
553        <!-- =========================================================== -->
554        <!-- =========================================================== -->
555        <!--            The following types and elements are deprecated and should not be used !                -->
556        <element name="coord" type="gml:CoordType">
557                <annotation>
558                        <documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "pos" element instead.</documentation>
559                </annotation>
560        </element>
561        <complexType name="CoordType">
562                <annotation>
563                        <documentation>Represents a coordinate tuple in one, two, or three dimensions. Deprecated with GML 3.0 and replaced by
564                        DirectPositionType.</documentation>
565                </annotation>
566                <sequence>
567                        <element name="X" type="decimal"/>
568                        <element name="Y" type="decimal" minOccurs="0"/>
569                        <element name="Z" type="decimal" minOccurs="0"/>
570                </sequence>
571        </complexType>
572        <!-- =========================================================== -->
573        <element name="lineStringProperty" type="gml:LineStringPropertyType">
574                <annotation>
575                        <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveProperty" instead. This
576                        property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
577                </annotation>
578        </element>
579        <!-- =========================================================== -->
580        <complexType name="LineStringPropertyType">
581                <annotation>
582                        <documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use
583                        CurvePropertyType instead. A property that has a line string as its value domain can either be an appropriate geometry element encapsulated
584                        in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere
585                        in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
586                </annotation>
587                <sequence minOccurs="0">
588                        <element ref="gml:LineString"/>
589                </sequence>
590                <attributeGroup ref="gml:AssociationAttributeGroup">
591                        <annotation>
592                                <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources
593                                (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes.
594                                The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to
595                                be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
596                                A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by
597                                including the gml:AssociationAttributeGroup.</documentation>
598                        </annotation>
599                </attributeGroup>
600        </complexType>
601        <!-- =========================================================== -->
602</schema>
Note: See TracBrowser for help on using the repository browser.