summaryrefslogtreecommitdiffstats
path: root/petascope/xml
diff options
context:
space:
mode:
authorConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
committerConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
commit40e12c6af9d05c3413efaf535c35c625b736cbb9 (patch)
tree6a9f6b86b55724e659ca270171496d82362de9cc /petascope/xml
parentfcda34adb1c78d0929778e1324c873552d21ee1d (diff)
downloadrasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.gz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.xz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.zip
preparing for joining with rasdaman open source
Diffstat (limited to 'petascope/xml')
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/ReadMe.txt9
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/basicTypes.xsd276
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/coordinateOperations.xsd784
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/coordinateReferenceSystems.xsd425
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/coordinateSystems.xsd404
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/coverage.xsd448
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/dataQuality.xsd125
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/datums.xsd480
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/defaultStyle.xsd450
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/dictionary.xsd134
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/direction.xsd69
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/dynamicFeature.xsd112
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/feature.xsd196
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/geometryAggregates.xsd427
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/geometryBasic0d1d.xsd599
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/geometryBasic2d.xsd210
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/geometryComplexes.xsd138
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/geometryPrimitives.xsd1606
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/gml.xsd19
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/gmlBase.xsd290
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/grids.xsd74
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/measures.xsd196
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/observation.xsd93
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/referenceSystems.xsd207
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/temporal.xsd329
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/temporalReferenceSystems.xsd248
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/temporalTopology.xsd183
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/topology.xsd458
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/units.xsd167
-rw-r--r--petascope/xml/ogc/gml/3.1.1/base/valueObjects.xsd358
-rw-r--r--petascope/xml/ogc/gml/3.1.1/readme.txt50
-rw-r--r--petascope/xml/ogc/gml/3.1.1/smil/smil20-language.xsd117
-rw-r--r--petascope/xml/ogc/gml/3.1.1/smil/smil20.xsd234
-rw-r--r--petascope/xml/ogc/gml/3.1.1/smil/xml-mod.xsd39
-rw-r--r--petascope/xml/ogc/gml/ReadMe.txt27
-rw-r--r--petascope/xml/ogc/wcps/1.0.0/wcpsAll.xsd24
-rw-r--r--petascope/xml/ogc/wcps/1.0.0/wcpsProcessCoverages.xsd582
-rw-r--r--petascope/xml/ogc/wcs/1.1.0/wcsCommon.xsd83
-rw-r--r--petascope/xml/ogc/wcst/1.1.4/wcstActions.xml1
-rw-r--r--petascope/xml/ogc/wcst/1.1.4/wcstTransaction.xsd148
-rw-r--r--petascope/xml/ogc/xlink/1.0.0/ReadMe.txt6
-rw-r--r--petascope/xml/ogc/xlink/1.0.0/xlinks.xsd122
42 files changed, 10947 insertions, 0 deletions
diff --git a/petascope/xml/ogc/gml/3.1.1/base/ReadMe.txt b/petascope/xml/ogc/gml/3.1.1/base/ReadMe.txt
new file mode 100644
index 0000000..97fc026
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/ReadMe.txt
@@ -0,0 +1,9 @@
+This set of XML Schema Documents for GML Version 3.1.1 has been edited
+to reflect the corrigendum to documents 0GC 03-105r1 and OGC 04-092r4
+that is based on the change requests:
+OGC 05-068r1 "Store xlinks.xsd file at a fixed location"
+OGC 05-081r2 "Change to use relative paths"
+OGC 05-105 "Remove description and copyright tags from XML schema documents"
+
+Arliss Whiteside, 2005-11-22
+
diff --git a/petascope/xml/ogc/gml/3.1.1/base/basicTypes.xsd b/petascope/xml/ogc/gml/3.1.1/base/basicTypes.xsd
new file mode 100644
index 0000000..75805c2
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/basicTypes.xsd
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:basicTypes:3.1.1">basicTypes.xsd</appinfo>
+ <documentation>
+ Generic simpleContent components for use in GML
+ Copyright (c) 2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ </documentation>
+ </annotation>
+ <!-- =========================================================== -->
+ <simpleType name="NullEnumeration">
+ <annotation>
+ <documentation> Some common reasons for a null value:
+
+ innapplicable - the object does not have a value
+ missing - The correct value is not readily available to the sender of this data.
+ Furthermore, a correct value may not exist.
+ template - the value will be available later
+ unknown - The correct value is not known to, and not computable by, the sender of this data.
+ However, a correct value probably exists.
+ withheld - the value is not divulged
+
+ other:reason - as indicated by "reason" string
+
+ Specific communities may agree to assign more strict semantics when these terms are used in a particular context.
+ </documentation>
+ </annotation>
+ <union>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="inapplicable"/>
+ <enumeration value="missing"/>
+ <enumeration value="template"/>
+ <enumeration value="unknown"/>
+ <enumeration value="withheld"/>
+ </restriction>
+ </simpleType>
+ <simpleType>
+ <restriction base="string">
+ <pattern value="other:\w{2,}"/>
+ </restriction>
+ </simpleType>
+ </union>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="NullType">
+ <annotation>
+ <documentation>Utility type for null elements. The value may be selected from one of the enumerated tokens, or may be a URI in which case this should identify a resource which describes the reason for the null. </documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <element name="Null" type="gml:NullType"/>
+ <!-- ===================================================== -->
+ <simpleType name="SignType">
+ <annotation>
+ <documentation>Utility type used in various places
+ - e.g. to indicate the direction of topological objects;
+ "+" for forwards, or "-" for backwards.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="-"/>
+ <enumeration value="+"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="booleanOrNull">
+ <annotation>
+ <documentation>Union of the XML Schema boolean type and the GML Nulltype. An element which uses this type may have content which is either a boolean {0,1,true,false} or a value from Nulltype</documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration boolean anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="booleanOrNullList">
+ <annotation>
+ <documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of boolean values {0,1,true,false} with null values interspersed as needed</documentation>
+ </annotation>
+ <list itemType="gml:booleanOrNull"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="booleanList">
+ <annotation>
+ <documentation>XML List based on XML Schema boolean type. An element of this type contains a space-separated list of boolean values {0,1,true,false}</documentation>
+ </annotation>
+ <list itemType="boolean"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="stringOrNull">
+ <annotation>
+ <documentation>Union of the XML Schema string type and the GML Nulltype. An element which uses this type may have content which is either a string or a value from Nulltype. Note that a "string" may contain whitespace. </documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration string anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="NameOrNull">
+ <annotation>
+ <documentation>Union of the XML Schema Name type and the GML Nulltype. An element which uses this type may have content which is either a Name or a value from Nulltype. Note that a "Name" may not contain whitespace. </documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration Name anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="NameOrNullList">
+ <annotation>
+ <documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of Name values with null values interspersed as needed</documentation>
+ </annotation>
+ <list itemType="gml:NameOrNull"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="NameList">
+ <annotation>
+ <documentation>XML List based on XML Schema Name type. An element of this type contains a space-separated list of Name values</documentation>
+ </annotation>
+ <list itemType="Name"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="doubleOrNull">
+ <annotation>
+ <documentation>Union of the XML Schema double type and the GML Nulltype. An element which uses this type may have content which is either a double or a value from Nulltype</documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration double anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="doubleOrNullList">
+ <annotation>
+ <documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of double values with null values interspersed as needed</documentation>
+ </annotation>
+ <list itemType="gml:doubleOrNull"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="doubleList">
+ <annotation>
+ <documentation>XML List based on XML Schema double type. An element of this type contains a space-separated list of double values</documentation>
+ </annotation>
+ <list itemType="double"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="integerOrNull">
+ <annotation>
+ <documentation>Union of the XML Schema integer type and the GML Nulltype. An element which uses this type may have content which is either an integer or a value from Nulltype</documentation>
+ </annotation>
+ <union memberTypes="gml:NullEnumeration integer anyURI"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="integerOrNullList">
+ <annotation>
+ <documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of integer values with null values interspersed as needed</documentation>
+ </annotation>
+ <list itemType="gml:integerOrNull"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="integerList">
+ <annotation>
+ <documentation>XML List based on XML Schema integer type. An element of this type contains a space-separated list of integer values</documentation>
+ </annotation>
+ <list itemType="integer"/>
+ </simpleType>
+ <!-- =========================================================== -->
+ <complexType name="CodeType">
+ <annotation>
+ <documentation>Name or code with an (optional) authority. Text token.
+ If the codeSpace attribute is present, then its value should identify a dictionary, thesaurus
+ or authority for the term, such as the organisation who assigned the value,
+ or the dictionary from which it is taken.
+ A text string with an optional codeSpace attribute. </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="string">
+ <attribute name="codeSpace" type="anyURI" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="CodeListType">
+ <annotation>
+ <documentation>List of values on a uniform nominal scale. List of text tokens.
+ In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.
+ If a codeSpace attribute is present, then its value is a reference to
+ a Reference System for the value, a dictionary or code list.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:NameList">
+ <attribute name="codeSpace" type="anyURI" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="CodeOrNullListType">
+ <annotation>
+ <documentation>List of values on a uniform nominal scale. List of text tokens.
+ In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.
+ A member of the list may be a typed null.
+ If a codeSpace attribute is present, then its value is a reference to
+ a Reference System for the value, a dictionary or code list.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:NameOrNullList">
+ <attribute name="codeSpace" type="anyURI" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MeasureType">
+ <annotation>
+ <documentation>Number with a scale.
+ The value of uom (Units Of Measure) attribute is a reference to a Reference System for the amount, either a ratio or position scale. </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="double">
+ <attribute name="uom" type="anyURI" use="required"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MeasureListType">
+ <annotation>
+ <documentation>List of numbers with a uniform scale.
+ The value of uom (Units Of Measure) attribute is a reference to
+ a Reference System for the amount, either a ratio or position scale. </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:doubleList">
+ <attribute name="uom" type="anyURI" use="required"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MeasureOrNullListType">
+ <annotation>
+ <documentation>List of numbers with a uniform scale.
+ A member of the list may be a typed null.
+ The value of uom (Units Of Measure) attribute is a reference to
+ a Reference System for the amount, either a ratio or position scale. </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:doubleOrNullList">
+ <attribute name="uom" type="anyURI" use="required"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="CoordinatesType">
+ <annotation>
+ <documentation>Tables or arrays of tuples.
+ May be used for text-encoding of values from a table.
+ Actually just a string, but allows the user to indicate which characters are used as separators.
+ The value of the 'cs' attribute is the separator for coordinate values,
+ and the value of the 'ts' attribute gives the tuple separator (a single space by default);
+ the default values may be changed to reflect local usage.
+ Defaults to CSV within a tuple, space between tuples.
+ However, any string content will be schema-valid. </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="string">
+ <attribute name="decimal" type="string" default="."/>
+ <attribute name="cs" type="string" default=","/>
+ <attribute name="ts" type="string" default="&#x20;"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="NCNameList">
+ <annotation>
+ <documentation>A set of values, representing a list of token with the lexical value space of NCName. The tokens are seperated by whitespace.</documentation>
+ </annotation>
+ <list itemType="NCName"/>
+ </simpleType>
+ <!-- ============================================================== -->
+ <simpleType name="QNameList">
+ <annotation>
+ <documentation>A set of values, representing a list of token with the lexical value space of QName. The tokens are seperated by whitespace.</documentation>
+ </annotation>
+ <list itemType="QName"/>
+ </simpleType>
+ <!-- ============================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/coordinateOperations.xsd b/petascope/xml/ogc/gml/3.1.1/base/coordinateOperations.xsd
new file mode 100644
index 0000000..d659e25
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/coordinateOperations.xsd
@@ -0,0 +1,784 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:coordinateOperations:3.1.1"/>
+ <documentation>How to encode coordinate operation definitions. Builds on referenceSystems.xsd to encode the data needed to define coordinate operations, including Transformations, Conversions, and other specific subtypes of operations.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Coordinate Operation (CC_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. </documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="referenceSystems.xsd"/>
+ <include schemaLocation="dataQuality.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="_CoordinateOperation" type="gml:AbstractCoordinateOperationType" abstract="true" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractCoordinateOperationBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for coordinate operation objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:coordinateOperationName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="coordinateOperationName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this coordinate operation is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="AbstractCoordinateOperationType" abstract="true">
+ <annotation>
+ <documentation>A mathematical operation on coordinates that transforms or converts coordinates to another coordinate reference system. Many but not all coordinate operations (from CRS A to CRS B) also uniquely define the inverse operation (from CRS B to CRS A). In some cases, the operation method algorithm for the inverse operation is the same as for the forward algorithm, but the signs of some operation parameter values must be reversed. In other cases, different algorithms are required for the forward and inverse operations, but the same operation parameter values are used. If (some) entirely different parameter values are needed, a different coordinate operation shall be defined.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateOperationBaseType">
+ <sequence>
+ <element ref="gml:coordinateOperationID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this coordinate operation. The first coordinateOperationID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this coordinate operation, including source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:operationVersion" minOccurs="0"/>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ <element ref="gml:_positionalAccuracy" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered set of estimates of the impact of this coordinate operation on point position accuracy. Gives position error estimates for target coordinates of this coordinate operation, assuming no errors in source coordinates. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:sourceCRS" minOccurs="0"/>
+ <element ref="gml:targetCRS" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="coordinateOperationID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a coordinate operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="operationVersion" type="string">
+ <annotation>
+ <documentation>Version of the coordinate transformation (i.e., instantiation due to the stochastic nature of the parameters). Mandatory when describing a transformation, and should not be supplied for a conversion. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="sourceCRS" type="gml:CRSRefType">
+ <annotation>
+ <documentation>Association to the source CRS (coordinate reference system) of this coordinate operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="targetCRS" type="gml:CRSRefType">
+ <annotation>
+ <documentation>Association to the target CRS (coordinate reference system) of this coordinate operation. For constraints on multiplicity of "sourceCRS" and "targetCRS", see UML model of Coordinate Operation package in OGC Abstract Specification topic 2. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="coordinateOperationRef" type="gml:CoordinateOperationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CoordinateOperationRefType">
+ <annotation>
+ <documentation>Association to a coordinate operation, either referencing or containing the definition of that coordinate operation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_CoordinateOperation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ConcatenatedOperation" type="gml:ConcatenatedOperationType" substitutionGroup="gml:_CoordinateOperation"/>
+ <!-- =================================================== -->
+ <complexType name="ConcatenatedOperationType">
+ <annotation>
+ <documentation>An ordered sequence of two or more single coordinate operations. The sequence of operations is constrained by the requirement that the source coordinate reference system of step (n+1) must be the same as the target coordinate reference system of step (n). The source coordinate reference system of the first step and the target coordinate reference system of the last step are the source and target coordinate reference system associated with the concatenated operation. Instead of a forward operation, an inverse operation may be used for one or more of the operation steps mentioned above, if the inverse operation is uniquely defined by the forward operation.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateOperationType">
+ <sequence>
+ <element ref="gml:usesSingleOperation" minOccurs="2" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Ordered sequence of associations to the two or more single operations used by this concatenated operation. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesSingleOperation" type="gml:SingleOperationRefType">
+ <annotation>
+ <documentation>Association to a single operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="concatenatedOperationRef" type="gml:ConcatenatedOperationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ConcatenatedOperationRefType">
+ <annotation>
+ <documentation>Association to a concatenated operation, either referencing or containing the definition of that concatenated operation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:ConcatenatedOperation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="_SingleOperation" type="gml:AbstractCoordinateOperationType" abstract="true" substitutionGroup="gml:_CoordinateOperation">
+ <annotation>
+ <documentation>A single (not concatenated) coordinate operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="singleOperationRef" type="gml:SingleOperationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="SingleOperationRefType">
+ <annotation>
+ <documentation>Association to a single operation, either referencing or containing the definition of that single operation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_SingleOperation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="PassThroughOperation" type="gml:PassThroughOperationType" substitutionGroup="gml:_SingleOperation"/>
+ <!-- =================================================== -->
+ <complexType name="PassThroughOperationType">
+ <annotation>
+ <documentation>A pass-through operation specifies that a subset of a coordinate tuple is subject to a specific coordinate operation. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateOperationType">
+ <sequence>
+ <element ref="gml:modifiedCoordinate" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Ordered sequence of positive integers defining the positions in a coordinate tuple of the coordinates affected by this pass-through operation. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:usesOperation"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="modifiedCoordinate" type="positiveInteger">
+ <annotation>
+ <documentation>A positive integer defining a position in a coordinate tuple. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesOperation" type="gml:OperationRefType">
+ <annotation>
+ <documentation>Association to the operation applied to the specified ordinates. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="passThroughOperationRef" type="gml:PassThroughOperationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="PassThroughOperationRefType">
+ <annotation>
+ <documentation>Association to a pass through operation, either referencing or containing the definition of that pass through operation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:PassThroughOperation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="_Operation" type="gml:AbstractCoordinateOperationType" abstract="true" substitutionGroup="gml:_SingleOperation">
+ <annotation>
+ <documentation>A parameterized mathematical operation on coordinates that transforms or converts coordinates to another coordinate reference system. This coordinate operation uses an operation method, usually with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type.
+
+This abstract complexType shall not be directly used, extended, or restricted in a compliant Application Schema. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="operationRef" type="gml:OperationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="OperationRefType">
+ <annotation>
+ <documentation>Association to an abstract operation, either referencing or containing the definition of that operation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Operation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="_GeneralConversion" type="gml:AbstractGeneralConversionType" abstract="true" substitutionGroup="gml:_Operation"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralConversionType" abstract="true">
+ <annotation>
+ <documentation>An abstract operation on coordinates that does not include any change of datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters.
+
+This abstract complexType is expected to be extended for well-known operation methods with many Conversion instances, in Application Schemas that define operation-method-specialized element names and contents. This conversion uses an operation method, usually with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references the "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include zero or more elements each named "uses...Value" that each use the type of an element substitutable for the "_generalParameterValue" element. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractCoordinateOperationType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:coordinateOperationName"/>
+ <element ref="gml:coordinateOperationID" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:remarks" minOccurs="0"/>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ <element ref="gml:_positionalAccuracy" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="generalConversionRef" type="gml:GeneralConversionRefType"/>
+ <!-- =================================================== -->
+ <complexType name="GeneralConversionRefType">
+ <annotation>
+ <documentation>Association to a general conversion, either referencing or containing the definition of that conversion. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_GeneralConversion"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="Conversion" type="gml:ConversionType" substitutionGroup="gml:_GeneralConversion"/>
+ <!-- =================================================== -->
+ <complexType name="ConversionType">
+ <annotation>
+ <documentation>A concrete operation on coordinates that does not include any change of Datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters.
+
+This concrete complexType can be used with all operation methods, without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Conversion instance. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralConversionType">
+ <sequence>
+ <element ref="gml:usesMethod"/>
+ <element ref="gml:usesValue" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of composition associations to the set of parameter values used by this conversion operation. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesMethod" type="gml:OperationMethodRefType">
+ <annotation>
+ <documentation>Association to the operation method used by this coordinate operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesValue" type="gml:ParameterValueType">
+ <annotation>
+ <documentation>Composition association to a parameter value used by this coordinate operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="conversionRef" type="gml:ConversionRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ConversionRefType">
+ <annotation>
+ <documentation>Association to a concrete general-purpose conversion, either referencing or containing the definition of that conversion. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Conversion"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="_GeneralTransformation" type="gml:AbstractGeneralTransformationType" abstract="true" substitutionGroup="gml:_Operation"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralTransformationType" abstract="true">
+ <annotation>
+ <documentation>An abstract operation on coordinates that usually includes a change of Datum. The parameters of a coordinate transformation are empirically derived from data containing the coordinates of a series of points in both coordinate reference systems. This computational process is usually "over-determined", allowing derivation of error (or accuracy) estimates for the transformation. Also, the stochastic nature of the parameters may result in multiple (different) versions of the same coordinate transformation.
+
+This abstract complexType is expected to be extended for well-known operation methods with many Transformation instances, in Application Schemas that define operation-method-specialized value element names and contents. This transformation uses an operation method with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references one "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include one or more elements each named "uses...Value" that each use the type of an element substitutable for the "_generalParameterValue" element. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractCoordinateOperationType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:coordinateOperationName"/>
+ <element ref="gml:coordinateOperationID" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:remarks" minOccurs="0"/>
+ <element ref="gml:operationVersion"/>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ <element ref="gml:_positionalAccuracy" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:sourceCRS"/>
+ <element ref="gml:targetCRS"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="generalTransformationRef" type="gml:GeneralTransformationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="GeneralTransformationRefType">
+ <annotation>
+ <documentation>Association to a general transformation, either referencing or containing the definition of that transformation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_GeneralTransformation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="Transformation" type="gml:TransformationType" substitutionGroup="gml:_GeneralTransformation"/>
+ <!-- =================================================== -->
+ <complexType name="TransformationType">
+ <annotation>
+ <documentation>A concrete operation on coordinates that usually includes a change of datum. The parameters of a coordinate transformation are empirically derived from data containing the coordinates of a series of points in both coordinate reference systems. This computational process is usually "over-determined", allowing derivation of error (or accuracy) estimates for the transformation. Also, the stochastic nature of the parameters may result in multiple (different) versions of the same coordinate transformation.
+
+This concrete complexType can be used for all operation methods, without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Transformation instance. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralTransformationType">
+ <sequence>
+ <element ref="gml:usesMethod"/>
+ <element ref="gml:usesValue" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered set of composition associations to the set of parameter values used by this transformation operation. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="transformationRef" type="gml:TransformationRefType"/>
+ <!-- =================================================== -->
+ <complexType name="TransformationRefType">
+ <annotation>
+ <documentation>Association to a transformation, either referencing or containing the definition of that transformation. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Transformation"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="_generalParameterValue" type="gml:AbstractGeneralParameterValueType" abstract="true"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralParameterValueType" abstract="true">
+ <annotation>
+ <documentation>Abstract parameter value or group of parameter values.
+
+This abstract complexType is expected to be extended and restricted for well-known operation methods with many instances, in Application Schemas that define operation-method-specialized element names and contents. Specific parameter value elements are directly contained in concrete subtypes, not in this abstract type. All concrete types derived from this type shall extend this type to include one "...Value" element with an appropriate type, which should be one of the element types allowed in the ParameterValueType. In addition, all derived concrete types shall extend this type to include a "valueOfParameter" element that references one element substitutable for the "OperationParameter" element. </documentation>
+ </annotation>
+ <sequence/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="parameterValue" type="gml:ParameterValueType" substitutionGroup="gml:_generalParameterValue"/>
+ <!-- =================================================== -->
+ <complexType name="ParameterValueType">
+ <annotation>
+ <documentation>A parameter value, ordered sequence of values, or reference to a file of parameter values. This concrete complexType can be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one instance. This complexType can be used, extended, or restricted for well-known operation methods, especially for methods with many instances. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralParameterValueType">
+ <sequence>
+ <choice>
+ <element ref="gml:value"/>
+ <element ref="gml:dmsAngleValue"/>
+ <element ref="gml:stringValue"/>
+ <element ref="gml:integerValue"/>
+ <element ref="gml:booleanValue"/>
+ <element ref="gml:valueList"/>
+ <element ref="gml:integerValueList"/>
+ <element ref="gml:valueFile"/>
+ </choice>
+ <element ref="gml:valueOfParameter"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="value" type="gml:MeasureType">
+ <annotation>
+ <documentation>Numeric value of an operation parameter, with its associated unit of measure. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="dmsAngleValue" type="gml:DMSAngleType">
+ <annotation>
+ <documentation>Value of an angle operation parameter, in either degree-minute-second format or single value format. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="stringValue" type="string">
+ <annotation>
+ <documentation>String value of an operation parameter. A string value does not have an associated unit of measure. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="integerValue" type="positiveInteger">
+ <annotation>
+ <documentation>Positive integer value of an operation parameter, usually used for a count. An integer value does not have an associated unit of measure. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="booleanValue" type="boolean">
+ <annotation>
+ <documentation>Boolean value of an operation parameter. A Boolean value does not have an associated unit of measure. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="valueList" type="gml:MeasureListType">
+ <annotation>
+ <documentation>Ordered sequence of two or more numeric values of an operation parameter list, where each value has the same associated unit of measure. An element of this type contains a space-separated sequence of double values. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="integerValueList" type="gml:integerList">
+ <annotation>
+ <documentation>Ordered sequence of two or more integer values of an operation parameter list, usually used for counts. These integer values do not have an associated unit of measure. An element of this type contains a space-separated sequence of integer values. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="valueFile" type="anyURI">
+ <annotation>
+ <documentation>Reference to a file or a part of a file containing one or more parameter values, each numeric value with its associated unit of measure. When referencing a part of a file, that file must contain multiple identified parts, such as an XML encoded document. Furthermore, the referenced file or part of a file can reference another part of the same or different files, as allowed in XML documents. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="valueOfParameter" type="gml:OperationParameterRefType">
+ <annotation>
+ <documentation>Association to the operation parameter that this is a value of. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="parameterValueGroup" type="gml:ParameterValueGroupType" substitutionGroup="gml:_generalParameterValue"/>
+ <!-- =================================================== -->
+ <complexType name="ParameterValueGroupType">
+ <annotation>
+ <documentation>A group of related parameter values. The same group can be repeated more than once in a Conversion, Transformation, or higher level parameterValueGroup, if those instances contain different values of one or more parameterValues which suitably distinquish among those groups. This concrete complexType can be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one instance. This complexType can be used, extended, or restricted for well-known operation methods, especially for methods with many instances. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralParameterValueType">
+ <sequence>
+ <element ref="gml:includesValue" minOccurs="2" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered set of composition associations to the parameter values and groups of values included in this group. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:valuesOfGroup"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="includesValue" type="gml:AbstractGeneralParameterValueType" substitutionGroup="gml:_generalParameterValue">
+ <annotation>
+ <documentation>A composition association to a parameter value or group of values included in this group. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="valuesOfGroup" type="gml:OperationParameterGroupRefType">
+ <annotation>
+ <documentation>Association to the operation parameter group for which this element provides parameter values. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="OperationMethod" type="gml:OperationMethodType" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="OperationMethodBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for operation method objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:methodName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="methodName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this operation method is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="OperationMethodType">
+ <annotation>
+ <documentation>Definition of an algorithm used to perform a coordinate operation. Most operation methods use a number of operation parameters, although some coordinate conversions use none. Each coordinate operation using the method assigns values to these parameters. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:OperationMethodBaseType">
+ <sequence>
+ <element ref="gml:methodID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this operation method. The first methodID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this operation method, including source information.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:methodFormula"/>
+ <element ref="gml:sourceDimensions"/>
+ <element ref="gml:targetDimensions"/>
+ <element ref="gml:usesParameter" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of associations to the set of operation parameters and parameter groups used by this operation method. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="methodID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of an operation method. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="methodFormula" type="gml:CodeType">
+ <annotation>
+ <documentation>Formula(s) used by this operation method. The value may be a reference to a publication. Note that the operation method may not be analytic, in which case this element references or contains the procedure, not an analytic formula.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="sourceDimensions" type="positiveInteger">
+ <annotation>
+ <documentation>Number of dimensions in the source CRS of this operation method. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="targetDimensions" type="positiveInteger">
+ <annotation>
+ <documentation>Number of dimensions in the target CRS of this operation method. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesParameter" type="gml:AbstractGeneralOperationParameterRefType">
+ <annotation>
+ <documentation>Association to an operation parameter or parameter group used by this operation method. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="operationMethodRef" type="gml:OperationMethodRefType"/>
+ <!-- =================================================== -->
+ <complexType name="OperationMethodRefType">
+ <annotation>
+ <documentation>Association to a concrete general-purpose operation method, either referencing or containing the definition of that method. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:OperationMethod"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="_GeneralOperationParameter" type="gml:AbstractGeneralOperationParameterType" abstract="true" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralOperationParameterType" abstract="true">
+ <annotation>
+ <documentation>Abstract definition of a parameter or group of parameters used by an operation method. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:minimumOccurs" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="minimumOccurs" type="nonNegativeInteger">
+ <annotation>
+ <documentation>The minimum number of times that values for this parameter group or parameter are required. If this attribute is omitted, the minimum number is one. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="abstractGeneralOperationParameterRef" type="gml:AbstractGeneralOperationParameterRefType"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralOperationParameterRefType">
+ <annotation>
+ <documentation>Association to an operation parameter or group, either referencing or containing the definition of that parameter or group. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_GeneralOperationParameter"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="OperationParameter" type="gml:OperationParameterType" substitutionGroup="gml:_GeneralOperationParameter"/>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for operation parameter objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractGeneralOperationParameterType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:parameterName"/>
+ <element ref="gml:minimumOccurs" minOccurs="0"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="parameterName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this operation parameter is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterType">
+ <annotation>
+ <documentation>The definition of a parameter used by an operation method. Most parameter values are numeric, but other types of parameter values are possible. This complexType is expected to be used or extended for all operation methods, without defining operation-method-specialized element names. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:OperationParameterBaseType">
+ <sequence>
+ <element ref="gml:parameterID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this operation parameter. The first parameterID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this operation parameter, including source information. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="parameterID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of an operation parameter. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="operationParameterRef" type="gml:OperationParameterRefType"/>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterRefType">
+ <annotation>
+ <documentation>Association to an operation parameter, either referencing or containing the definition of that parameter. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:OperationParameter"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="OperationParameterGroup" type="gml:OperationParameterGroupType" substitutionGroup="gml:_GeneralOperationParameter"/>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterGroupBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for operation parameter group objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractGeneralOperationParameterType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:groupName"/>
+ <element ref="gml:minimumOccurs" minOccurs="0"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="groupName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this operation parameter group is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterGroupType">
+ <annotation>
+ <documentation>The definition of a group of parameters used by an operation method. This complexType is expected to be used or extended for all applicable operation methods, without defining operation-method-specialized element names. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:OperationParameterGroupBaseType">
+ <sequence>
+ <element ref="gml:groupID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this operation parameter group. The first groupID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this operation parameter group, including source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:maximumOccurs" minOccurs="0"/>
+ <element ref="gml:includesParameter" minOccurs="2" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of associations to the set of operation parameters that are members of this group. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="groupID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of an operation parameter group. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="maximumOccurs" type="positiveInteger">
+ <annotation>
+ <documentation>The maximum number of times that values for this parameter group can be included. If this attribute is omitted, the maximum number is one. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="includesParameter" type="gml:AbstractGeneralOperationParameterRefType">
+ <annotation>
+ <documentation>Association to an operation parameter that is a member of a group. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="operationParameterGroupRef" type="gml:OperationParameterRefType"/>
+ <!-- =================================================== -->
+ <complexType name="OperationParameterGroupRefType">
+ <annotation>
+ <documentation>Association to an operation parameter, either referencing or containing the definition of that parameter. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:OperationParameterGroup"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/coordinateReferenceSystems.xsd b/petascope/xml/ogc/gml/3.1.1/base/coordinateReferenceSystems.xsd
new file mode 100644
index 0000000..252b06f
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/coordinateReferenceSystems.xsd
@@ -0,0 +1,425 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:coordinateReferenceSystems:3.1.1"/>
+ <documentation>How to encode coordinate reference system definitions. Builds on referenceSystems.xsd to encode the data needed to define coordinate reference systems, including the specific subtypes of coordinate reference systems.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Coordinate Reference System (SC_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates, with the exception of the abstract "SC_CRS" class. The "SC_CRS" class is encoded in referenceSystems.xsd, to eliminate the (circular) references from coordinateOperations.xsd to coordinateReferenceSystems.xsd. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. </documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="coordinateSystems.xsd"/>
+ <include schemaLocation="datums.xsd"/>
+ <include schemaLocation="coordinateOperations.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="_CoordinateReferenceSystem" type="gml:AbstractReferenceSystemType" abstract="true" substitutionGroup="gml:_CRS">
+ <annotation>
+ <documentation>A coordinate reference system consists of an ordered sequence of coordinate system axes that are related to the earth through a datum. A coordinate reference system is defined by one datum and by one coordinate system. Most coordinate reference system do not move relative to the earth, except for engineering coordinate reference systems defined on moving platforms such as cars, ships, aircraft, and spacecraft. For further information, see OGC Abstract Specification Topic 2.
+
+Coordinate reference systems are commonly divided into sub-types. The common classification criterion for sub-typing of coordinate reference systems is the way in which they deal with earth curvature. This has a direct effect on the portion of the earth's surface that can be covered by that type of CRS with an acceptable degree of error. The exception to the rule is the subtype "Temporal" which has been added by analogy. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="coordinateReferenceSystemRef" type="gml:CoordinateReferenceSystemRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CoordinateReferenceSystemRefType">
+ <annotation>
+ <documentation>Association to a coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_CoordinateReferenceSystem"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="CompoundCRS" type="gml:CompoundCRSType" substitutionGroup="gml:_CRS"/>
+ <!-- =================================================== -->
+ <complexType name="CompoundCRSType">
+ <annotation>
+ <documentation>A coordinate reference system describing the position of points through two or more independent coordinate reference systems. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:includesCRS" minOccurs="2" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Ordered sequence of associations to all the component coordinate reference systems included in this compound coordinate reference system. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="includesCRS" type="gml:CoordinateReferenceSystemRefType">
+ <annotation>
+ <documentation>An association to a component coordinate reference system included in this compound coordinate reference system. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="compoundCRSRef" type="gml:CompoundCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CompoundCRSRefType">
+ <annotation>
+ <documentation>Association to a compound coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:CompoundCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="GeographicCRS" type="gml:GeographicCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="GeographicCRSType">
+ <annotation>
+ <documentation>A coordinate reference system based on an ellipsoidal approximation of the geoid; this provides an accurate representation of the geometry of geographic features for a large portion of the earth's surface.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:usesEllipsoidalCS"/>
+ <element ref="gml:usesGeodeticDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesEllipsoidalCS" type="gml:EllipsoidalCSRefType">
+ <annotation>
+ <documentation>Association to the ellipsoidal coordinate system used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesGeodeticDatum" type="gml:GeodeticDatumRefType">
+ <annotation>
+ <documentation>Association to the geodetic datum used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="geographicCRSRef" type="gml:GeographicCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="GeographicCRSRefType">
+ <annotation>
+ <documentation>Association to a geographic coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:GeographicCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="VerticalCRS" type="gml:VerticalCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalCRSType">
+ <annotation>
+ <documentation>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>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:usesVerticalCS"/>
+ <element ref="gml:usesVerticalDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesVerticalCS" type="gml:VerticalCSRefType">
+ <annotation>
+ <documentation>Association to the vertical coordinate system used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesVerticalDatum" type="gml:VerticalDatumRefType">
+ <annotation>
+ <documentation>Association to the vertical datum used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="verticalCRSRef" type="gml:VerticalCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalCRSRefType">
+ <annotation>
+ <documentation>Association to a vertical coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:VerticalCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="GeocentricCRS" type="gml:GeocentricCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="GeocentricCRSType">
+ <annotation>
+ <documentation>A 3D coordinate reference system with the origin at the approximate centre of mass of the earth. A geocentric CRS deals with the earth's curvature by taking a 3D spatial view, which obviates the need to model the earth's curvature. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <choice>
+ <element ref="gml:usesCartesianCS"/>
+ <element ref="gml:usesSphericalCS"/>
+ </choice>
+ <element ref="gml:usesGeodeticDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesCartesianCS" type="gml:CartesianCSRefType">
+ <annotation>
+ <documentation>Association to the Cartesian coordinate system used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesSphericalCS" type="gml:SphericalCSRefType">
+ <annotation>
+ <documentation>Association to the spherical coordinate system used by this CRS.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="geocentricCRSRef" type="gml:GeocentricCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="GeocentricCRSRefType">
+ <annotation>
+ <documentation>Association to a geocentric coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:GeocentricCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="_GeneralDerivedCRS" type="gml:AbstractGeneralDerivedCRSType" abstract="true" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractGeneralDerivedCRSType" abstract="true">
+ <annotation>
+ <documentation>A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system (not by a datum). This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:baseCRS"/>
+ <element ref="gml:definedByConversion"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="baseCRS" type="gml:CoordinateReferenceSystemRefType">
+ <annotation>
+ <documentation>Association to the coordinate reference system used by this derived CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="definedByConversion" type="gml:GeneralConversionRefType">
+ <annotation>
+ <documentation>Association to the coordinate conversion used to define this derived CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="ProjectedCRS" type="gml:ProjectedCRSType" substitutionGroup="gml:_GeneralDerivedCRS"/>
+ <!-- =================================================== -->
+ <complexType name="ProjectedCRSType">
+ <annotation>
+ <documentation>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>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralDerivedCRSType">
+ <sequence>
+ <element ref="gml:usesCartesianCS"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="projectedCRSRef" type="gml:ProjectedCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ProjectedCRSRefType">
+ <annotation>
+ <documentation>Association to a projected coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:ProjectedCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="DerivedCRS" type="gml:DerivedCRSType" substitutionGroup="gml:_GeneralDerivedCRS"/>
+ <!-- =================================================== -->
+ <complexType name="DerivedCRSType">
+ <annotation>
+ <documentation>A coordinate reference system that is defined by its coordinate conversion from another coordinate reference system but is not a projected coordinate reference system. This category includes coordinate reference systems derived from a projected coordinate reference system. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeneralDerivedCRSType">
+ <sequence>
+ <element ref="gml:derivedCRSType"/>
+ <element ref="gml:usesCS"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="derivedCRSType" type="gml:DerivedCRSTypeType"/>
+ <!-- =================================================== -->
+ <complexType name="DerivedCRSTypeType">
+ <annotation>
+ <documentation>Type of a derived coordinate reference system. </documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:CodeType">
+ <attribute name="codeSpace" type="anyURI" use="required">
+ <annotation>
+ <documentation>Reference to a source of information specifying the values and meanings of all the allowed string values for this DerivedCRSTypeType. </documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesCS" type="gml:CoordinateSystemRefType">
+ <annotation>
+ <documentation>Association to the coordinate system used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="derivedCRSRef" type="gml:DerivedCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="DerivedCRSRefType">
+ <annotation>
+ <documentation>Association to a non-projected derived coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:DerivedCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="EngineeringCRS" type="gml:EngineeringCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="EngineeringCRSType">
+ <annotation>
+ <documentation>A contextually local coordinate reference system; which can be divided into two broad categories:
+- earth-fixed systems applied to engineering activities on or near the surface of the earth;
+- CRSs on moving platforms such as road vehicles, vessels, aircraft, or spacecraft.
+For further information, see OGC Abstract Specification Topic 2. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:usesCS"/>
+ <element ref="gml:usesEngineeringDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesEngineeringDatum" type="gml:EngineeringDatumRefType">
+ <annotation>
+ <documentation>Association to the engineering datum used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="engineeringCRSRef" type="gml:EngineeringCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="EngineeringCRSRefType">
+ <annotation>
+ <documentation>Association to an engineering coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:EngineeringCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ImageCRS" type="gml:ImageCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="ImageCRSType">
+ <annotation>
+ <documentation>An engineering coordinate reference system applied to locations in images. Image coordinate reference systems are treated as a separate sub-type because a separate user community exists for images with its own terms of reference. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <choice>
+ <element ref="gml:usesCartesianCS"/>
+ <element ref="gml:usesObliqueCartesianCS"/>
+ </choice>
+ <element ref="gml:usesImageDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesObliqueCartesianCS" type="gml:ObliqueCartesianCSRefType">
+ <annotation>
+ <documentation>Association to the oblique Cartesian coordinate system used by this CRS.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesImageDatum" type="gml:ImageDatumRefType">
+ <annotation>
+ <documentation>Association to the image datum used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="imageCRSRef" type="gml:ImageCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ImageCRSRefType">
+ <annotation>
+ <documentation>Association to an image coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:ImageCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="TemporalCRS" type="gml:TemporalCRSType" substitutionGroup="gml:_CoordinateReferenceSystem"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalCRSType">
+ <annotation>
+ <documentation>A 1D coordinate reference system used for the recording of time. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemType">
+ <sequence>
+ <element ref="gml:usesTemporalCS"/>
+ <element ref="gml:usesTemporalDatum"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesTemporalCS" type="gml:TemporalCSRefType">
+ <annotation>
+ <documentation>Association to the temporal coordinate system used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesTemporalDatum" type="gml:TemporalDatumRefType">
+ <annotation>
+ <documentation>Association to the temporal datum used by this CRS. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="temporalCRSRef" type="gml:TemporalCRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalCRSRefType">
+ <annotation>
+ <documentation>Association to a temporal coordinate reference system, either referencing or containing the definition of that reference system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TemporalCRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/coordinateSystems.xsd b/petascope/xml/ogc/gml/3.1.1/base/coordinateSystems.xsd
new file mode 100644
index 0000000..9d39a8c
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/coordinateSystems.xsd
@@ -0,0 +1,404 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:coordinateSystems:3.1.1"/>
+ <documentation>How to encode coordinate system definitions. Builds on referenceSystems.xsd to encode the data needed to define coordinate systems, including the specific subtypes of coordinate systems.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Coordinate System (CS_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. </documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="referenceSystems.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="CoordinateSystemAxis" type="gml:CoordinateSystemAxisType" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="CoordinateSystemAxisBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for coordinate system axis objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:name">
+ <annotation>
+ <documentation>The name by which this coordinate system axis is identified. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <complexType name="CoordinateSystemAxisType">
+ <annotation>
+ <documentation>Definition of a coordinate system axis. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:CoordinateSystemAxisBaseType">
+ <sequence>
+ <element ref="gml:axisID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this coordinate system axis. The first axisID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this coordinate system axis, including data source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:axisAbbrev"/>
+ <element ref="gml:axisDirection"/>
+ </sequence>
+ <attribute ref="gml:uom" use="required"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="axisID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a coordinate system axis. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="axisAbbrev" type="gml:CodeType">
+ <annotation>
+ <documentation>The abbreviation used for this coordinate system axis. This abbreviation can be used to identify the ordinates in a coordinate tuple. Examples are X and Y. The codeSpace attribute can reference a source of more information on a set of standardized abbreviations, or on this abbreviation. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="axisDirection" type="gml:CodeType">
+ <annotation>
+ <documentation>Direction of this coordinate system axis (or in the case of Cartesian projected coordinates, the direction of this coordinate system axis at the origin). Examples: north or south, east or west, up or down. Within any set of coordinate system axes, only one of each pair of terms can be used. For earth-fixed CRSs, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction. Note that an EngineeringCRS can include specific descriptions of the directions of its coordinate system axes. For example, the path of a linear CRS axis can be referenced in another document, such as referencing a GML feature that references or includes a curve geometry. The codeSpace attribute can reference a source of more information on a set of standardized directions, or on this direction. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <attribute name="uom" type="anyURI">
+ <annotation>
+ <documentation>Identifier of the unit of measure used for this coordinate system axis. The value of this coordinate in a coordinate tuple shall be recorded using this unit of measure, whenever those coordinates use a coordinate reference system that uses a coordinate system that uses this axis.</documentation>
+ </annotation>
+ </attribute>
+ <!-- =================================================== -->
+ <element name="coordinateSystemAxisRef" type="gml:CoordinateSystemAxisRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CoordinateSystemAxisRefType">
+ <annotation>
+ <documentation>Association to a coordinate system axis, either referencing or containing the definition of that axis. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:CoordinateSystemAxis"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="_CoordinateSystem" type="gml:AbstractCoordinateSystemType" abstract="true" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractCoordinateSystemBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for coordinate system objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:csName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="csName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this coordinate system is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="AbstractCoordinateSystemType" abstract="true">
+ <annotation>
+ <documentation>A coordinate system (CS) is the set of coordinate system axes that spans a given coordinate space. A CS is derived from a set of (mathematical) rules for specifying how coordinates in a given space are to be assigned to points. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded, whenever those coordinates use a coordinate reference system that uses this coordinate system. This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemBaseType">
+ <sequence>
+ <element ref="gml:csID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this coordinate system. The first csID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this coordinate system, including data source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:usesAxis" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Ordered sequence of associations to the coordinate system axes included in this coordinate system. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="csID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a coordinate system. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesAxis" type="gml:CoordinateSystemAxisRefType">
+ <annotation>
+ <documentation>Association to a coordinate system axis. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="coordinateSystemRef" type="gml:CoordinateSystemRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CoordinateSystemRefType">
+ <annotation>
+ <documentation>Association to a coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_CoordinateSystem"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="EllipsoidalCS" type="gml:EllipsoidalCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="EllipsoidalCSType">
+ <annotation>
+ <documentation>A two- or three-dimensional coordinate system in which position is specified by geodetic latitude, geodetic longitude, and (in the three-dimensional case) ellipsoidal height. An EllipsoidalCS shall have two or three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ellipsoidalCSRef" type="gml:EllipsoidalCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="EllipsoidalCSRefType">
+ <annotation>
+ <documentation>Association to an ellipsoidal coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:EllipsoidalCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="CartesianCS" type="gml:CartesianCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="CartesianCSType">
+ <annotation>
+ <documentation>A 1-, 2-, or 3-dimensional coordinate system. Gives the position of points relative to orthogonal straight axes in the 2- and 3-dimensional cases. In the 1-dimensional case, it contains a single straight coordinate axis. In the multi-dimensional case, all axes shall have the same length unit of measure. A CartesianCS shall have one, two, or three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="cartesianCSRef" type="gml:CartesianCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CartesianCSRefType">
+ <annotation>
+ <documentation>Association to a Cartesian coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:CartesianCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="VerticalCS" type="gml:VerticalCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalCSType">
+ <annotation>
+ <documentation>A one-dimensional coordinate system used to record the heights (or depths) of points. Such a coordinate system is usually dependent on the Earth's gravity field, perhaps loosely as when atmospheric pressure is the basis for the vertical coordinate system axis. A VerticalCS shall have one usesAxis association. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="verticalCSRef" type="gml:VerticalCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalCSRefType">
+ <annotation>
+ <documentation>Association to a vertical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:VerticalCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="TemporalCS" type="gml:TemporalCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalCSType">
+ <annotation>
+ <documentation>A one-dimensional coordinate system containing a single time axis, used to describe the temporal position of a point in the specified time units from a specified time origin. A TemporalCS shall have one usesAxis association. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="temporalCSRef" type="gml:TemporalCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalCSRefType">
+ <annotation>
+ <documentation>Association to a temporal coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TemporalCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="LinearCS" type="gml:LinearCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="LinearCSType">
+ <annotation>
+ <documentation>A one-dimensional coordinate system that consists of the points that lie on the single axis described. The associated ordinate is the distance from the specified origin to the point along the axis. Example: usage of the line feature representing a road to describe points on or along that road. A LinearCS shall have one usesAxis association. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="linearCSRef" type="gml:LinearCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="LinearCSRefType">
+ <annotation>
+ <documentation>Association to a linear coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:LinearCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="UserDefinedCS" type="gml:UserDefinedCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="UserDefinedCSType">
+ <annotation>
+ <documentation>A two- or three-dimensional coordinate system that consists of any combination of coordinate axes not covered by any other coordinate system type. An example is a multilinear coordinate system which contains one coordinate axis that may have any 1-D shape which has no intersections with itself. This non-straight axis is supplemented by one or two straight axes to complete a 2 or 3 dimensional coordinate system. The non-straight axis is typically incrementally straight or curved. A UserDefinedCS shall have two or three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="userDefinedCSRef" type="gml:UserDefinedCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="UserDefinedCSRefType">
+ <annotation>
+ <documentation>Association to a user-defined coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:UserDefinedCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="SphericalCS" type="gml:SphericalCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="SphericalCSType">
+ <annotation>
+ <documentation>A three-dimensional coordinate system with one distance measured from the origin and two angular coordinates. Not to be confused with an ellipsoidal coordinate system based on an ellipsoid "degenerated" into a sphere. A SphericalCS shall have three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="sphericalCSRef" type="gml:SphericalCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="SphericalCSRefType">
+ <annotation>
+ <documentation>Association to a spherical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:SphericalCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="PolarCS" type="gml:PolarCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="PolarCSType">
+ <annotation>
+ <documentation>A two-dimensional coordinate system in which position is specified by the distance from the origin and the angle between the line from the origin to a point and a reference direction. A PolarCS shall have two usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="polarCSRef" type="gml:PolarCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="PolarCSRefType">
+ <annotation>
+ <documentation>Association to a polar coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:PolarCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="CylindricalCS" type="gml:CylindricalCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="CylindricalCSType">
+ <annotation>
+ <documentation>A three-dimensional coordinate system consisting of a polar coordinate system extended by a straight coordinate axis perpendicular to the plane spanned by the polar coordinate system. A CylindricalCS shall have three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="cylindricalCSRef" type="gml:CylindricalCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CylindricalCSRefType">
+ <annotation>
+ <documentation>Association to a cylindrical coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:CylindricalCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ObliqueCartesianCS" type="gml:ObliqueCartesianCSType" substitutionGroup="gml:_CoordinateSystem"/>
+ <!-- =================================================== -->
+ <complexType name="ObliqueCartesianCSType">
+ <annotation>
+ <documentation>A two- or three-dimensional coordinate system with straight axes that are not necessarily orthogonal. An ObliqueCartesianCS shall have two or three usesAxis associations. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoordinateSystemType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="obliqueCartesianCSRef" type="gml:ObliqueCartesianCSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ObliqueCartesianCSRefType">
+ <annotation>
+ <documentation>Association to an oblique-Cartesian coordinate system, either referencing or containing the definition of that coordinate system. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:ObliqueCartesianCS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/coverage.xsd b/petascope/xml/ogc/gml/3.1.1/base/coverage.xsd
new file mode 100644
index 0000000..8f4efb2
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/coverage.xsd
@@ -0,0 +1,448 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:coverage:3.1.1">coverage.xsd</appinfo>
+ <documentation xml:lang="en">GML Coverage schema.
+ Copyright (c) 2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="feature.xsd"/>
+ <include schemaLocation="valueObjects.xsd"/>
+ <include schemaLocation="grids.xsd"/>
+ <include schemaLocation="geometryAggregates.xsd"/>
+ <!-- ==============================================================
+ global types and elements
+ ============================================================== -->
+ <!-- ================= Abstract coverage definition ================== -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="_Coverage" type="gml:AbstractCoverageType" abstract="true" substitutionGroup="gml:_Feature"/>
+ <!-- =========================================================== -->
+ <complexType name="AbstractCoverageType" abstract="true">
+ <annotation>
+ <documentation>Abstract element which acts as the head of a substitution group for coverages. Note that a coverage is a GML feature.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractFeatureType">
+ <sequence>
+ <element ref="gml:domainSet"/>
+ <element ref="gml:rangeSet"/>
+ </sequence>
+ <attribute name="dimension" type="positiveInteger" use="optional"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="_ContinuousCoverage" type="gml:AbstractContinuousCoverageType" abstract="true" substitutionGroup="gml:_Coverage"/>
+ <!-- =========================================================== -->
+ <complexType name="AbstractContinuousCoverageType" abstract="true">
+ <annotation>
+ <documentation>A continuous coverage as defined in ISO 19123 is a coverage that can return different values for the same feature attribute at different direct positions within a single spatiotemporal object in its spatiotemporal domain</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoverageType">
+ <sequence>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="_DiscreteCoverage" type="gml:AbstractDiscreteCoverageType" abstract="true" substitutionGroup="gml:_Coverage"/>
+ <!-- =========================================================== -->
+ <complexType name="AbstractDiscreteCoverageType" abstract="true">
+ <annotation>
+ <documentation>A discrete coverage consists of a domain set, range set and optionally a coverage function. The domain set consists of either geometry or temporal objects, finite in number. The range set is comprised of a finite number of attribute values each of which is associated to every direct position within any single spatiotemporal object in the domain. In other words, the range values are constant on each spatiotemporal object in the domain. This coverage function maps each element from the coverage domain to an element in its range. This definition conforms to ISO 19123.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCoverageType">
+ <sequence>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="domainSet" type="gml:DomainSetType"/>
+ <!-- =========================================================== -->
+ <complexType name="DomainSetType">
+ <annotation>
+ <documentation>The spatiotemporal domain of a coverage.
+ Typically
+ * a geometry collection,
+ * an implicit geometry (e.g. a grid),
+ * an explicit or implicit collection of time instances or periods, or
+
+N.B. Temporal geometric complexes and temporal grids are not yet implemented in GML.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <choice>
+ <element ref="gml:_Geometry"/>
+ <element ref="gml:_TimeObject"/>
+ </choice>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="rangeSet" type="gml:RangeSetType"/>
+ <!-- =========================================================== -->
+ <complexType name="RangeSetType">
+ <choice>
+ <element ref="gml:ValueArray" maxOccurs="unbounded">
+ <annotation>
+ <documentation>each member _Value holds a tuple or "row" from the equivalent table</documentation>
+ </annotation>
+ </element>
+ <group ref="gml:ScalarValueList" maxOccurs="unbounded">
+ <annotation>
+ <documentation>each list holds the complete set of one scalar component from the values - i.e. a "column" from the equivalent table</documentation>
+ </annotation>
+ </group>
+ <element ref="gml:DataBlock">
+ <annotation>
+ <documentation>Its tuple list holds the values as space-separated tuples each of which contains comma-separated components, and the tuple structure is specified using the rangeParameters property.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:File">
+ <annotation>
+ <documentation>a reference to an external source for the data, together with a description of how that external source is structured</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="coverageFunction" type="gml:CoverageFunctionType"/>
+ <!-- =========================================================== -->
+ <complexType name="CoverageFunctionType">
+ <annotation>
+ <documentation>The function or rule which defines the map from members of the domainSet to the range.
+ More functions will be added to this list</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:MappingRule"/>
+ <element ref="gml:GridFunction"/>
+ </choice>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- ============== Components for encoding the rangeSet ============= -->
+ <!-- =========================================================== -->
+ <element name="DataBlock" type="gml:DataBlockType"/>
+ <!-- =========================================================== -->
+ <complexType name="DataBlockType">
+ <sequence>
+ <element ref="gml:rangeParameters"/>
+ <choice>
+ <element ref="gml:tupleList"/>
+ <element ref="gml:doubleOrNullTupleList"/>
+ </choice>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="tupleList" type="gml:CoordinatesType"/>
+ <!-- =========================================================== -->
+ <element name="doubleOrNullTupleList" type="gml:doubleOrNullList"/>
+ <!-- =========================================================== -->
+ <element name="File" type="gml:FileType"/>
+ <!-- =========================================================== -->
+ <complexType name="FileType">
+ <sequence>
+ <element ref="gml:rangeParameters"/>
+ <element name="fileName" type="anyURI"/>
+ <element name="fileStructure" type="gml:FileValueModelType"/>
+ <element name="mimeType" type="anyURI" minOccurs="0"/>
+ <element name="compression" type="anyURI" minOccurs="0"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="FileValueModelType">
+ <annotation>
+ <documentation>List of codes that identifies the file structure model for records stored in files.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="Record Interleaved"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <element name="rangeParameters" type="gml:RangeParametersType"/>
+ <!-- =========================================================== -->
+ <complexType name="RangeParametersType">
+ <annotation>
+ <documentation>Metadata about the rangeSet. Definition of record structure.
+ This is required if the rangeSet is encoded in a DataBlock.
+ We use a gml:_Value with empty values as a map of the composite value structure.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <group ref="gml:ValueObject"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- ============= Components for coverageFunctions ================ -->
+ <!-- =========================================================== -->
+ <element name="MappingRule" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Description of a rule for associating members from the domainSet with members of the rangeSet.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="GridFunction" type="gml:GridFunctionType"/>
+ <!-- =========================================================== -->
+ <complexType name="GridFunctionType">
+ <annotation>
+ <documentation>Defines how values in the domain are mapped to the range set. The start point and the sequencing rule are specified here.</documentation>
+ </annotation>
+ <sequence>
+ <element name="sequenceRule" type="gml:SequenceRuleType" minOccurs="0">
+ <annotation>
+ <documentation>If absent, the implied value is "Linear".</documentation>
+ </annotation>
+ </element>
+ <element name="startPoint" type="gml:integerList" minOccurs="0">
+ <annotation>
+ <documentation>Index position of the first grid post, which must lie somwhere in the GridEnvelope. If absent, the startPoint is equal to the value of gridEnvelope::low from the grid definition.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="IndexMap" type="gml:IndexMapType" substitutionGroup="gml:GridFunction"/>
+ <!-- =========================================================== -->
+ <complexType name="IndexMapType">
+ <annotation>
+ <documentation>Exends GridFunctionType with a lookUpTable. This contains a list of indexes of members within the rangeSet corresponding with the members of the domainSet. The domainSet is traversed in list order if it is enumerated explicitly, or in the order specified by a SequenceRule if the domain is an implicit set. The length of the lookUpTable corresponds with the length of the subset of the domainSet for which the coverage is defined.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:GridFunctionType">
+ <sequence>
+ <element name="lookUpTable" type="gml:integerList"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="SequenceRuleType">
+ <simpleContent>
+ <extension base="gml:SequenceRuleNames">
+ <attribute name="order" type="gml:IncrementOrder" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="SequenceRuleNames">
+ <annotation>
+ <documentation>List of codes (adopted from ISO 19123 Annex C) that identifies the rule for traversing a grid to correspond with the sequence of members of the rangeSet.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="Linear"/>
+ <enumeration value="Boustrophedonic"/>
+ <enumeration value="Cantor-diagonal"/>
+ <enumeration value="Spiral"/>
+ <enumeration value="Morton"/>
+ <enumeration value="Hilbert"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="IncrementOrder">
+ <annotation>
+ <documentation>The enumeration value here indicates the incrementation order to be used on the first 2 axes, i.e. "+x-y" means that the points on the first axis are to be traversed from lowest to highest and the points on the second axis are to be traversed from highest to lowest. The points on all other axes (if any) beyond the first 2 are assumed to increment from lowest to highest.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="+x+y"/>
+ <enumeration value="+y+x"/>
+ <enumeration value="+x-y"/>
+ <enumeration value="-x-y"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <!-- == Specialised Coverage types - typed by the structure of the domain set == -->
+ <!-- =========================================================== -->
+ <element name="MultiPointCoverage" type="gml:MultiPointCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiPointCoverageType">
+ <annotation>
+ <documentation>A discrete coverage type whose domain is defined by a collection of point</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:multiPointDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiPointDomain" type="gml:MultiPointDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiPointDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:MultiPoint"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiCurveCoverage" type="gml:MultiCurveCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiCurveCoverageType">
+ <annotation>
+ <documentation>A discrete coverage type whose domain is defined by a collection of curves.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:multiCurveDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiCurveDomain" type="gml:MultiCurveDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiCurveDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:MultiCurve"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiSurfaceCoverage" type="gml:MultiSurfaceCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiSurfaceCoverageType">
+ <annotation>
+ <documentation>A discrete coverage type whose domain is defined by a collection of surface patches (includes polygons, triangles, rectangles, etc).</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:multiSurfaceDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiSurfaceDomain" type="gml:MultiSurfaceDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiSurfaceDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:MultiSurface"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiSolidCoverage" type="gml:MultiSolidCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiSolidCoverageType">
+ <annotation>
+ <documentation>A discrete coverage type whose domain is defined by a collection of Solids.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:multiSolidDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiSolidDomain" type="gml:MultiSolidDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="MultiSolidDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:MultiSolid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="GridCoverage" type="gml:GridCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="GridCoverageType">
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:gridDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="gridDomain" type="gml:GridDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="GridDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:Grid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="RectifiedGridCoverage" type="gml:RectifiedGridCoverageType" substitutionGroup="gml:_DiscreteCoverage"/>
+ <!-- =========================================================== -->
+ <complexType name="RectifiedGridCoverageType">
+ <complexContent>
+ <restriction base="gml:AbstractDiscreteCoverageType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:rectifiedGridDomain"/>
+ <element ref="gml:rangeSet"/>
+ <element ref="gml:coverageFunction" minOccurs="0"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="rectifiedGridDomain" type="gml:RectifiedGridDomainType" substitutionGroup="gml:domainSet"/>
+ <!-- =========================================================== -->
+ <complexType name="RectifiedGridDomainType">
+ <complexContent>
+ <restriction base="gml:DomainSetType">
+ <sequence minOccurs="0">
+ <element ref="gml:RectifiedGrid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/dataQuality.xsd b/petascope/xml/ogc/gml/3.1.1/base/dataQuality.xsd
new file mode 100644
index 0000000..0e66a9a
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/dataQuality.xsd
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:dataQuality:3.1.1"/>
+ <documentation>How to encode positional data quality information. Builds on units.xsd to encode the data needed to describe the positional accuracy of coordinate operations.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Data Quality (DQ) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. </documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="units.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="_positionalAccuracy" type="gml:AbstractPositionalAccuracyType" abstract="true"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractPositionalAccuracyType" abstract="true">
+ <annotation>
+ <documentation>Position error estimate (or accuracy) data. </documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:measureDescription" minOccurs="0"/>
+ </sequence>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="measureDescription" type="gml:CodeType">
+ <annotation>
+ <documentation>A description of the position accuracy parameter(s) provided. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="absoluteExternalPositionalAccuracy" type="gml:AbsoluteExternalPositionalAccuracyType" substitutionGroup="gml:_positionalAccuracy"/>
+ <!-- =================================================== -->
+ <complexType name="AbsoluteExternalPositionalAccuracyType">
+ <annotation>
+ <documentation>Closeness of reported coordinate values to values accepted as or being true. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractPositionalAccuracyType">
+ <sequence>
+ <element ref="gml:result"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="relativeInternalPositionalAccuracy" type="gml:RelativeInternalPositionalAccuracyType" substitutionGroup="gml:_positionalAccuracy"/>
+ <!-- =================================================== -->
+ <complexType name="RelativeInternalPositionalAccuracyType">
+ <annotation>
+ <documentation>Closeness of the relative positions of two or more positions to their respective relative positions accepted as or being true. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractPositionalAccuracyType">
+ <sequence>
+ <element ref="gml:result"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="result" type="gml:MeasureType">
+ <annotation>
+ <documentation>A quantitative result defined by the evaluation procedure used, and identified by the measureDescription. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="covarianceMatrix" type="gml:CovarianceMatrixType" substitutionGroup="gml:_positionalAccuracy"/>
+ <!-- =================================================== -->
+ <complexType name="CovarianceMatrixType">
+ <annotation>
+ <documentation>Error estimate covariance matrix. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractPositionalAccuracyType">
+ <sequence>
+ <element ref="gml:unitOfMeasure" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Ordered sequence of units of measure, corresponding to the row and column index numbers of the covariance matrix, starting with row and column 1 and ending with row/column N. Each unit of measure is for the ordinate reflected in the relevant row and column of the covariance matrix. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:includesElement" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered set of elements in this covariance matrix. Because the covariance matrix is symmetrical, only the elements in the upper or lower diagonal part (including the main diagonal) of the matrix need to be specified. Any zero valued covariance elements can be omitted. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="includesElement" type="gml:CovarianceElementType"/>
+ <!-- =================================================== -->
+ <complexType name="CovarianceElementType">
+ <annotation>
+ <documentation>An element of a covariance matrix.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:rowIndex"/>
+ <element ref="gml:columnIndex"/>
+ <element ref="gml:covariance"/>
+ </sequence>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="rowIndex" type="positiveInteger">
+ <annotation>
+ <documentation>Row number of this covariance element value. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="columnIndex" type="positiveInteger">
+ <annotation>
+ <documentation>Column number of this covariance element value. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="covariance" type="double">
+ <annotation>
+ <documentation>Value of covariance matrix element. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/datums.xsd b/petascope/xml/ogc/gml/3.1.1/base/datums.xsd
new file mode 100644
index 0000000..3098bf8
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/datums.xsd
@@ -0,0 +1,480 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:datums:3.1.1"/>
+ <documentation>How to encode datum definitions. Builds on referenceSystems.xsd to encode the data needed to define datums, including the specific subtypes of datums.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Datum (CD_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111. </documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="referenceSystems.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="_Datum" type="gml:AbstractDatumType" abstract="true" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractDatumBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for datum objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:datumName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="datumName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this datum is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="AbstractDatumType" abstract="true">
+ <annotation>
+ <documentation>A datum 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 can be associated with only specific types of coordinate systems. This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractDatumBaseType">
+ <sequence>
+ <element ref="gml:datumID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this datum. The first datumID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on this reference system, including source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:anchorPoint" minOccurs="0"/>
+ <element ref="gml:realizationEpoch" minOccurs="0"/>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="datumID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a datum. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="anchorPoint" type="gml:CodeType">
+ <annotation>
+ <documentation>Description, possibly including coordinates, of the point or points used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute can be used to reference a source of more detailed on this point or surface, or on a set of such descriptions.
+- 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.
+- For an engineering datum, the anchor point may be a physical point, or it may be a point with defined coordinates in another CRS. When appropriate, the coordinates of this anchor point can be referenced in another document, such as referencing a GML feature that references or includes a point position.
+- For an image datum, the anchor point is usually either the centre of the image or the corner of the image.
+- For a temporal datum, this attribute is not defined. Instead of the anchor point, a temporal datum carries a separate time origin of type DateTime. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="realizationEpoch" type="date">
+ <annotation>
+ <documentation>The time after which this datum definition is valid. This time may be precise (e.g. 1997.0 for IRTF97) or merely a year (e.g. 1983 for NAD83). In the latter case, the epoch usually refers to the year in which a major recalculation of the geodetic control network, underlying the datum, was executed or initiated. An old datum can remain valid after a new datum is defined. Alternatively, a datum may be superseded by a later datum, in which case the realization epoch for the new datum defines the upper limit for the validity of the superseded datum. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="datumRef" type="gml:DatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="DatumRefType">
+ <annotation>
+ <documentation>Association to a datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Datum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="EngineeringDatum" type="gml:EngineeringDatumType" substitutionGroup="gml:_Datum"/>
+ <!-- =================================================== -->
+ <complexType name="EngineeringDatumType">
+ <annotation>
+ <documentation>An engineering datum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin can be fixed with respect to the earth (such as a defined point at a construction site), or be a defined point on a moving vehicle (such as on a ship or satellite). </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractDatumType"/>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="engineeringDatumRef" type="gml:EngineeringDatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="EngineeringDatumRefType">
+ <annotation>
+ <documentation>Association to an engineering datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:EngineeringDatum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ImageDatum" type="gml:ImageDatumType" substitutionGroup="gml:_Datum"/>
+ <!-- =================================================== -->
+ <complexType name="ImageDatumType">
+ <annotation>
+ <documentation>An image datum defines the origin of an image coordinate reference system, and is used in a local context only. For more information, see OGC Abstract Specification Topic 2. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractDatumType">
+ <sequence>
+ <element ref="gml:pixelInCell"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="pixelInCell" type="gml:PixelInCellType"/>
+ <!-- =================================================== -->
+ <complexType name="PixelInCellType">
+ <annotation>
+ <documentation>Specification of the way an image grid is associated with the image data attributes. </documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:CodeType">
+ <attribute name="codeSpace" type="anyURI" use="required">
+ <annotation>
+ <documentation>Reference to a source of information specifying the values and meanings of all the allowed string values for this PixelInCellType. </documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="imageDatumRef" type="gml:ImageDatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ImageDatumRefType">
+ <annotation>
+ <documentation>Association to an image datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:ImageDatum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="VerticalDatum" type="gml:VerticalDatumType" substitutionGroup="gml:_Datum"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalDatumType">
+ <annotation>
+ <documentation>A textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface, including its position with respect to the Earth for any of the height types recognized by this standard. There are several types of Vertical Datums, and each may place constraints on the Coordinate Axis with which it is combined to create a Vertical CRS. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractDatumType">
+ <sequence>
+ <element ref="gml:verticalDatumType" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="verticalDatumType" type="gml:VerticalDatumTypeType"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalDatumTypeType">
+ <annotation>
+ <documentation>Type of a vertical datum. </documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:CodeType">
+ <attribute name="codeSpace" type="anyURI" use="required">
+ <annotation>
+ <documentation>Reference to a source of information specifying the values and meanings of all the allowed string values for this VerticalDatumTypeType. </documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="verticalDatumRef" type="gml:VerticalDatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="VerticalDatumRefType">
+ <annotation>
+ <documentation>Association to a vertical datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:VerticalDatum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="TemporalDatum" type="gml:TemporalDatumType" substitutionGroup="gml:_Datum"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalDatumBaseType" abstract="true">
+ <annotation>
+ <documentation>Partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorPoint" and "realizationEpoch" elements. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractDatumType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:datumName"/>
+ <element ref="gml:datumID" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <complexType name="TemporalDatumType">
+ <annotation>
+ <documentation>Defines the origin of a temporal coordinate reference system. This type extends the TemporalDatumRestrictionType to add the "origin" element with the dateTime type. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:TemporalDatumBaseType">
+ <sequence>
+ <element ref="gml:origin"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="origin" type="dateTime">
+ <annotation>
+ <documentation>The date and time origin of this temporal datum. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="temporalDatumRef" type="gml:TemporalDatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="TemporalDatumRefType">
+ <annotation>
+ <documentation>Association to a temporal datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TemporalDatum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="GeodeticDatum" type="gml:GeodeticDatumType" substitutionGroup="gml:_Datum"/>
+ <!-- =================================================== -->
+ <complexType name="GeodeticDatumType">
+ <annotation>
+ <documentation>A geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere) that approximates the shape of the earth, or of a Cartesian coordinate system centered in this ellipsoid (or sphere). </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractDatumType">
+ <sequence>
+ <element ref="gml:usesPrimeMeridian"/>
+ <element ref="gml:usesEllipsoid"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="usesPrimeMeridian" type="gml:PrimeMeridianRefType">
+ <annotation>
+ <documentation>Association to the prime meridian used by this geodetic datum. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="usesEllipsoid" type="gml:EllipsoidRefType">
+ <annotation>
+ <documentation>Association to the ellipsoid used by this geodetic datum. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="geodeticDatumRef" type="gml:GeodeticDatumRefType"/>
+ <!-- =================================================== -->
+ <complexType name="GeodeticDatumRefType">
+ <annotation>
+ <documentation>Association to a geodetic datum, either referencing or containing the definition of that datum. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:GeodeticDatum"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <element name="PrimeMeridian" type="gml:PrimeMeridianType" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="PrimeMeridianBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for prime meridian objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:meridianName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="meridianName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this prime meridian is identified. The meridianName most common value is Greenwich, and that value shall be used when the greenwichLongitude value is zero. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="PrimeMeridianType">
+ <annotation>
+ <documentation>A prime meridian defines the origin from which longitude values are determined.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:PrimeMeridianBaseType">
+ <sequence>
+ <element ref="gml:meridianID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this prime meridian. The first meridianID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this prime meridian, including source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:greenwichLongitude"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="meridianID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a prime meridian. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="greenwichLongitude" type="gml:AngleChoiceType">
+ <annotation>
+ <documentation>Longitude of the prime meridian measured from the Greenwich meridian, positive eastward. The greenwichLongitude most common value is zero, and that value shall be used when the meridianName value is Greenwich. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="primeMeridianRef" type="gml:PrimeMeridianRefType"/>
+ <!-- =================================================== -->
+ <complexType name="PrimeMeridianRefType">
+ <annotation>
+ <documentation>Association to a prime meridian, either referencing or containing the definition of that meridian. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:PrimeMeridian"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="Ellipsoid" type="gml:EllipsoidType" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="EllipsoidBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for ellipsoid objects, simplifying and restricting the DefinitionType as needed. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:ellipsoidName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ellipsoidName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this ellipsoid is identified. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="EllipsoidType">
+ <annotation>
+ <documentation>An ellipsoid is a geometric figure that can 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>
+ </annotation>
+ <complexContent>
+ <extension base="gml:EllipsoidBaseType">
+ <sequence>
+ <element ref="gml:ellipsoidID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alternative identifications of this ellipsoid. The first ellipsoidID, if any, is normally the primary identification code, and any others are aliases. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this ellipsoid, including source information. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:semiMajorAxis"/>
+ <element ref="gml:secondDefiningParameter"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="ellipsoidID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of an ellipsoid. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="semiMajorAxis" type="gml:MeasureType">
+ <annotation>
+ <documentation>Length of the semi-major axis of the ellipsoid, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="ellipsoidRef" type="gml:EllipsoidRefType"/>
+ <!-- =================================================== -->
+ <complexType name="EllipsoidRefType">
+ <annotation>
+ <documentation>Association to an ellipsoid, either referencing or containing the definition of that ellipsoid. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Ellipsoid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="secondDefiningParameter" type="gml:SecondDefiningParameterType"/>
+ <!-- =================================================== -->
+ <complexType name="SecondDefiningParameterType">
+ <annotation>
+ <documentation>Definition of the second parameter that defines the shape of an ellipsoid. An ellipsoid requires two defining parameters: semi-major axis and inverse flattening or semi-major axis and semi-minor axis. When the reference body is a sphere rather than an ellipsoid, only a single defining parameter is required, namely the radius of the sphere; in that case, the semi-major axis "degenerates" into the radius of the sphere.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:inverseFlattening"/>
+ <element ref="gml:semiMinorAxis"/>
+ <element ref="gml:isSphere"/>
+ </choice>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="inverseFlattening" type="gml:MeasureType">
+ <annotation>
+ <documentation>Inverse flattening value of the ellipsoid. Value is a scale factor (or ratio) that has no physical unit. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a scale factor, such as percent, permil, or parts-per-million. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="semiMinorAxis" type="gml:MeasureType">
+ <annotation>
+ <documentation>Length of the semi-minor axis of the ellipsoid. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet. </documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="isSphere">
+ <annotation>
+ <documentation>The ellipsoid is degenerate and is actually a sphere. The sphere is completely defined by the semi-major axis, which is the radius of the sphere. </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="sphere"/>
+ </restriction>
+ </simpleType>
+ </element>
+ <!-- =================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/defaultStyle.xsd b/petascope/xml/ogc/gml/3.1.1/base/defaultStyle.xsd
new file mode 100644
index 0000000..ecb2389
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/defaultStyle.xsd
@@ -0,0 +1,450 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:smil20="http://www.w3.org/2001/SMIL20/" elementFormDefault="qualified" version="3.1.0">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-defaultStyle:v3.1.0">defaultStyle.xsd</appinfo>
+ <documentation>Default Style schema for GML 3.1.0
+ Copyright (c) 2001-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ Compliance: reference to ISO Specifications</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="measures.xsd"/>
+ <import namespace="http://www.w3.org/2001/SMIL20/" schemaLocation="../smil/smil20.xsd"/>
+ <!-- ==============================================================
+ the Style property
+ ============================================================== -->
+ <element name="defaultStyle" type="gml:DefaultStylePropertyType">
+ <annotation>
+ <documentation>Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="DefaultStylePropertyType">
+ <annotation>
+ <documentation>[complexType of] Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Style" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ the Style
+ ============================================================== -->
+ <element name="_Style" type="gml:AbstractStyleType" abstract="true" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractStyleType" abstract="true">
+ <annotation>
+ <documentation>[complexType of] The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Style" type="gml:StyleType" substitutionGroup="gml:_Style">
+ <annotation>
+ <documentation>Predefined concrete value of the top-level property. Encapsulates all other styling information.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="StyleType">
+ <annotation>
+ <documentation>[complexType of] Predefined concrete value of the top-level property. Encapsulates all other styling information.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractStyleType">
+ <sequence>
+ <element ref="gml:featureStyle" maxOccurs="unbounded"/>
+ <element ref="gml:graphStyle" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Feature Style Property
+ ============================================================== -->
+ <element name="featureStyle" type="gml:FeatureStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="FeatureStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <sequence>
+ <element ref="gml:FeatureStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ Feature Style
+ ============================================================== -->
+ <element name="FeatureStyle" type="gml:FeatureStyleType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The style descriptor for features.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="FeatureStyleType">
+ <annotation>
+ <documentation>[complexType of] The style descriptor for features.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element name="featureConstraint" type="string" minOccurs="0"/>
+ <element ref="gml:geometryStyle" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:topologyStyle" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:labelStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="featureType" type="string" use="optional"/>
+ <attribute name="baseType" type="string" use="optional"/>
+ <attribute name="queryGrammar" type="gml:QueryGrammarEnumeration"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="QueryGrammarEnumeration">
+ <annotation>
+ <documentation>Used to specify the grammar of the feature query mechanism.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="xpath"/>
+ <enumeration value="xquery"/>
+ <enumeration value="other"/>
+ </restriction>
+ </simpleType>
+ <!-- ==============================================================
+ Base style descriptor type (for geometry, topology, label, graph)
+ ============================================================== -->
+ <complexType name="BaseStyleDescriptorType">
+ <annotation>
+ <documentation>Base complex type for geometry, topology, label and graph styles.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element name="spatialResolution" type="gml:ScaleType" minOccurs="0"/>
+ <element name="styleVariation" type="gml:StyleVariationType" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="smil20:animate" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="smil20:animateMotion" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="smil20:animateColor" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="smil20:set" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Geometry Style Property
+ ============================================================== -->
+ <element name="geometryStyle" type="gml:GeometryStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="GeometryStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <sequence>
+ <element ref="gml:GeometryStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ Geometry Style
+ ============================================================== -->
+ <element name="GeometryStyle" type="gml:GeometryStyleType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The style descriptor for geometries of a feature.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="GeometryStyleType">
+ <annotation>
+ <documentation>[complexType of] The style descriptor for geometries of a feature.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:BaseStyleDescriptorType">
+ <sequence>
+ <choice>
+ <element ref="gml:symbol"/>
+ <element name="style" type="string">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated in GML version 3.1.0. Use symbol with inline content instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:labelStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="geometryProperty" type="string"/>
+ <attribute name="geometryType" type="string"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Topology Style Property
+ ============================================================== -->
+ <element name="topologyStyle" type="gml:TopologyStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="TopologyStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <sequence>
+ <element ref="gml:TopologyStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ Topology Style
+ ============================================================== -->
+ <element name="TopologyStyle" type="gml:TopologyStyleType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The style descriptor for topologies of a feature. Describes individual topology elements styles.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="TopologyStyleType">
+ <annotation>
+ <documentation>[complexType of] The style descriptor for topologies of a feature. Describes individual topology elements styles.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:BaseStyleDescriptorType">
+ <sequence>
+ <choice>
+ <element ref="gml:symbol"/>
+ <element name="style" type="string">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated in GML version 3.1.0. Use symbol with inline content instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:labelStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="topologyProperty" type="string"/>
+ <attribute name="topologyType" type="string"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Label Style Property
+ ============================================================== -->
+ <element name="labelStyle" type="gml:LabelStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="LabelStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <sequence>
+ <element ref="gml:LabelStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ Label Style
+ ============================================================== -->
+ <element name="LabelStyle" type="gml:LabelStyleType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The style descriptor for labels of a feature, geometry or topology.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="LabelStyleType">
+ <annotation>
+ <documentation>[complexType of] The style descriptor for labels of a feature, geometry or topology.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:BaseStyleDescriptorType">
+ <sequence>
+ <element name="style" type="string"/>
+ <element name="label" type="gml:LabelType"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Graph Style Property
+ ============================================================== -->
+ <element name="graphStyle" type="gml:GraphStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="GraphStylePropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <sequence>
+ <element ref="gml:GraphStyle" minOccurs="0"/>
+ </sequence>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ==============================================================
+ Graph Style
+ ============================================================== -->
+ <element name="GraphStyle" type="gml:GraphStyleType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="GraphStyleType">
+ <annotation>
+ <documentation>[complexType of] The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:BaseStyleDescriptorType">
+ <sequence>
+ <element name="planar" type="boolean" minOccurs="0"/>
+ <element name="directed" type="boolean" minOccurs="0"/>
+ <element name="grid" type="boolean" minOccurs="0"/>
+ <element name="minDistance" type="double" minOccurs="0"/>
+ <element name="minAngle" type="double" minOccurs="0"/>
+ <element name="graphType" type="gml:GraphTypeType" minOccurs="0"/>
+ <element name="drawingType" type="gml:DrawingTypeType" minOccurs="0"/>
+ <element name="lineType" type="gml:LineTypeType" minOccurs="0"/>
+ <element name="aestheticCriteria" type="gml:AesheticCriteriaType" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ==============================================================
+ Common elements
+ ============================================================== -->
+ <element name="symbol" type="gml:SymbolType">
+ <annotation>
+ <documentation>The symbol property. Extends the gml:AssociationType to allow for remote referencing of symbols.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="SymbolType">
+ <annotation>
+ <documentation>[complexType of] The symbol property. Allows for remote referencing of symbols.</documentation>
+ </annotation>
+ <sequence>
+ <any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="symbolType" type="gml:SymbolTypeEnumeration" use="required"/>
+ <attribute ref="gml:transform" use="optional"/>
+ <attribute name="about" type="anyURI" use="optional"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="SymbolTypeEnumeration">
+ <annotation>
+ <documentation>Used to specify the type of the symbol used.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="svg"/>
+ <enumeration value="xpath"/>
+ <enumeration value="other"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <complexType name="LabelType" mixed="true">
+ <annotation>
+ <documentation>Label is mixed -- composed of text and XPath expressions used to extract the useful information from the feature.</documentation>
+ </annotation>
+ <sequence>
+ <element name="LabelExpression" type="string" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute ref="gml:transform" use="optional"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <attribute name="transform" type="string">
+ <annotation>
+ <documentation>Defines the geometric transformation of entities. There is no particular grammar defined for this value.</documentation>
+ </annotation>
+ </attribute>
+ <!-- =========================================================== -->
+ <complexType name="StyleVariationType">
+ <annotation>
+ <documentation>Used to vary individual graphic parameters and attributes of the style, symbol or text.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="string">
+ <attribute name="styleProperty" type="string" use="required"/>
+ <attribute name="featurePropertyRange" type="string" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ==============================================================
+ Graph parameters types
+ ============================================================== -->
+ <simpleType name="GraphTypeType">
+ <annotation>
+ <documentation>Graph-specific styling property.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="TREE"/>
+ <enumeration value="BICONNECTED"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="DrawingTypeType">
+ <annotation>
+ <documentation>Graph-specific styling property.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="POLYLINE"/>
+ <enumeration value="ORTHOGONAL"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="LineTypeType">
+ <annotation>
+ <documentation>Graph-specific styling property.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="STRAIGHT"/>
+ <enumeration value="BENT"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="AesheticCriteriaType">
+ <annotation>
+ <documentation>Graph-specific styling property.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="MIN_CROSSINGS"/>
+ <enumeration value="MIN_AREA"/>
+ <enumeration value="MIN_BENDS"/>
+ <enumeration value="MAX_BENDS"/>
+ <enumeration value="UNIFORM_BENDS"/>
+ <enumeration value="MIN_SLOPES"/>
+ <enumeration value="MIN_EDGE_LENGTH"/>
+ <enumeration value="MAX_EDGE_LENGTH"/>
+ <enumeration value="UNIFORM_EDGE_LENGTH"/>
+ <enumeration value="MAX_ANGULAR_RESOLUTION"/>
+ <enumeration value="MIN_ASPECT_RATIO"/>
+ <enumeration value="MAX_SYMMETRIES"/>
+ </restriction>
+ </simpleType>
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/dictionary.xsd b/petascope/xml/ogc/gml/3.1.1/base/dictionary.xsd
new file mode 100644
index 0000000..2fc1c43
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/dictionary.xsd
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:dictionary:3.1.1"/>
+ <documentation>
+ Dictionary schema for GML 3.1.1
+ Components to support the lists of definitions.
+ Copyright (c) 2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ========================================================
+ includes and imports
+ ======================================================== -->
+ <include schemaLocation="gmlBase.xsd"/>
+ <!-- ===================================================== -->
+ <!-- ===================================================== -->
+ <!-- === Dictionary and Definition components === -->
+ <!-- ===================================================== -->
+ <group name="StandardDefinitionProperties">
+ <annotation>
+ <documentation>This content model group makes it easier to construct types that
+ derive from DefinitionType and its descendents "by restriction".
+ A reference to the group saves having to enumerate the standard definition properties.
+ See definition of StandardObjectProperties for more documentation</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:description" minOccurs="0"/>
+ <element ref="gml:name" maxOccurs="unbounded"/>
+ </sequence>
+ </group>
+ <!-- ===================================================== -->
+ <element name="Definition" type="gml:DefinitionType" substitutionGroup="gml:_GML"/>
+ <!-- ===================================================== -->
+ <complexType name="DefinitionType">
+ <annotation>
+ <documentation>A definition, which can be included in or referenced by a dictionary. In this extended type, the inherited "description" optional element can hold the definition whenever only text is needed. The inherited "name" elements can provide one or more brief terms for which this is the definition. The inherited "metaDataProperty" elements can be used to reference or include more information about this definition.
+The gml:id attribute is required - it must be possible to reference this definition using this handle. </documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:description" minOccurs="0"/>
+ <element ref="gml:name" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ===================================================== -->
+ <element name="Dictionary" type="gml:DictionaryType" substitutionGroup="gml:Definition"/>
+ <element name="DefinitionCollection" type="gml:DictionaryType" substitutionGroup="gml:Definition"/>
+ <!-- ===================================================== -->
+ <complexType name="DictionaryType">
+ <annotation>
+ <documentation>A non-abstract bag that is specialized for use as a dictionary which contains a set of definitions. These definitions are referenced from other places, in the same and different XML documents. In this restricted type, the inherited optional "description" element can be used for a description of this dictionary. The inherited optional "name" element can be used for the name(s) of this dictionary. The inherited "metaDataProperty" elements can be used to reference or contain more information about this dictionary. The inherited required gml:id attribute allows the dictionary to be referenced using this handle. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <choice>
+ <element ref="gml:dictionaryEntry">
+ <annotation>
+ <documentation>An entry in this dictionary. The content of an entry can itself be a lower level dictionary or definition collection. This element follows the standard GML property model, so the value may be provided directly or by reference. Note that if the value is provided by reference, this definition does not carry a handle (gml:id) in this context, so does not allow external references to this specific entry in this context. When used in this way the referenced definition will usually be in a dictionary in the same XML document. </documentation>
+ </annotation>
+ </element>
+ <element ref="gml:indirectEntry">
+ <annotation>
+ <documentation>An identified reference to a remote entry in this dictionary, to be used when this entry should be identified to allow external references to this specific entry. </documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===================================================== -->
+ <element name="dictionaryEntry" type="gml:DictionaryEntryType"/>
+ <element name="definitionMember" type="gml:DictionaryEntryType" substitutionGroup="gml:dictionaryEntry"/>
+ <!-- ===================================================== -->
+ <complexType name="DictionaryEntryType">
+ <annotation>
+ <documentation>An entry in a dictionary of definitions. An instance of this type contains or refers to a definition object.
+
+The number of definitions contained in this dictionaryEntry is restricted to one, but a DefinitionCollection or Dictionary that contains multiple definitions can be substituted if needed. Specialized descendents of this dictionaryEntry might be restricted in an application schema to allow only including specified types of definitions as valid entries in a dictionary. </documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Definition">
+ <annotation>
+ <documentation>This element in a dictionary entry contains the actual definition. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>A non-identified reference to a remote entry in this dictionary, to be used when this entry need not be identified to allow external references to this specific entry. The remote entry referenced will usually be in a dictionary in the same XML document. This element will usually be used in dictionaries that are inside of another dictionary. </documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- ===================================================== -->
+ <element name="indirectEntry" type="gml:IndirectEntryType"/>
+ <!-- ===================================================== -->
+ <complexType name="IndirectEntryType">
+ <annotation>
+ <documentation>An entry in a dictionary of definitions that contains a GML object which references a remote definition object. This entry is expected to be convenient in allowing multiple elements in one XML document to contain short (abbreviated XPointer) references, which are resolved to an external definition provided in a Dictionary element in the same XML document. Specialized descendents of this dictionaryEntry might be restricted in an application schema to allow only including specified types of definitions as valid entries in a dictionary. </documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:DefinitionProxy"/>
+ </sequence>
+ </complexType>
+ <!-- ===================================================== -->
+ <element name="DefinitionProxy" type="gml:DefinitionProxyType" substitutionGroup="gml:Definition"/>
+ <!-- ===================================================== -->
+ <complexType name="DefinitionProxyType">
+ <annotation>
+ <documentation>A proxy entry in a dictionary of definitions. An element of this type contains a reference to a remote definition object. This entry is expected to be convenient in allowing multiple elements in one XML document to contain short (abbreviated XPointer) references, which are resolved to an external definition provided in a Dictionary element in the same XML document. </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:definitionRef">
+ <annotation>
+ <documentation>A reference to a remote entry in this dictionary, used when this dictionary entry is identified to allow external references to this specific entry. The remote entry referenced can be in a dictionary in the same or different XML document. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===================================================== -->
+ <element name="definitionRef" type="gml:ReferenceType"/>
+ <!-- =========================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/direction.xsd b/petascope/xml/ogc/gml/3.1.1/base/direction.xsd
new file mode 100644
index 0000000..f33f968
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/direction.xsd
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
+ version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:direction:3.1.1">direction.xsd</appinfo>
+ <documentation>This schema defines "direction" element and type.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="geometryBasic0d1d.xsd"/>
+ <!-- ============================================================== -->
+ <!--=================================================================== -->
+ <element name="direction" type="gml:DirectionPropertyType"/>
+ <!--=================================================================== -->
+ <complexType name="DirectionPropertyType">
+ <annotation>
+ <documentation/>
+ </annotation>
+ <choice>
+ <element ref="gml:DirectionVector"/>
+ <element ref="gml:CompassPoint"/>
+ <element name="DirectionKeyword" type="gml:CodeType"/>
+ <element name="DirectionString" type="gml:StringOrRefType"/>
+ </choice>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!--=================================================================== -->
+ <element name="DirectionVector" type="gml:DirectionVectorType"/>
+ <!--=================================================================== -->
+ <complexType name="DirectionVectorType">
+ <annotation>
+ <documentation>Direction expressed as a vector, either using components, or using angles.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:vector"/>
+ <sequence>
+ <element name="horizontalAngle" type="gml:AngleType"/>
+ <element name="verticalAngle" type="gml:AngleType"/>
+ </sequence>
+ </choice>
+ </complexType>
+ <!--=================================================================== -->
+ <element name="CompassPoint" type="gml:CompassPointEnumeration"/>
+ <!--=================================================================== -->
+ <simpleType name="CompassPointEnumeration">
+ <restriction base="string">
+ <enumeration value="N"/>
+ <enumeration value="NNE"/>
+ <enumeration value="NE"/>
+ <enumeration value="ENE"/>
+ <enumeration value="E"/>
+ <enumeration value="ESE"/>
+ <enumeration value="SE"/>
+ <enumeration value="SSE"/>
+ <enumeration value="S"/>
+ <enumeration value="SSW"/>
+ <enumeration value="SW"/>
+ <enumeration value="WSW"/>
+ <enumeration value="W"/>
+ <enumeration value="WNW"/>
+ <enumeration value="NW"/>
+ <enumeration value="NNW"/>
+ </restriction>
+ </simpleType>
+ <!--=================================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/dynamicFeature.xsd b/petascope/xml/ogc/gml/3.1.1/base/dynamicFeature.xsd
new file mode 100644
index 0000000..38f5252
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/dynamicFeature.xsd
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:dynamicFeature:3.1.1"/>
+ <documentation xml:lang="en">Basic support for tracking moving objects and objects with changing state.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ================================================================== -->
+ <include schemaLocation="feature.xsd"/>
+ <include schemaLocation="direction.xsd"/>
+ <!-- ================================================================== -->
+ <element name="dataSource" type="gml:StringOrRefType"/>
+ <element name="status" type="gml:StringOrRefType"/>
+ <!-- ================================================================== -->
+ <element name="_TimeSlice" type="gml:AbstractTimeSliceType" abstract="true" substitutionGroup="gml:_GML"/>
+ <!-- ===================================== -->
+ <complexType name="AbstractTimeSliceType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">A timeslice encapsulates the time-varying properties of a dynamic feature--it
+ must be extended to represent a timestamped projection of a feature. The dataSource
+ property describes how the temporal data was acquired.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:validTime"/>
+ <element ref="gml:dataSource" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <element name="MovingObjectStatus" type="gml:MovingObjectStatusType" substitutionGroup="gml:_TimeSlice"/>
+ <!-- ===================================== -->
+ <complexType name="MovingObjectStatusType">
+ <annotation>
+ <documentation xml:lang="en">This type encapsulates various dynamic properties of moving objects
+ (points, lines, regions). It is useful for dealing with features whose
+ geometry or topology changes over time.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeSliceType">
+ <sequence>
+ <element ref="gml:location"/>
+ <element name="speed" type="gml:MeasureType" minOccurs="0"/>
+ <element name="bearing" type="gml:DirectionPropertyType" minOccurs="0"/>
+ <element name="acceleration" type="gml:MeasureType" minOccurs="0"/>
+ <element name="elevation" type="gml:MeasureType" minOccurs="0"/>
+ <element ref="gml:status" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <element name="history" type="gml:HistoryPropertyType"/>
+ <!-- ===================================== -->
+ <complexType name="HistoryPropertyType">
+ <annotation>
+ <documentation xml:lang="en">The history relationship associates a feature with a sequence of TimeSlice instances.</documentation>
+ </annotation>
+ <sequence maxOccurs="unbounded">
+ <element ref="gml:_TimeSlice"/>
+ </sequence>
+ </complexType>
+ <!-- ================================================================== -->
+ <element name="track" type="gml:TrackType" substitutionGroup="gml:history"/>
+ <!-- ===================================== -->
+ <complexType name="TrackType">
+ <annotation>
+ <documentation xml:lang="en">The track of a moving object is a sequence of specialized timeslices that indicate the status of the object.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:HistoryPropertyType">
+ <sequence maxOccurs="unbounded">
+ <element ref="gml:MovingObjectStatus"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <group name="dynamicProperties">
+ <sequence>
+ <element ref="gml:validTime" minOccurs="0"/>
+ <element ref="gml:history" minOccurs="0"/>
+ <element ref="gml:dataSource" minOccurs="0"/>
+ </sequence>
+ </group>
+ <!-- ================================================================== -->
+ <complexType name="DynamicFeatureType">
+ <annotation>
+ <documentation>A dynamic feature may possess a history and/or a timestamp.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractFeatureType">
+ <group ref="gml:dynamicProperties"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===================================== -->
+ <complexType name="DynamicFeatureCollectionType">
+ <annotation>
+ <documentation>A dynamic feature collection may possess a history and/or a timestamp.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:FeatureCollectionType">
+ <group ref="gml:dynamicProperties"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/feature.xsd b/petascope/xml/ogc/gml/3.1.1/base/feature.xsd
new file mode 100644
index 0000000..fc50bb3
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/feature.xsd
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:feature:v3.1.1"/>
+ <documentation>GML Feature schema.
+ Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ============================================================== -->
+ <!-- ================== includes and imports ======================= -->
+ <!-- ============================================================== -->
+ <include schemaLocation="geometryBasic2d.xsd"/>
+ <include schemaLocation="temporal.xsd"/>
+ <!-- ============================================================== -->
+ <element name="_Feature" type="gml:AbstractFeatureType" abstract="true" substitutionGroup="gml:_GML"/>
+ <!-- =========================================================== -->
+ <complexType name="AbstractFeatureType" abstract="true">
+ <annotation>
+ <documentation>An abstract feature provides a set of common properties, including id, metaDataProperty, name and description inherited from AbstractGMLType, plus boundedBy. A concrete feature type must derive from this type and specify additional properties in an application schema. A feature must possess an identifying attribute ('id' - 'fid' has been deprecated).</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:boundedBy" minOccurs="0"/>
+ <element ref="gml:location" minOccurs="0">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>deprecated in GML version 3.1</documentation>
+ </annotation>
+ </element>
+ <!-- additional properties must be specified in an application schema -->
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <!-- =========================================================== -->
+ <element name="boundedBy" type="gml:BoundingShapeType"/>
+ <!-- ====================================================================== -->
+ <complexType name="BoundingShapeType">
+ <annotation>
+ <documentation>Bounding shape.</documentation>
+ </annotation>
+ <sequence>
+ <choice>
+ <element ref="gml:Envelope"/>
+ <element ref="gml:Null"/>
+ </choice>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="EnvelopeWithTimePeriod" type="gml:EnvelopeWithTimePeriodType" substitutionGroup="gml:Envelope"/>
+ <!-- ====================================================================== -->
+ <complexType name="EnvelopeWithTimePeriodType">
+ <annotation>
+ <documentation>Envelope that includes also a temporal extent.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:EnvelopeType">
+ <sequence>
+ <element ref="gml:timePosition" minOccurs="2" maxOccurs="2"/>
+ </sequence>
+ <attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ====================================================================== -->
+ <!-- ===== property for feature association ==== -->
+ <element name="featureMember" type="gml:FeaturePropertyType"/>
+ <element name="featureProperty" type="gml:FeaturePropertyType"/>
+ <!-- ============================================================== -->
+ <complexType name="FeaturePropertyType">
+ <annotation>
+ <documentation>Container for a feature - follow gml:AssociationType pattern.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Feature"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ============================================================== -->
+ <!-- ===== property for association of an array of features ===== -->
+ <element name="featureMembers" type="gml:FeatureArrayPropertyType"/>
+ <!-- =========================================================== -->
+ <complexType name="FeatureArrayPropertyType">
+ <annotation>
+ <documentation>Container for features - follow gml:ArrayAssociationType pattern.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Feature" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- ============================================================== -->
+ <!-- =========================================================== -->
+ <element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
+ <!-- =========================================================== -->
+ <complexType name="AbstractFeatureCollectionType" abstract="true">
+ <annotation>
+ <documentation>A feature collection contains zero or more features.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractFeatureType">
+ <sequence>
+ <element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:featureMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="FeatureCollection" type="gml:FeatureCollectionType" substitutionGroup="gml:_Feature"/>
+ <!-- =========================================================== -->
+ <complexType name="FeatureCollectionType">
+ <annotation>
+ <documentation>Concrete generic feature collection.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractFeatureCollectionType"/>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <!-- ============================================================== -->
+ <element name="LocationKeyWord" type="gml:CodeType"/>
+ <element name="LocationString" type="gml:StringOrRefType"/>
+ <!-- =========================================================== -->
+ <!-- ============= common aliases for geometry properties =============== -->
+ <element name="centerOf" type="gml:PointPropertyType"/>
+ <element name="position" type="gml:PointPropertyType"/>
+ <element name="edgeOf" type="gml:CurvePropertyType"/>
+ <element name="centerLineOf" type="gml:CurvePropertyType"/>
+ <element name="extentOf" type="gml:SurfacePropertyType"/>
+ <!-- =========================================================== -->
+ <!-- ================= deprecated components =========================== -->
+ <complexType name="BoundedFeatureType" abstract="true">
+ <annotation>
+ <documentation>Makes boundedBy mandatory</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:AbstractFeatureType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:boundedBy"/>
+ <element ref="gml:location" minOccurs="0">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>deprecated in GML version 3.1</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="location" type="gml:LocationPropertyType">
+ <annotation>
+ <documentation>Deprecated in GML 3.1.0</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="LocationPropertyType">
+ <annotation>
+ <documentation>Convenience property for generalised location.
+ A representative location for plotting or analysis.
+ Often augmented by one or more additional geometry properties with more specific semantics.</documentation>
+ <documentation>Deprecated in GML 3.1.0</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <choice>
+ <element ref="gml:_Geometry"/>
+ <element ref="gml:LocationKeyWord"/>
+ <element ref="gml:LocationString"/>
+ <element ref="gml:Null"/>
+ </choice>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="priorityLocation" type="gml:PriorityLocationPropertyType" substitutionGroup="gml:location">
+ <annotation>
+ <documentation>Deprecated in GML 3.1.0</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="PriorityLocationPropertyType">
+ <annotation>
+ <documentation>G-XML component</documentation>
+ <documentation>Deprecated in GML 3.1.0</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:LocationPropertyType">
+ <attribute name="priority" type="string" use="optional"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/geometryAggregates.xsd b/petascope/xml/ogc/gml/3.1.1/base/geometryAggregates.xsd
new file mode 100644
index 0000000..07be051
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/geometryAggregates.xsd
@@ -0,0 +1,427 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
+ version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryAggregates:3.1.1">geometryAggregates.xsd</appinfo>
+ <documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <include schemaLocation="geometryPrimitives.xsd"/>
+ <!-- =========================================================== -->
+ <!-- aggregate geometry objects -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="_GeometricAggregate" type="gml:AbstractGeometricAggregateType" abstract="true" substitutionGroup="gml:_Geometry">
+ <annotation>
+ <documentation>The "_GeometricAggregate" element is the abstract head of the substituition group for all geometric aggremates.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractGeometricAggregateType" abstract="true">
+ <annotation>
+ <documentation>This is the abstract root type of the geometric aggregates.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometryType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiGeometry" type="gml:MultiGeometryType" substitutionGroup="gml:_GeometricAggregate"/>
+ <!-- ======================================================= -->
+ <complexType name="MultiGeometryType">
+ <annotation>
+ <documentation>A geometry collection must include one or more geometries, referenced through geometryMember elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <annotation>
+ <documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
+NOTE: Array properties cannot reference remote geometry elements.</documentation>
+ </annotation>
+ <element ref="gml:geometryMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:geometryMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiGeometryProperty" type="gml:MultiGeometryPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:multiGeometryProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a geometric aggregate via the XLink-attributes or contains the "multi geometry" element. multiGeometryProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for _GeometricAggregate.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiGeometryPropertyType">
+ <annotation>
+ <documentation>A property that has a geometric aggregate as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_GeometricAggregate"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiPoint" type="gml:MultiPointType" substitutionGroup="gml:_GeometricAggregate"/>
+ <!-- ======================================================= -->
+ <complexType name="MultiPointType">
+ <annotation>
+ <documentation>A MultiPoint is defined by one or more Points, referenced through pointMember elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <annotation>
+ <documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
+NOTE: Array properties cannot reference remote geometry elements.</documentation>
+ </annotation>
+ <element ref="gml:pointMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:pointMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiPointProperty" type="gml:MultiPointPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:multiPointProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a point aggregate via the XLink-attributes or contains the "multi point" element. multiPointProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiPoint.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiPointPropertyType">
+ <annotation>
+ <documentation>A property that has a collection of points as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiPoint"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiCurve" type="gml:MultiCurveType" substitutionGroup="gml:_GeometricAggregate"/>
+ <!-- ======================================================= -->
+ <complexType name="MultiCurveType">
+ <annotation>
+ <documentation>A MultiCurve is defined by one or more Curves, referenced through curveMember elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <annotation>
+ <documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
+NOTE: Array properties cannot reference remote geometry elements.</documentation>
+ </annotation>
+ <element ref="gml:curveMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:curveMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiCurveProperty" type="gml:MultiCurvePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:multiCurveProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a curve aggregate via the XLink-attributes or contains the "multi curve" element. multiCurveProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiCurve.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiCurvePropertyType">
+ <annotation>
+ <documentation>A property that has a collection of curves as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiCurve"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="MultiSurface" type="gml:MultiSurfaceType" substitutionGroup="gml:_GeometricAggregate"/>
+ <!-- ======================================================= -->
+ <complexType name="MultiSurfaceType">
+ <annotation>
+ <documentation>A MultiSurface is defined by one or more Surfaces, referenced through surfaceMember elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <annotation>
+ <documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
+NOTE: Array properties cannot reference remote geometry elements.</documentation>
+ </annotation>
+ <element ref="gml:surfaceMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:surfaceMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiSurfaceProperty" type="gml:MultiSurfacePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:multiSurfaceProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a surface aggregate via the XLink-attributes or contains the "multi surface" element. multiSurfaceProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiSurface.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiSurfacePropertyType">
+ <annotation>
+ <documentation>A property that has a collection of surfaces as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiSurface"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- ============================================================ -->
+ <element name="MultiSolid" type="gml:MultiSolidType" substitutionGroup="gml:_GeometricAggregate"/>
+ <!-- ======================================================= -->
+ <complexType name="MultiSolidType">
+ <annotation>
+ <documentation>A MultiSolid is defined by one or more Solids, referenced through solidMember elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <annotation>
+ <documentation>The members of the geometric aggregate can be specified either using the "standard" property or the array property style. It is also valid to use both the "standard" and the array property style in the same collection.
+NOTE: Array properties cannot reference remote geometry elements.</documentation>
+ </annotation>
+ <element ref="gml:solidMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:solidMembers" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="multiSolidProperty" type="gml:MultiSolidPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:multiSolidProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a solid aggregate via the XLink-attributes or contains the "multi solid" element. multiSolidProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for MultiSolid.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiSolidPropertyType">
+ <annotation>
+ <documentation>A property that has a collection of solids as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiSolid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <!--
+
+ The following types and elements are deprecated and should not be used !
+ For backward compatibility with GML2 only
+
+ -->
+ <!-- =========================================================== -->
+ <element name="MultiPolygon" type="gml:MultiPolygonType" substitutionGroup="gml:_GeometricAggregate">
+ <annotation>
+ <documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "MultiSurface" element instead.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="MultiLineString" type="gml:MultiLineStringType" substitutionGroup="gml:_GeometricAggregate">
+ <annotation>
+ <documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "MultiCurve" element instead.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MultiLineStringType">
+ <annotation>
+ <documentation>A MultiLineString is defined by one or more LineStrings, referenced through lineStringMember elements. Deprecated with GML version 3.0. Use MultiCurveType instead.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <element ref="gml:lineStringMember" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MultiLineStringPropertyType">
+ <annotation>
+ <documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use MultiCurvePropertyType instead.
+A property that has a collection of line strings as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiLineString"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MultiPolygonType">
+ <annotation>
+ <documentation>A MultiPolygon is defined by one or more Polygons, referenced through polygonMember elements. Deprecated with GML version 3.0. Use MultiSurfaceType instead.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricAggregateType">
+ <sequence>
+ <element ref="gml:polygonMember" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="MultiPolygonPropertyType">
+ <annotation>
+ <documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use MultiSurfacePropertyType instead.
+
+A property that has a collection of polygons as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:MultiPolygon"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="geometryMember" type="gml:GeometryPropertyType">
+ <annotation>
+ <documentation>This property element either references a geometry element via the XLink-attributes or contains the geometry element.</documentation>
+ </annotation>
+ </element>
+ <element name="geometryMembers" type="gml:GeometryArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of geometry elements. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <element name="pointMember" type="gml:PointPropertyType">
+ <annotation>
+ <documentation>This property element either references a Point via the XLink-attributes or contains the Point element.</documentation>
+ </annotation>
+ </element>
+ <element name="pointMembers" type="gml:PointArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of points. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <element name="curveMembers" type="gml:CurveArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of curves. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <element name="surfaceMember" type="gml:SurfacePropertyType">
+ <annotation>
+ <documentation>This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for "_Surface".</documentation>
+ </annotation>
+ </element>
+ <element name="surfaceMembers" type="gml:SurfaceArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of surfaces. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <element name="solidMember" type="gml:SolidPropertyType">
+ <annotation>
+ <documentation>This property element either references a solid via the XLink-attributes or contains the solid element. A solid element is any element which is substitutable for "_Solid".</documentation>
+ </annotation>
+ </element>
+ <element name="solidMembers" type="gml:SolidArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of solids. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <!-- some named geometry properties - for backward compatibility with GML2 -->
+ <element name="multiCenterOf" type="gml:MultiPointPropertyType"/>
+ <element name="multiPosition" type="gml:MultiPointPropertyType"/>
+ <element name="multiCenterLineOf" type="gml:MultiCurvePropertyType"/>
+ <element name="multiEdgeOf" type="gml:MultiCurvePropertyType"/>
+ <element name="multiCoverage" type="gml:MultiSurfacePropertyType"/>
+ <element name="multiExtentOf" type="gml:MultiSurfacePropertyType"/>
+ <!--
+
+ The following types and elements are deprecated and should not be used !
+
+ -->
+ <element name="multiLocation" type="gml:MultiPointPropertyType">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveMember" instead.
+This property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
+ </annotation>
+ </element>
+ <element name="lineStringMember" type="gml:LineStringPropertyType">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveMember" instead.
+This property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
+ </annotation>
+ </element>
+ <element name="polygonMember" type="gml:PolygonPropertyType">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "surfaceMember" instead.
+This property element either references a polygon via the XLink-attributes or contains the polygon element.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/geometryBasic0d1d.xsd b/petascope/xml/ogc/gml/3.1.1/base/geometryBasic0d1d.xsd
new file mode 100644
index 0000000..b4cd483
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/geometryBasic0d1d.xsd
@@ -0,0 +1,599 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by David Burggraf (Galdos Systems Inc) -->
+<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron"
+ xmlns="http://www.w3.org/2001/XMLSchema">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic0d1d:v3.1.1">geometryBasic0d1d.xsd</appinfo>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic0d1d:v3.1.1">
+ <sch:title>Schematron validation</sch:title>
+ <sch:pattern name="Check SRS tags">
+ <sch:rule abstract="true" id="CRSLabels">
+ <sch:report test="not(@srsDimension) or @srsName">The presence of a dimension attribute implies the presence of the srsName attribute.</sch:report>
+ <sch:report test="not(@axisLabels) or @srsName">The presence of an axisLabels attribute implies the presence of the srsName attribute.</sch:report>
+ <sch:report test="not(@uomLabels) or @srsName">The presence of an uomLabels attribute implies the presence of the srsName attribute.</sch:report>
+ <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>
+ </sch:rule>
+ </sch:pattern>
+ <sch:pattern name="Check Dimension">
+ <sch:rule abstract="true" id="Count">
+ <sch:report test="not(@count) or @srsDimension">The presence of a count attribute implies the presence of the dimension attribute.</sch:report>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ============================================================== -->
+ <include schemaLocation="measures.xsd">
+ <annotation>
+ <documentation>This includes not only measures.xsd, but also units.xsd, gmlBase.xsd and basicTypes.xsd.</documentation>
+ </annotation>
+ </include>
+ <!-- ============================================================== -->
+ <!-- =========== abstract supertype for geometry objects =================== -->
+ <!-- ============================================================== -->
+ <element name="_Geometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>The "_Geometry" element is the abstract head of the substituition group for all geometry elements of GML 3. This
+ includes pre-defined and user-defined geometry elements. Any geometry element must be a direct or indirect extension/restriction
+ of AbstractGeometryType and must be directly or indirectly in the substitution group of "_Geometry".</documentation>
+ <appinfo>
+ <sch:pattern name="Check SRS tags">
+ <sch:rule context="gml:_Geometry">
+ <sch:extends rule="CRSLabels"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="GeometryPropertyType">
+ <annotation>
+ <documentation>A geometric property can either be any geometry element encapsulated in an element of this type or an XLink reference
+ to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Note that either
+ the reference or the contained element must be given, but not both or none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Geometry"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference
+ remote resources (including those elsewhere in the same document). A simple link element can be constructed by
+ including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation
+ of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create
+ sophisticated links between resources; such links can be used to reference remote properties. A simple link element
+ can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by
+ including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="GeometryArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of geometry elements. The elements are always contained in the array property,
+ referencing geometry elements or arrays of geometry elements is not supported.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Geometry" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="AbstractGeometryType" abstract="true">
+ <annotation>
+ <documentation>All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may
+ have an identifying attribute ("gml:id"), a name (attribute "name") and a description (attribute "description"). It may be associated
+ with a spatial reference system (attribute "srsName"). The following rules shall be adhered: - Every geometry type shall derive
+ from this abstract type. - Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the
+ substitution group of _Geometry.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <attribute name="gid" type="string" use="optional">
+ <annotation>
+ <documentation>This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3.
+ This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used
+ anymore and may be deleted in future versions of GML without further notice.</documentation>
+ </annotation>
+ </attribute>
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <attributeGroup name="SRSReferenceGroup">
+ <annotation>
+ <documentation>Optional reference to the CRS used by this geometry, with optional additional information to simplify use when
+ a more complete definition of the CRS is not needed.</documentation>
+ </annotation>
+ <attribute name="srsName" type="anyURI" use="optional">
+ <annotation>
+ <documentation>In general this reference points to a CRS instance of gml:CoordinateReferenceSystemType
+ (see coordinateReferenceSystems.xsd). For well known references it is not required that the CRS description exists at the
+ location the URI points to. If no srsName attribute is given, the CRS must be specified as part of the larger context this
+ geometry element is part of, e.g. a geometric element like point, curve, etc. It is expected that this attribute will be specified
+ at the direct position level only in rare cases.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="srsDimension" type="positiveInteger" use="optional">
+ <annotation>
+ <documentation>The "srsDimension" is the length of coordinate sequence (the number of entries in the list). This dimension is
+ specified by the coordinate reference system. When the srsName attribute is omitted, this attribute shall be omitted.</documentation>
+ </annotation>
+ </attribute>
+ <attributeGroup ref="gml:SRSInformationGroup"/>
+ </attributeGroup>
+ <!-- =================================================== -->
+ <attributeGroup name="SRSInformationGroup">
+ <annotation>
+ <documentation>Optional additional and redundant information for a CRS to simplify use when a more complete definition of the
+ CRS is not needed. This information shall be the same as included in the more complete definition of the CRS, referenced by the
+ srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes
+ shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted.</documentation>
+ </annotation>
+ <attribute name="axisLabels" type="gml:NCNameList" use="optional">
+ <annotation>
+ <documentation>Ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis
+ labels, after spaces and forbiddden characters are removed. When the srsName attribute is included, this attribute is optional.
+ When the srsName attribute is omitted, this attribute shall also be omitted.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="uomLabels" type="gml:NCNameList" use="optional">
+ <annotation>
+ <documentation>Ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the
+ gml:catalogSymbol should be used for this uom labels, after spaces and forbiddden characters are removed. When the
+ axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute
+ shall also be omitted.</documentation>
+ </annotation>
+ </attribute>
+ </attributeGroup>
+ <!-- ============================================================== -->
+ <element name="_GeometricPrimitive" type="gml:AbstractGeometricPrimitiveType" abstract="true" substitutionGroup="gml:_Geometry">
+ <annotation>
+ <documentation>The "_GeometricPrimitive" element is the abstract head of the substituition group for all (pre- and user-defined)
+ geometric primitives.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="AbstractGeometricPrimitiveType" abstract="true">
+ <annotation>
+ <documentation>This is the abstract root type of the geometric primitives. A geometric primitive is a geometric object that is not
+ decomposed further into other primitives in the system. All primitives are oriented in the direction implied by the sequence of their
+ coordinate tuples.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometryType"/>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="GeometricPrimitivePropertyType">
+ <annotation>
+ <documentation>A property that has a geometric primitive as its value domain can either be an appropriate geometry element
+ encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry
+ elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither
+ both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_GeometricPrimitive"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
+ resources (including those elsewhere in the same document). A simple link element can be constructed by including a
+ specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide
+ Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between
+ resources; such links can be used to reference remote properties. A simple link element can be used to implement pointer
+ functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- primitive geometry objects (0-dimensional) -->
+ <!-- ============================================================== -->
+ <element name="Point" type="gml:PointType" substitutionGroup="gml:_GeometricPrimitive"/>
+ <!-- ============================================================== -->
+ <complexType name="PointType">
+ <annotation>
+ <documentation>A Point is defined by a single coordinate tuple.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricPrimitiveType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the direct poisiton of a point. 1. The "pos" element is of type
+ DirectPositionType.</documentation>
+ </annotation>
+ <element ref="gml:pos"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers. Use "pos"
+ instead. The "coordinates" element shall only be used for coordinates with ordinates that require a string
+ representation, e.g. DMS representations.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:coord">
+ <annotation>
+ <documentation>Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for
+ backwards compatibility with GML 2.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="pointProperty" type="gml:PointPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:pointProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a point via the XLink-attributes or contains the point element. pointProperty
+ is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that
+ is substitutable for Point.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <element name="pointRep" type="gml:PointPropertyType">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="PointPropertyType">
+ <annotation>
+ <documentation>A property that has a point as its value domain can either be an appropriate geometry element encapsulated in an
+ element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located
+ elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Point"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
+ resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific
+ set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium.
+ XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be
+ used to reference remote properties. A simple link element can be used to implement pointer functionality, and this functionality has
+ been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="pointArrayProperty" type="gml:PointArrayPropertyType"/>
+ <!-- =========================================================== -->
+ <complexType name="PointArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of points. The elements are always contained in the array property, referencing geometry
+ elements or arrays of geometry elements is not supported.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:Point" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- primitive geometry objects (1-dimensional) -->
+ <!-- ============================================================== -->
+ <element name="_Curve" type="gml:AbstractCurveType" abstract="true" substitutionGroup="gml:_GeometricPrimitive">
+ <annotation>
+ <documentation>The "_Curve" element is the abstract head of the substituition group for all (continuous) curve elements.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="AbstractCurveType" abstract="true">
+ <annotation>
+ <documentation>An abstraction of a curve to support the different levels of complexity. The curve can always be viewed as a geometric
+ primitive, i.e. is continuous.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricPrimitiveType"/>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="curveProperty" type="gml:CurvePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:curveProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a curve via the XLink-attributes or contains the curve element. curveProperty is the
+ predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is
+ substitutable for _Curve.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="CurvePropertyType">
+ <annotation>
+ <documentation>A property that has a curve as its value domain can either be an appropriate geometry element encapsulated in an
+ element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere
+ in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Curve"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote
+ resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific
+ set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium.
+ XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used
+ to reference remote properties. A simple link element can be used to implement pointer functionality, and this functionality has been built
+ into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="curveArrayProperty" type="gml:CurveArrayPropertyType"/>
+ <!-- =========================================================== -->
+ <complexType name="CurveArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of curves. The elements are always contained in the array property, referencing geometry elements
+ or arrays of geometry elements is not supported.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Curve" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="LineString" type="gml:LineStringType" substitutionGroup="gml:_Curve"/>
+ <!-- =========================================================== -->
+ <complexType name="LineStringType">
+ <annotation>
+ <documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate
+ tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is
+ implemented by LineStringSegment.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a line string. 1. A sequence of "pos"
+ (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part
+ of this curve, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference
+ another point defined outside of this curve (reuse of existing points). 2. The "posList" element allows for a compact way to
+ specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong
+ to this curve only. The number of direct positions in the list must be at least two.</documentation>
+ </annotation>
+ <choice minOccurs="2" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility
+ with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:coord">
+ <annotation>
+ <documentation>Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards
+ compatibility with GML 2.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <!-- positions -->
+ <!-- =========================================================== -->
+ <element name="pos" type="gml:DirectPositionType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check SRS tags">
+ <sch:rule context="gml:pos">
+ <sch:extends rule="CRSLabels"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="DirectPositionType">
+ <annotation>
+ <documentation>DirectPosition instances hold the coordinates for a position within some coordinate reference system (CRS). Since
+ DirectPositions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the
+ "srsName" attribute will in general be missing, if this particular DirectPosition is included in a larger element with such a reference to a
+ CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:doubleList">
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="posList" type="gml:DirectPositionListType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check SRS tags">
+ <sch:rule context="gml:posList">
+ <sch:extends rule="CRSLabels"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <appinfo>
+ <sch:pattern name="Check Dimension">
+ <sch:rule context="gml:posList">
+ <sch:extends rule="Count"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="DirectPositionListType">
+ <annotation>
+ <documentation>DirectPositionList instances hold the coordinates for a sequence of direct positions within the same coordinate
+ reference system (CRS).</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:doubleList">
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
+ <attribute name="count" type="positiveInteger" use="optional">
+ <annotation>
+ <documentation>"count" allows to specify the number of direct positions in the list. If the attribute count is present then
+ the attribute srsDimension shall be present, too.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <element name="vector" type="gml:VectorType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check SRS tags">
+ <sch:rule context="gml:vector">
+ <sch:extends rule="CRSLabels"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================== -->
+ <complexType name="VectorType">
+ <annotation>
+ <documentation>Vector instances hold the compoents for a (usually spatial) vector within some coordinate reference system (CRS).
+ Since Vectors will often be included in larger objects that have references to CRS, the "srsName" attribute may be missing.
+ In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS.
+
+ 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>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:doubleList">
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <group name="geometricPositionGroup">
+ <annotation>
+ <documentation>A geometric position represented either by a DirectPosition or a Point.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ </choice>
+ </group>
+ <!-- ============================================================== -->
+ <group name="geometricPositionListGroup">
+ <annotation>
+ <documentation>A list of geometric positions represented either by a DirectPosition or a Point.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:posList"/>
+ <group ref="gml:geometricPositionGroup" maxOccurs="unbounded"/>
+ </choice>
+ </group>
+ <!-- ============================================================== -->
+ <element name="coordinates" type="gml:CoordinatesType">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <!-- Envelope -->
+ <!-- =========================================================== -->
+ <element name="Envelope" type="gml:EnvelopeType"/>
+ <!-- =========================================================== -->
+ <complexType name="EnvelopeType">
+ <annotation>
+ <documentation>Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct
+ position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope),
+ the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the
+ envelope).</documentation>
+ </annotation>
+ <choice>
+ <sequence>
+ <element name="lowerCorner" type="gml:DirectPositionType"/>
+ <element name="upperCorner" type="gml:DirectPositionType"/>
+ </sequence>
+ <element ref="gml:coord" minOccurs="2" maxOccurs="2">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>deprecated with GML version 3.0</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:pos" minOccurs="2" maxOccurs="2">
+ <annotation>
+ <appinfo>deprecated</appinfo>
+ <documentation>Deprecated with GML version 3.1. Use the explicit properties "lowerCorner" and "upperCorner" instead.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use the explicit properties "lowerCorner" and "upperCorner" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <attributeGroup ref="gml:SRSReferenceGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <!-- The following types and elements are deprecated and should not be used ! -->
+ <element name="coord" type="gml:CoordType">
+ <annotation>
+ <documentation>Deprecated with GML 3.0 and included for backwards compatibility with GML 2. Use the "pos" element instead.</documentation>
+ </annotation>
+ </element>
+ <complexType name="CoordType">
+ <annotation>
+ <documentation>Represents a coordinate tuple in one, two, or three dimensions. Deprecated with GML 3.0 and replaced by
+ DirectPositionType.</documentation>
+ </annotation>
+ <sequence>
+ <element name="X" type="decimal"/>
+ <element name="Y" type="decimal" minOccurs="0"/>
+ <element name="Z" type="decimal" minOccurs="0"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="lineStringProperty" type="gml:LineStringPropertyType">
+ <annotation>
+ <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "curveProperty" instead. This
+ property element either references a line string via the XLink-attributes or contains the line string element.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="LineStringPropertyType">
+ <annotation>
+ <documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use
+ CurvePropertyType instead. A property that has a line string as its value domain can either be an appropriate geometry element encapsulated
+ in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere
+ in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:LineString"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources
+ (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes.
+ The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to
+ be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+ A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by
+ including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/geometryBasic2d.xsd b/petascope/xml/ogc/gml/3.1.1/base/geometryBasic2d.xsd
new file mode 100644
index 0000000..21d46da
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/geometryBasic2d.xsd
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryBasic2d:3.1.1">geometryBasic2d.xsd</appinfo>
+ <documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <include schemaLocation="geometryBasic0d1d.xsd"/>
+ <!-- =========================================================== -->
+ <!-- primitive geometry objects (2-dimensional) -->
+ <!-- =========================================================== -->
+ <element name="_Surface" type="gml:AbstractSurfaceType" abstract="true" substitutionGroup="gml:_GeometricPrimitive">
+ <annotation>
+ <documentation>The "_Surface" element is the abstract head of the substituition group for all (continuous) surface elements.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractSurfaceType">
+ <annotation>
+ <documentation>An abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricPrimitiveType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="surfaceProperty" type="gml:SurfacePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:surfaceProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for _Surface.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="SurfacePropertyType">
+ <annotation>
+ <documentation>A property that has a surface as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Surface"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="surfaceArrayProperty" type="gml:SurfaceArrayPropertyType"/>
+ <!-- =========================================================== -->
+ <complexType name="SurfaceArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements is not supported.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Surface" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:_Surface"/>
+ <!-- =========================================================== -->
+ <complexType name="PolygonType">
+ <annotation>
+ <documentation>A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfaceType">
+ <sequence>
+ <element ref="gml:exterior" minOccurs="0"/>
+ <element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- rings (closed curves for surface boundaries) -->
+ <!-- =========================================================== -->
+ <element name="_Ring" type="gml:AbstractRingType" abstract="true" substitutionGroup="gml:_Geometry">
+ <annotation>
+ <documentation>The "_Ring" element is the abstract head of the substituition group for all closed boundaries of a surface patch.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractRingType" abstract="true">
+ <annotation>
+ <documentation>An abstraction of a ring to support surface boundaries of different complexity.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometryType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="exterior" type="gml:AbstractRingPropertyType">
+ <annotation>
+ <documentation>A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.</documentation>
+ </annotation>
+ </element>
+ <element name="interior" type="gml:AbstractRingPropertyType">
+ <annotation>
+ <documentation>A boundary of a surface consists of a number of rings. The "interior" rings seperate the surface / surface patch from the area enclosed by the rings.</documentation>
+ </annotation>
+ </element>
+ <element name="outerBoundaryIs" type="gml:AbstractRingPropertyType" substitutionGroup="gml:exterior">
+ <annotation>
+ <documentation>Deprecated with GML 3.0, included only for backwards compatibility with GML 2. Use "exterior" instead.</documentation>
+ </annotation>
+ </element>
+ <element name="innerBoundaryIs" type="gml:AbstractRingPropertyType" substitutionGroup="gml:interior">
+ <annotation>
+ <documentation>Deprecated with GML 3.0, included only for backwards compatibility with GML 2. Use "interior" instead.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractRingPropertyType">
+ <annotation>
+ <documentation>Encapsulates a ring to represent the surface boundary property of a surface.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Ring"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:_Ring"/>
+ <!-- =========================================================== -->
+ <complexType name="LinearRingType">
+ <annotation>
+ <documentation>A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractRingType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a linear ring.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this ring, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this ring (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this ring only. The number of direct positions in the list must be at least four.</documentation>
+ </annotation>
+ <choice minOccurs="4" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:coord" minOccurs="4" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Deprecated with GML version 3.0 and included for backwards compatibility with GML 2. Use "pos" elements instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="LinearRingPropertyType">
+ <annotation>
+ <documentation>Encapsulates a ring to represent properties in features or geometry collections.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:LinearRing"/>
+ </choice>
+ </complexType>
+ <!-- =========================================================== -->
+ <!--
+
+ The following types and elements are deprecated and should not be used !
+
+ -->
+ <!-- =========================================================== -->
+ <element name="polygonProperty" type="gml:PolygonPropertyType">
+ <annotation>
+ <documentation>Deprecated with GML 3.0 and included only for backwards compatibility with GML 2.0. Use "surfaceProperty" instead.
+This property element either references a polygon via the XLink-attributes or contains the polygon element.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="PolygonPropertyType">
+ <annotation>
+ <documentation>This type is deprecated with GML 3 and shall not be used. It is included for backwards compatibility with GML 2. Use SurfacePropertyType instead.
+A property that has a polygon as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:Polygon"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/geometryComplexes.xsd b/petascope/xml/ogc/gml/3.1.1/base/geometryComplexes.xsd
new file mode 100644
index 0000000..825179b
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/geometryComplexes.xsd
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryComplexes:v3.1.1">geometryComplexes.xsd</appinfo>
+ <documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <include schemaLocation="geometryAggregates.xsd"/>
+ <!-- =========================================================== -->
+ <element name="CompositeCurve" type="gml:CompositeCurveType" substitutionGroup="gml:_Curve"/>
+ <!-- =========================================================== -->
+ <complexType name="CompositeCurveType">
+ <annotation>
+ <documentation>A CompositeCurve is defined by a sequence of (orientable) curves such that the each curve in the sequence terminates at the start point of the subsequent curve in the list.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveType">
+ <sequence>
+ <element ref="gml:curveMember" maxOccurs="unbounded">
+ <annotation>
+ <documentation>This element references or contains one curve in the composite curve. The curves are contiguous, the collection of curves is ordered.
+NOTE: This definition allows for a nested structure, i.e. a CompositeCurve may use, for example, another CompositeCurve as a curve member.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="CompositeCurvePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:CompositeCurve"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="CompositeSurface" type="gml:CompositeSurfaceType" substitutionGroup="gml:_Surface"/>
+ <!-- =========================================================== -->
+ <complexType name="CompositeSurfaceType">
+ <annotation>
+ <documentation>A CompositeSurface is defined by a set of orientable surfaces. A composite surface is geometry type with all the geometric properties of a (primitive) surface. Essentially, a composite surface is a collection of surfaces that join in pairs on common boundary curves and which, when considered as a whole, form a single surface.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfaceType">
+ <sequence>
+ <element ref="gml:surfaceMember" maxOccurs="unbounded">
+ <annotation>
+ <documentation>This element references or contains one surface in the composite surface. The surfaces are contiguous.
+NOTE: This definition allows for a nested structure, i.e. a CompositeSurface may use, for example, another CompositeSurface as a member.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="CompositeSurfacePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:CompositeSurface"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="CompositeSolid" type="gml:CompositeSolidType" substitutionGroup="gml:_Solid"/>
+ <!-- =========================================================== -->
+ <complexType name="CompositeSolidType">
+ <annotation>
+ <documentation>A composite solid is a geometry type with all the geometric properties of a (primitive) solid.
+ Essentially, a composite solid is a collection of solids that join in pairs on common boundary surfaces and which, when considered as a whole, form a single solid.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSolidType">
+ <sequence>
+ <element ref="gml:solidMember" maxOccurs="unbounded">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:solidMember">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This element references or contains one solid in the composite solid. The solids are contiguous.
+NOTE: This definition allows for a nested structure, i.e. a CompositeSolid may use, for example, another CompositeSolid as a member.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ============================================================== -->
+ <complexType name="CompositeSolidPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:CompositeSolid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- complex/composite geometry objects -->
+ <!-- =========================================================== -->
+ <element name="GeometricComplex" type="gml:GeometricComplexType" substitutionGroup="gml:_Geometry"/>
+ <!-- =========================================================== -->
+ <complexType name="GeometricComplexType">
+ <annotation>
+ <documentation>A geometric complex.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometryType">
+ <sequence>
+ <element name="element" type="gml:GeometricPrimitivePropertyType" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="GeometricComplexPropertyType">
+ <annotation>
+ <documentation>A property that has a geometric complex as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.
+NOTE: The allowed geometry elements contained in such a property (or referenced by it) have to be modelled by an XML Schema choice element since the composites inherit both from geometric complex *and* geometric primitive and are already part of the _GeometricPrimitive substitution group.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <choice>
+ <element ref="gml:GeometricComplex"/>
+ <element ref="gml:CompositeCurve"/>
+ <element ref="gml:CompositeSurface"/>
+ <element ref="gml:CompositeSolid"/>
+ </choice>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/geometryPrimitives.xsd b/petascope/xml/ogc/gml/3.1.1/base/geometryPrimitives.xsd
new file mode 100644
index 0000000..2f28c64
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/geometryPrimitives.xsd
@@ -0,0 +1,1606 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Clemens Portele (interactive instruments) -->
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
+ version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:geometryPrimitives:3.1.1">geometryPrimitives.xsd</appinfo>
+ <documentation>Copyright (c) 2001-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- =========================================================== -->
+ <include schemaLocation="geometryBasic2d.xsd"/>
+ <!-- =========================================================== -->
+ <element name="Curve" type="gml:CurveType" substitutionGroup="gml:_Curve"/>
+ <!-- =========================================================== -->
+ <complexType name="CurveType">
+ <annotation>
+ <documentation>Curve is a 1-dimensional primitive. Curves are continuous, connected, and have a measurable length in terms of the coordinate system.
+ A curve is composed of one or more curve segments. Each curve segment within a curve may be defined using a different interpolation method. The curve segments are connected to one another, with the end point of each segment except the last being the start point of the next segment in the segment list.
+ The orientation of the curve is positive.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveType">
+ <sequence>
+ <element ref="gml:segments">
+ <annotation>
+ <documentation>This element encapsulates the segments of the curve.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="baseCurve" type="gml:CurvePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:baseCurve">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a curve via the XLink-attributes or contains the curve element. A curve element is any element which is substitutable for "_Curve".</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="OrientableCurve" type="gml:OrientableCurveType" substitutionGroup="gml:_Curve"/>
+ <!-- =========================================================== -->
+ <complexType name="OrientableCurveType">
+ <annotation>
+ <documentation>OrientableCurve consists of a curve and an orientation. If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another _Curve with a parameterization that reverses the sense of the curve traversal.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveType">
+ <sequence>
+ <element ref="gml:baseCurve">
+ <annotation>
+ <documentation>References or contains the base curve (positive orientation).
+NOTE: This definition allows for a nested structure, i.e. an OrientableCurve may use another OrientableCurve as its base curve.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+">
+ <annotation>
+ <documentation>If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another _Curve with a parameterization that reverses the sense of the curve traversal. "+" is the default value.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- curve segments (1-dimensional) -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="_CurveSegment" type="gml:AbstractCurveSegmentType" abstract="true">
+ <annotation>
+ <documentation>The "_CurveSegment" element is the abstract head of the substituition group for all curve segment elements, i.e. continuous segments of the same interpolation mechanism.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractCurveSegmentType" abstract="true">
+ <annotation>
+ <documentation>Curve segment defines a homogeneous segment of a curve.</documentation>
+ </annotation>
+ <sequence/>
+ <attribute name="numDerivativesAtStart" type="integer" use="optional" default="0">
+ <annotation>
+ <documentation>The attribute "numDerivativesAtStart" specifies the type of continuity between this curve segment and its predecessor. If this is the first curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity.
+NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="numDerivativesAtEnd" type="integer" use="optional" default="0">
+ <annotation>
+ <documentation>The attribute "numDerivativesAtEnd" specifies the type of continuity between this curve segment and its successor. If this is the last curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity.
+NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="numDerivativeInterior" type="integer" use="optional" default="0">
+ <annotation>
+ <documentation>The attribute "numDerivativesInterior" specifies the type of continuity that is guaranteed interior to the curve. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity.
+NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="segments" type="gml:CurveSegmentArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of curve segments. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="CurveSegmentArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of curve segments.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_CurveSegment" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="LineStringSegment" type="gml:LineStringSegmentType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="LineStringSegmentType">
+ <annotation>
+ <documentation>A LineStringSegment is a curve segment that is defined by two or more coordinate tuples, with linear interpolation between them.
+ Note: LineStringSegment implements GM_LineString of ISO 19107.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be at least two.</documentation>
+ </annotation>
+ <choice minOccurs="2" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="linear">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For a LineStringSegment the interpolation is fixed as "linear".</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="ArcString" type="gml:ArcStringType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="ArcStringType">
+ <annotation>
+ <documentation>An ArcString is a curve segment that uses three-point circular arc interpolation.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be at least three.</documentation>
+ </annotation>
+ <choice minOccurs="3" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc3Points">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For an ArcString the interpolation is fixed as "circularArc3Points".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="numArc" type="integer" use="optional">
+ <annotation>
+ <documentation>The number of arcs in the arc string can be explicitly stated in this attribute. The number of control points in the arc string must be 2 * numArc + 1.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="Arc" type="gml:ArcType" substitutionGroup="gml:ArcString"/>
+ <!-- =========================================================== -->
+ <complexType name="ArcType">
+ <annotation>
+ <documentation>An Arc is an arc string with only one arc unit, i.e. three control points.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ArcStringType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be three.</documentation>
+ </annotation>
+ <choice minOccurs="3" maxOccurs="3">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </sequence>
+ <attribute name="numArc" type="integer" use="optional" fixed="1">
+ <annotation>
+ <documentation>An arc is an arc string consiting of a single arc, the attribute is fixed to "1".</documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="Circle" type="gml:CircleType" substitutionGroup="gml:Arc"/>
+ <!-- =========================================================== -->
+ <complexType name="CircleType">
+ <annotation>
+ <documentation>A Circle is an arc whose ends coincide to form a simple closed loop. The "start" and "end" bearing are equal and shall be the bearing for the first controlPoint listed. The three control points must be distinct non-co-linear points for the Circle to be unambiguously defined. The arc is simply extended past the third control point until the first control point is encountered.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:ArcType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="ArcStringByBulge" type="gml:ArcStringByBulgeType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="ArcStringByBulgeType">
+ <annotation>
+ <documentation>This variant of the arc computes the mid points of the arcs instead of storing the coordinates directly. The control point sequence consists of the start and end points of each arc plus the bulge.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be at least two.</documentation>
+ </annotation>
+ <choice minOccurs="2" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="bulge" type="double" maxOccurs="unbounded">
+ <annotation>
+ <documentation>The bulge controls the offset of each arc's midpoint. The "bulge" is the real number multiplier for the normal that determines the offset direction of the midpoint of each arc. The length of the bulge sequence is exactly 1 less than the length of the control point array, since a bulge is needed for each pair of adjacent points in the control point array. The bulge is not given by a distance, since it is simply a multiplier for the normal.
+The midpoint of the resulting arc is given by: midPoint = ((startPoint + endPoint)/2.0) + bulge*normal</documentation>
+ </annotation>
+ </element>
+ <element name="normal" type="gml:VectorType" maxOccurs="unbounded">
+ <annotation>
+ <documentation>The attribute "normal" is a vector normal (perpendicular) to the chord of the arc, the line joining the first and last
+point of the arc. In a 2D coordinate system, there are only two possible directions for the normal, and it is often given as a signed real, indicating its length, with a positive sign indicating a left turn angle from the chord line, and a negative sign indicating a right turn from the chord. In 3D, the normal determines the plane of the arc, along with the start and endPoint of the arc.
+The normal is usually a unit vector, but this is not absolutely necessary. If the normal is a zero vector, the geometric object becomes equivalent to the straight line between the two end points. The length of the normal sequence is exactly the same as for the bulge sequence, 1 less than the control point sequence length.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc2PointWithBulge">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For an ArcStringByBulge the interpolation is fixed as "circularArc2PointWithBulge".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="numArc" type="integer" use="optional">
+ <annotation>
+ <documentation>The number of arcs in the arc string can be explicitly stated in this attribute. The number of control points in the arc string must be numArc + 1.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="ArcByBulge" type="gml:ArcByBulgeType" substitutionGroup="gml:ArcStringByBulge"/>
+ <!-- =========================================================== -->
+ <complexType name="ArcByBulgeType">
+ <annotation>
+ <documentation>An ArcByBulge is an arc string with only one arc unit, i.e. two control points and one bulge.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ArcStringByBulgeType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be two.</documentation>
+ </annotation>
+ <choice minOccurs="2" maxOccurs="2">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="bulge" type="double">
+ <annotation>
+ <documentation>The bulge controls the offset of each arc's midpoint. The "bulge" is the real number multiplier for the normal that determines the offset direction of the midpoint of each arc. The length of the bulge sequence is exactly 1 less than the length of the control point array, since a bulge is needed for each pair of adjacent points in the control point array. The bulge is not given by a distance, since it is simply a multiplier for the normal.
+The midpoint of the resulting arc is given by: midPoint = ((startPoint + endPoint)/2.0) + bulge*normal</documentation>
+ </annotation>
+ </element>
+ <element name="normal" type="gml:VectorType">
+ <annotation>
+ <documentation>The attribute "normal" is a vector normal (perpendicular) to the chord of the arc, the line joining the first and last
+point of the arc. In a 2D coordinate system, there are only two possible directions for the normal, and it is often given as a signed real, indicating its length, with a positive sign indicating a left turn angle from the chord line, and a negative sign indicating a right turn from the chord. In 3D, the normal determines the plane of the arc, along with the start and endPoint of the arc.
+The normal is usually a unit vector, but this is not absolutely necessary. If the normal is a zero vector, the geometric object becomes equivalent to the straight line between the two end points. The length of the normal sequence is exactly the same as for the bulge sequence, 1 less than the control point sequence length.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="numArc" type="integer" use="optional" fixed="1">
+ <annotation>
+ <documentation>An arc is an arc string consiting of a single arc, the attribute is fixed to "1".</documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="ArcByCenterPoint" type="gml:ArcByCenterPointType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="ArcByCenterPointType">
+ <annotation>
+ <documentation>This variant of the arc requires that the points on the arc have to be computed instead of storing the coordinates directly. The control point is the center point of the arc plus the radius and the bearing at start and end. This represenation can be used only in 2D.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) element. The "pos" element contains a center point that is only part of this curve segment, a "pointProperty" element contains a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element can be used to specifiy the coordinates of the center point, too. The number of direct positions in the list must be one.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="radius" type="gml:LengthType">
+ <annotation>
+ <documentation>The radius of the arc.</documentation>
+ </annotation>
+ </element>
+ <element name="startAngle" type="gml:AngleType" minOccurs="0">
+ <annotation>
+ <documentation>The bearing of the arc at the start.</documentation>
+ </annotation>
+ </element>
+ <element name="endAngle" type="gml:AngleType" minOccurs="0">
+ <annotation>
+ <documentation>The bearing of the arc at the end.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArcCenterPointWithRadius">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For an ArcByCenterPoint the interpolation is fixed as "circularArcCenterPointWithRadius".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="numArc" type="integer" use="required" fixed="1">
+ <annotation>
+ <documentation>Since this type describes always a single arc, the attribute is fixed to "1".</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="CircleByCenterPoint" type="gml:CircleByCenterPointType" substitutionGroup="gml:ArcByCenterPoint"/>
+ <!-- =========================================================== -->
+ <complexType name="CircleByCenterPointType">
+ <annotation>
+ <documentation>A CircleByCenterPoint is an ArcByCenterPoint with identical start and end angle to form a full circle. Again, this represenation can be used only in 2D.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:ArcByCenterPointType"/>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================================ -->
+ <element name="OffsetCurve" type="gml:OffsetCurveType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- ================================================================================ -->
+ <complexType name="OffsetCurveType">
+ <annotation>
+ <documentation>An offset curve is a curve at a constant
+ distance from the basis curve. They can be useful as a cheap
+ and simple alternative to constructing curves that are offsets
+ by definition.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <element name="offsetBase" type="gml:CurvePropertyType">
+ <annotation>
+ <documentation>offsetBase is a reference to thecurve from which this
+ curve is define as an offset.</documentation>
+ </annotation>
+ </element>
+ <element name="distance" type="gml:LengthType">
+ <annotation>
+ <documentation>distance is the distance at which the
+ offset curve is generated from the basis curve. In 2D systems, positive distances
+ are to be to the left of the basis curve, and the negative distances are to be to the
+ right of the basis curve.</documentation>
+ </annotation>
+ </element>
+ <element name="refDirection" type="gml:VectorType" minOccurs="0">
+ <annotation>
+ <documentation>refDistance is used to define the vector
+ direction of the offset curve from the basis curve. It can
+ be omitted in the 2D case, where the distance can be
+ positive or negative. In that case, distance defines left
+ side (positive distance) or right side (negative distance)
+ with respect to the tangent to the basis curve.
+
+ In 3D the basis curve shall have a well defined tangent
+ direction for every point. The offset curve at any point
+ in 3D, the basis curve shall have a well-defined tangent
+ direction for every point. The offset curve at any point
+ (parameter) on the basis curve c is in the direction
+ - - - -
+ s = v x t where v = c.refDirection()
+ and
+ -
+ t = c.tangent()
+ -
+ For the offset direction to be well-defined, v shall not
+ on any point of the curve be in the same, or opposite,
+ direction as
+ -
+ t.
+
+ The default value of the refDirection shall be the local
+ co-ordinate axis vector for elevation, which indicates up for
+ the curve in a geographic sense.
+
+ NOTE! If the refDirection is the positive tangent to the
+ local elevation axis ("points upward"), then the offset
+ vector points to the left of the curve when viewed from
+ above.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ====================================================== -->
+ <element name="AffinePlacement" type="gml:AffinePlacementType"/>
+ <!-- ====================================================== -->
+ <complexType name="AffinePlacementType">
+ <annotation>
+ <documentation>A placement takes a standard geometric
+ construction and places it in geographic space. It defines a
+ transformation from a constructive parameter space to the
+ co-ordinate space of the co-ordinate reference system being used.
+ Parameter spaces in formulae in this International Standard are
+ given as (u, v) in 2D and(u, v, w) in 3D. Co-ordinate reference
+ systems positions are given in formulae, in this International
+ Standard, by either (x, y) in 2D, or (x, y, z) in 3D.
+
+ Affine placements are defined by linear transformations from
+ parameter space to the target co-ordiante space. 2-dimensional
+ Cartesian parameter space,(u,v) transforms into 3-dimensional co-
+ ordinate reference systems,(x,y,z) by using an affine
+ transformation,(u,v)->(x,y,z) which is defined :
+
+ x ux vx x0
+ u
+ y = uy vy + y0
+ v
+ x uz vz z0
+
+ Then, given this equation, the location element of the
+ AffinePlacement is the direct position (x0, y0, z0), which is the
+ target position of the origin in (u, v). The two reference
+ directions (ux, uy, uz) and (vx, vy, vz) are the target
+ directions of the unit vectors at the origin in (u, v).</documentation>
+ </annotation>
+ <sequence>
+ <element name="location" type="gml:DirectPositionType">
+ <annotation>
+ <documentation>The location property gives
+ the target of the parameter space origin. This is the vector
+ (x0, y0, z0) in the formulae above.</documentation>
+ </annotation>
+ </element>
+ <element name="refDirection" type="gml:VectorType" maxOccurs="unbounded">
+ <annotation>
+ <documentation>The attribute refDirection gives the
+target directions for the co-ordinate basis vectors of the
+parameter space. These are the columns of the matrix in the
+formulae given above. The number of directions given shall be
+inDimension. The dimension of the directions shall be
+outDimension.</documentation>
+ </annotation>
+ </element>
+ <element name="inDimension" type="positiveInteger">
+ <annotation>
+ <documentation>Dimension of the constructive parameter
+ space.</documentation>
+ </annotation>
+ </element>
+ <element name="outDimension" type="positiveInteger">
+ <annotation>
+ <documentation>Dimension of the co-ordinate space.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- = global element in "_CurveSegment" substitution group ========================== -->
+ <element name="Clothoid" type="gml:ClothoidType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- ======================================================================= -->
+ <complexType name="ClothoidType">
+ <annotation>
+ <documentation>A clothoid, or Cornu's spiral, is plane
+ curve whose curvature is a fixed function of its length.
+ In suitably chosen co-ordinates it is given by Fresnel's
+ integrals.
+
+ x(t) = 0-integral-t cos(AT*T/2)dT
+
+ y(t) = 0-integral-t sin(AT*T/2)dT
+
+ This geometry is mainly used as a transition curve between
+ curves of type straight line to circular arc or circular arc
+ to circular arc. With this curve type it is possible to
+ achieve a C2-continous transition between the above mentioned
+ curve types. One formula for the Clothoid is A*A = R*t where
+ A is constant, R is the varying radius of curvature along the
+ the curve and t is the length along and given in the Fresnel
+ integrals.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <element name="refLocation">
+ <complexType>
+ <sequence>
+ <element ref="gml:AffinePlacement">
+ <annotation>
+ <documentation>The "refLocation" is an affine mapping
+ that places the curve defined by the Fresnel Integrals
+ into the co-ordinate reference system of this object.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="scaleFactor" type="decimal">
+ <annotation>
+ <documentation>The element gives the value for the
+ constant in the Fresnel's integrals.</documentation>
+ </annotation>
+ </element>
+ <element name="startParameter" type="double">
+ <annotation>
+ <documentation>The startParameter is the arc length
+ distance from the inflection point that will be the start
+ point for this curve segment. This shall be lower limit
+ used in the Fresnel integral and is the value of the
+ constructive parameter of this curve segment at its start
+ point. The startParameter can either be positive or
+ negative.
+ NOTE! If 0.0 (zero), lies between the startParameter and
+ the endParameter of the clothoid, then the curve goes
+ through the clothoid's inflection point, and the direction
+ of its radius of curvature, given by the second
+ derivative vector, changes sides with respect to the
+ tangent vector. The term length distance for the</documentation>
+ </annotation>
+ </element>
+ <element name="endParameter" type="double">
+ <annotation>
+ <documentation>The endParameter is the arc length
+ distance from the inflection point that will be the end
+ point for this curve segment. This shall be upper limit
+ used in the Fresnel integral and is the value of the
+ constructive parameter of this curve segment at its
+ start point. The startParameter can either be positive
+ or negative.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- = global element in "_CurveSegment" substitution group = -->
+ <element name="GeodesicString" type="gml:GeodesicStringType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- ======================================================== -->
+ <complexType name="GeodesicStringType">
+ <annotation>
+ <documentation>A GeodesicString consists of sequence of
+ geodesic segments. The type essentially combines a sequence of
+ Geodesic into a single object.
+ The GeodesicString is computed from two or more positions and an
+ interpolation using geodesics defined from the geoid (or
+ ellipsoid) of the co-ordinate reference system being used.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <choice>
+ <element ref="gml:posList"/>
+ <group ref="gml:geometricPositionGroup" minOccurs="2" maxOccurs="unbounded"/>
+ </choice>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="geodesic">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the
+ curve interpolation mechanism used for this segment. This
+ mechanism uses the control points and control parameters to
+ determine the position of this curve segment. For an
+ GeodesicString the interpolation is fixed as "geodesic".</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- = global element in "_CurveSegment" substitution group = -->
+ <element name="Geodesic" type="gml:GeodesicType" substitutionGroup="gml:GeodesicString"/>
+ <!-- ======================================================== -->
+ <complexType name="GeodesicType">
+ <annotation>
+ <documentation>A Geodesic consists of two distinct
+ positions joined by a geodesic curve. The control points of
+ a Geodesic shall lie on the geodesic between its start
+ point and end points. Between these two points, a geodesic
+ curve defined from ellipsoid or geoid model used by the
+ co-ordinate reference systems may be used to interpolate
+ other positions. Any other point in the controlPoint array
+ must fall on this geodesic.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:GeodesicStringType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="CubicSpline" type="gml:CubicSplineType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="CubicSplineType">
+ <annotation>
+ <documentation>Cubic splines are similar to line strings in that they are a sequence of segments each with its own defining function. A cubic spline uses the control points and a set of derivative parameters to define a piecewise 3rd degree polynomial interpolation. Unlike line-strings, the parameterization by arc length is not necessarily still a polynomial.
+ The function describing the curve must be C2, that is, have a continuous 1st and 2nd derivative at all points, and pass through the controlPoints in the order given. Between the control points, the curve segment is defined by a cubic polynomial. At each control point, the polynomial changes in such a manner that the 1st and 2nd derivative vectors are the same from either side. The control parameters record must contain vectorAtStart, and vectorAtEnd which are the unit tangent vectors at controlPoint[1] and controlPoint[n] where n = controlPoint.count.
+ Note: only the direction of the vectors is relevant, not their length.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only. The number of direct positions in the list must be at least three.</documentation>
+ </annotation>
+ <choice minOccurs="2" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="vectorAtStart" type="gml:VectorType">
+ <annotation>
+ <documentation>"vectorAtStart" is the unit tangent vector at the start point of the spline.</documentation>
+ </annotation>
+ </element>
+ <element name="vectorAtEnd" type="gml:VectorType">
+ <annotation>
+ <documentation>"vectorAtEnd" is the unit tangent vector at the end point of the spline.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="cubicSpline">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For a CubicSpline the interpolation is fixed as "cubicSpline".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="degree" type="integer" fixed="3">
+ <annotation>
+ <documentation>The degree for a cubic spline is "3".</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="KnotType">
+ <annotation>
+ <documentation>A knot is a breakpoint on a piecewise spline curve.</documentation>
+ </annotation>
+ <sequence>
+ <element name="value" type="double">
+ <annotation>
+ <documentation>The property "value" is the value of the parameter at the knot of the spline. The sequence of knots shall be a non-decreasing sequence. That is, each knot's value in the sequence shall be equal to or greater than the previous knot's value. The use of equal consecutive knots is normally handled using the multiplicity.</documentation>
+ </annotation>
+ </element>
+ <element name="multiplicity" type="nonNegativeInteger">
+ <annotation>
+ <documentation>The property "multiplicity" is the multiplicity of this knot used in the definition of the spline (with the same weight).</documentation>
+ </annotation>
+ </element>
+ <element name="weight" type="double">
+ <annotation>
+ <documentation>The property "weight" is the value of the averaging weight used for this knot of the spline.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="KnotPropertyType">
+ <annotation>
+ <documentation>Encapsulates a knot to use it in a geometric type.</documentation>
+ </annotation>
+ <sequence>
+ <element name="Knot" type="gml:KnotType"/>
+ </sequence>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="BSpline" type="gml:BSplineType" substitutionGroup="gml:_CurveSegment"/>
+ <!-- =========================================================== -->
+ <complexType name="BSplineType">
+ <annotation>
+ <documentation>A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. Knots are breakpoints on the curve that connect its pieces. They are given as a non-decreasing sequence of real numbers. If the weights in the knots are equal then it is a polynomial spline. The degree is the algebraic degree of the basis functions.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractCurveSegmentType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only.</documentation>
+ </annotation>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="degree" type="nonNegativeInteger">
+ <annotation>
+ <documentation>The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.</documentation>
+ </annotation>
+ </element>
+ <element name="knot" type="gml:KnotPropertyType" minOccurs="2" maxOccurs="unbounded">
+ <annotation>
+ <documentation>The property "knot" shall be the sequence of distinct knots used to define the spline basis functions.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" default="polynomialSpline">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For a BSpline the interpolation can be either "polynomialSpline" or "rationalSpline", default is "polynomialSpline".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="isPolynomial" type="boolean" use="optional">
+ <annotation>
+ <documentation>The attribute isPolynomial is set to true if this is a polynomial spline.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="knotType" type="gml:KnotTypesType" use="optional">
+ <annotation>
+ <documentation>The attribute "knotType" gives the type of knot distribution used in defining this spline. This is for information only
+and is set according to the different construction-functions.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========== global element in "_CurveSegment" substitution group ================ -->
+ <element name="Bezier" type="gml:BezierType" substitutionGroup="gml:BSpline"/>
+ <!-- =========================================================== -->
+ <complexType name="BezierType">
+ <annotation>
+ <documentation>Bezier curves are polynomial splines that use Bezier or Bernstein polynomials for interpolation purposes. It is a special case of the B-Spline curve with two knots.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:BSplineType">
+ <sequence>
+ <choice>
+ <annotation>
+ <documentation>GML supports two different ways to specify the control points of a curve segment.
+1. A sequence of "pos" (DirectPositionType) or "pointProperty" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve segment, "pointProperty" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve segment (reuse of existing points).
+2. The "posList" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve segment only.</documentation>
+ </annotation>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:pos"/>
+ <element ref="gml:pointProperty"/>
+ <element ref="gml:pointRep">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:posList"/>
+ <element ref="gml:coordinates">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0. Use "posList" instead.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element name="degree" type="nonNegativeInteger">
+ <annotation>
+ <documentation>The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.</documentation>
+ </annotation>
+ </element>
+ <element name="knot" type="gml:KnotPropertyType" minOccurs="2" maxOccurs="2">
+ <annotation>
+ <documentation>The property "knot" shall be the sequence of distinct knots used to define the spline basis functions.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="polynomialSpline">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism
+uses the control points and control parameters to determine the position of this curve segment. For a Bezier the interpolation is fixed as "polynomialSpline".</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="isPolynomial" type="boolean" fixed="true">
+ <annotation>
+ <documentation>The attribute isPolynomial is set to true as this is a polynomial spline.</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="knotType" type="gml:KnotTypesType" use="prohibited">
+ <annotation>
+ <documentation>The property "knotType" is not relevant for Bezier curve segments.</documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Surface" type="gml:SurfaceType" substitutionGroup="gml:_Surface"/>
+ <!-- =========================================================== -->
+ <complexType name="SurfaceType">
+ <annotation>
+ <documentation>A Surface is a 2-dimensional primitive and is composed of one or more surface patches. The surface patches are connected to one another.
+ The orientation of the surface is positive ("up"). The orientation of a surface chooses an "up" direction through the choice of the upward normal, which, if the surface is not a cycle, is the side of the surface from which the exterior boundary appears counterclockwise. Reversal of the surface orientation reverses the curve orientation of each boundary component, and interchanges the conceptual "up" and "down" direction of the surface. If the surface is the boundary of a solid, the "up" direction is usually outward. For closed surfaces, which have no boundary, the up direction is that of the surface patches, which must be consistent with one another. Its included surface patches describe the interior structure of the Surface.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfaceType">
+ <sequence>
+ <element ref="gml:patches">
+ <annotation>
+ <documentation>This element encapsulates the patches of the surface.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="baseSurface" type="gml:SurfacePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:baseSurface">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for "_Surface".</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="OrientableSurface" type="gml:OrientableSurfaceType" substitutionGroup="gml:_Surface"/>
+ <!-- =========================================================== -->
+ <complexType name="OrientableSurfaceType">
+ <annotation>
+ <documentation>OrientableSurface consists of a surface and an orientation. If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a Surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfaceType">
+ <sequence>
+ <element ref="gml:baseSurface">
+ <annotation>
+ <documentation>References or contains the base surface (positive orientation).</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+">
+ <annotation>
+ <documentation>If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a Surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface". "+" is the default value.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- surface patches (2-dimensional) -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="_SurfacePatch" type="gml:AbstractSurfacePatchType" abstract="true">
+ <annotation>
+ <documentation>The "_SurfacePatch" element is the abstract head of the substituition group for all surface pach elements describing a continuous portion of a surface.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractSurfacePatchType" abstract="true">
+ <annotation>
+ <documentation>A surface patch defines a homogenuous portion of a surface.</documentation>
+ </annotation>
+ <sequence/>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="patches" type="gml:SurfacePatchArrayPropertyType">
+ <annotation>
+ <documentation>This property element contains a list of surface patches. The order of the elements is significant and shall be preserved when processing the array.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="SurfacePatchArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of surface patches.</documentation>
+ </annotation>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:_SurfacePatch"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="PolygonPatch" type="gml:PolygonPatchType" substitutionGroup="gml:_SurfacePatch"/>
+ <!-- =========================================================== -->
+ <complexType name="PolygonPatchType">
+ <annotation>
+ <documentation>A PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves are coplanar and the polygon uses planar interpolation in its interior. Implements GM_Polygon of ISO 19107.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfacePatchType">
+ <sequence>
+ <element ref="gml:exterior" minOccurs="0"/>
+ <element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the interpolation mechanism used for this surface patch. Currently only planar surface patches are defined in GML 3, the attribute is fixed to "planar", i.e. the interpolation method shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Triangle" type="gml:TriangleType" substitutionGroup="gml:_SurfacePatch"/>
+ <!-- =========================================================== -->
+ <complexType name="TriangleType">
+ <annotation>
+ <documentation>Represents a triangle as a surface with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring must be four.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfacePatchType">
+ <sequence>
+ <element ref="gml:exterior">
+ <annotation>
+ <documentation>Constraint: The Ring shall be a LinearRing and must form a triangle, the first and the last position must be co-incident.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the interpolation mechanism used for this surface patch. Currently only planar surface patches are defined in GML 3, the attribute is fixed to "planar", i.e. the interpolation method shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Rectangle" type="gml:RectangleType" substitutionGroup="gml:_SurfacePatch"/>
+ <!-- =========================================================== -->
+ <complexType name="RectangleType">
+ <annotation>
+ <documentation>Represents a rectangle as a surface with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring must be five.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfacePatchType">
+ <sequence>
+ <element ref="gml:exterior">
+ <annotation>
+ <documentation>Constraint: The Ring shall be a LinearRing and must form a rectangle; the first and the last position must be co-incident.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="interpolation" type="gml:SurfaceInterpolationType" fixed="planar">
+ <annotation>
+ <documentation>The attribute "interpolation" specifies the interpolation mechanism used for this surface patch. Currently only planar surface patches are defined in GML 3, the attribute is fixed to "planar", i.e. the interpolation method shall return points on a single plane. The boundary of the patch shall be contained within that plane.</documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="curveMember" type="gml:CurvePropertyType">
+ <annotation>
+ <documentation>This property element either references a curve via the XLink-attributes or contains the curve element. A curve element is any element which is substitutable for "_Curve".</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="Ring" type="gml:RingType" substitutionGroup="gml:_Ring"/>
+ <!-- =========================================================== -->
+ <complexType name="RingType">
+ <annotation>
+ <documentation>A Ring is used to represent a single connected component of a surface boundary. It consists of a sequence of curves connected in a cycle (an object whose boundary is empty).
+A Ring is structurally similar to a composite curve in that the endPoint of each curve in the sequence is the startPoint of the next curve in the Sequence. Since the sequence is circular, there is no exception to this rule. Each ring, like all boundaries, is a cycle and each ring is simple.
+NOTE: Even though each Ring is simple, the boundary need not be simple. The easiest case of this is where one of the interior rings of a surface is tangent to its exterior ring.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractRingType">
+ <sequence>
+ <element ref="gml:curveMember" maxOccurs="unbounded">
+ <annotation>
+ <documentation>This element references or contains one curve in the composite curve. The curves are contiguous, the collection of curves is ordered.
+NOTE: This definition allows for a nested structure, i.e. a CompositeCurve may use, for example, another CompositeCurve as a curve member.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="RingPropertyType">
+ <annotation>
+ <documentation>Encapsulates a ring to represent properties in features or geometry collections.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:Ring"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <group name="PointGrid">
+ <annotation>
+ <documentation>Reference points which are organised
+ into sequences or grids(sequences of equal length sequences).</documentation>
+ </annotation>
+ <sequence>
+ <element name="row" maxOccurs="unbounded">
+ <complexType>
+ <sequence>
+ <group ref="gml:geometricPositionListGroup"/>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </group>
+ <!-- ====================================================== -->
+ <element name="_ParametricCurveSurface" type="gml:AbstractParametricCurveSurfaceType" abstract="true" substitutionGroup="gml:_SurfacePatch"/>
+ <!-- ====================================================== -->
+ <complexType name="AbstractParametricCurveSurfaceType">
+ <annotation>
+ <documentation>
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSurfacePatchType"/>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="_GriddedSurface" type="gml:AbstractGriddedSurfaceType" abstract="true" substitutionGroup="gml:_ParametricCurveSurface"/>
+ <!-- ======================================================== -->
+ <complexType name="AbstractGriddedSurfaceType">
+ <annotation>
+ <documentation>A gridded surface is a parametric curve
+ surface derived from a rectangular grid in the parameter
+ space. The rows from this grid are control points for
+ horizontal surface curves; the columns are control points
+ for vertical surface curves. The working assumption is that
+ for a pair of parametric co-ordinates (s, t) that the
+ horizontal curves for each integer offset are calculated
+ and evaluated at "s". The defines a sequence of control
+ points:
+
+ cn(s) : s 1 .....columns
+
+ From this sequence a vertical curve is calculated for "s",
+ and evaluated at "t". In most cases, the order of
+ calculation (horizontal-vertical vs. vertical-horizontal)
+ does not make a difference. Where it does, the horizontal-
+ vertical order shall be the one used.
+
+ Logically, any pair of curve interpolation types can lead
+ to a subtype of GriddedSurface. The following clauses
+ define some most commonly encountered surfaces that can
+ be represented in this manner.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractParametricCurveSurfaceType">
+ <sequence>
+ <group ref="gml:PointGrid">
+ <annotation>
+ <documentation>This is the double indexed sequence
+ of control points, given in row major form.
+ NOTE! There in no assumption made about the shape
+ of the grid.
+ For example, the positions need not effect a "21/2D"
+ surface, consecutive points may be equal in any or all
+ of the ordinates. Further, the curves in either or both
+ directions may close.</documentation>
+ </annotation>
+ </group>
+ <element name="rows" type="integer" minOccurs="0">
+ <annotation>
+ <documentation>The attribute rows gives the number
+ of rows in the parameter grid.</documentation>
+ </annotation>
+ </element>
+ <element name="columns" type="integer" minOccurs="0">
+ <annotation>
+ <documentation>The attribute columns gives the number
+ of columns in the parameter grid.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="Cone" type="gml:ConeType" substitutionGroup="gml:_GriddedSurface"/>
+ <!-- ======================================================== -->
+ <complexType name="ConeType">
+ <annotation>
+ <documentation>A cone is a gridded surface given as a
+ family of conic sections whose control points vary linearly.
+ NOTE! A 5-point ellipse with all defining positions identical
+ is a point. Thus, a truncated elliptical cone can be given as a
+ 2x5 set of control points
+ ((P1, P1, P1, P1, P1), (P2, P3, P4, P5, P6)). P1 is the apex
+ of the cone. P2, P3,P4, P5 and P6 are any five distinct points
+ around the base ellipse of the cone. If the horizontal curves
+ are circles as opposed to ellipses, the a circular cone can
+ be constructed using ((P1, P1, P1),(P2, P3, P4)). The apex most
+ not coinside with the other plane.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGriddedSurfaceType">
+ <attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
+ <attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="linear"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="Cylinder" type="gml:CylinderType" substitutionGroup="gml:_GriddedSurface"/>
+ <!-- ======================================================== -->
+ <complexType name="CylinderType">
+ <annotation>
+ <documentation>A cylinder is a gridded surface given as a
+ family of circles whose positions vary along a set of parallel
+ lines, keeping the cross sectional horizontal curves of a
+ constant shape.
+ NOTE! Given the same working assumptions as in the previous
+ note, a Cylinder can be given by two circles, giving us the
+ control points of the form ((P1, P2, P3),(P4, P5, P6)).</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGriddedSurfaceType">
+ <attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
+ <attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="linear"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="Sphere" type="gml:SphereType" substitutionGroup="gml:_GriddedSurface"/>
+ <!-- ======================================================== -->
+ <complexType name="SphereType">
+ <annotation>
+ <documentation>A sphere is a gridded surface given as a
+ family of circles whose positions vary linearly along the
+ axis of the sphere, and whise radius varies in proportions to
+ the cosine function of the central angle. The horizontal
+ circles resemble lines of constant latitude, and the vertical
+ arcs resemble lines of constant longitude.
+ NOTE! If the control points are sorted in terms of increasing
+ longitude, and increasing latitude, the upNormal of a sphere
+ is the outward normal.
+ EXAMPLE If we take a gridded set of latitudes and longitudes
+ in degrees,(u,v) such as
+
+ (-90,-180) (-90,-90) (-90,0) (-90, 90) (-90, 180)
+ (-45,-180) (-45,-90) (-45,0) (-45, 90) (-45, 180)
+ ( 0,-180) ( 0,-90) ( 0,0) ( 0, 90) ( 0, 180)
+ ( 45,-180) ( 45,-90) ( 45,0) ( 45, -90) ( 45, 180)
+ ( 90,-180) ( 90,-90) ( 90,0) ( 90, -90) ( 90, 180)
+
+ And map these points to 3D using the usual equations (where R
+ is the radius of the required sphere).
+
+ z = R sin u
+ x = (R cos u)(sin v)
+ y = (R cos u)(cos v)
+
+ We have a sphere of Radius R, centred at (0,0), as a gridded
+ surface. Notice that the entire first row and the entire last
+ row of the control points map to a single point in each 3D
+ Euclidean space, North and South poles respectively, and that
+ each horizontal curve closes back on itself forming a
+ geometric cycle. This gives us a metrically bounded (of finite
+ size), topologically unbounded (not having a boundary, a
+ cycle) surface.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGriddedSurfaceType">
+ <attribute name="horizontalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
+ <attribute name="verticalCurveType" type="gml:CurveInterpolationType" fixed="circularArc3Points"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="PolyhedralSurface" type="gml:PolyhedralSurfaceType" substitutionGroup="gml:Surface"/>
+ <!-- ======================================================== -->
+ <complexType name="PolyhedralSurfaceType">
+ <annotation>
+ <documentation>A polyhedral surface is a surface composed
+ of polygon surfaces connected along their common boundary
+ curves. This differs from the surface type only in the
+ restriction on the types of surface patches acceptable.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:SurfaceType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:polygonPatches">
+ <annotation>
+ <documentation>This property encapsulates the patches of
+ the polyhedral surface.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="polygonPatches" type="gml:PolygonPatchArrayPropertyType" substitutionGroup="gml:patches">
+ <annotation>
+ <documentation>This property element contains a list of
+ polygon patches. The order of the patches is significant and
+ shall be preserved when processing the list.</documentation>
+ </annotation>
+ </element>
+ <!-- ======================================================== -->
+ <complexType name="PolygonPatchArrayPropertyType">
+ <annotation>
+ <documentation>This type defines a container for an array of
+ polygon patches.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:SurfacePatchArrayPropertyType">
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:PolygonPatch"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="trianglePatches" type="gml:TrianglePatchArrayPropertyType" substitutionGroup="gml:patches">
+ <annotation>
+ <documentation>This property element contains a list of
+ triangle patches. The order of the patches is significant and
+ shall be preserved when processing the list.</documentation>
+ </annotation>
+ </element>
+ <!-- ======================================================== -->
+ <complexType name="TrianglePatchArrayPropertyType">
+ <annotation>
+ <documentation>This type defines a container for an array of
+ triangle patches.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:SurfacePatchArrayPropertyType">
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:Triangle"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="TriangulatedSurface" type="gml:TriangulatedSurfaceType" substitutionGroup="gml:Surface"/>
+ <!-- ======================================================== -->
+ <complexType name="TriangulatedSurfaceType">
+ <annotation>
+ <documentation>A triangulated surface is a polyhedral
+ surface that is composed only of triangles. There is no
+ restriction on how the triangulation is derived.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:SurfaceType">
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ <element ref="gml:trianglePatches">
+ <annotation>
+ <documentation>This property encapsulates the patches of
+ the triangulated surface.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ======================================================== -->
+ <element name="Tin" type="gml:TinType" substitutionGroup="gml:TriangulatedSurface"/>
+ <!-- ======================================================== -->
+ <complexType name="TinType">
+ <annotation>
+ <documentation>A tin is a triangulated surface that uses
+ the Delauny algorithm or a similar algorithm complemented with
+ consideration of breaklines, stoplines, and maximum length of
+ triangle sides. These networks satisfy the Delauny's criterion
+ away from the modifications: Fore each triangle in the
+ network, the circle passing through its vertices does not
+ contain, in its interior, the vertex of any other triangle.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:TriangulatedSurfaceType">
+ <sequence>
+ <element name="stopLines" type="gml:LineStringSegmentArrayPropertyType" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Stoplines are lines where the local
+ continuity or regularity of the surface is questionable.
+ In the area of these pathologies, triangles intersecting
+ a stopline shall be removed from the tin surface, leaving
+ holes in the surface. If coincidence occurs on surface
+ boundary triangles, the result shall be a change of the
+ surface boundary. Stoplines contains all these
+ pathological segments as a set of line strings.</documentation>
+ </annotation>
+ </element>
+ <element name="breakLines" type="gml:LineStringSegmentArrayPropertyType" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Breaklines are lines of a critical
+ nature to the shape of the surface, representing local
+ ridges, or depressions (such as drainage lines) in the
+ surface. As such their constituent segments must be
+ included in the tin eve if doing so
+ violates the Delauny criterion. Break lines contains these
+ critical segments as a set of line strings.</documentation>
+ </annotation>
+ </element>
+ <element name="maxLength" type="gml:LengthType">
+ <annotation>
+ <documentation>Areas of the surface where data is not
+ sufficiently dense to assure reasonable calculation shall be
+ removed by adding a retention criterion for triangles based
+ on the length of their sides. For many triangle sides
+ exceeding maximum length, the adjacent triangles to that
+ triangle side shall be removed from the surface.</documentation>
+ </annotation>
+ </element>
+ <element name="controlPoint">
+ <annotation>
+ <documentation>The corners of the triangles in the TIN
+ are often referred to as pots. ControlPoint shall contain a
+ set of the GM_Position used as posts for this TIN. Since each
+ TIN contains triangles, there must be at least 3 posts. The
+ order in which these points are given does not affect the
+ surface that is represented. Application schemas may add
+ information based on ordering of control points to facilitate
+ the reconstruction of the TIN from the control points.</documentation>
+ </annotation>
+ <complexType>
+ <choice>
+ <element ref="gml:posList"/>
+ <group ref="gml:geometricPositionGroup" minOccurs="3" maxOccurs="unbounded"/>
+ </choice>
+ </complexType>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="LineStringSegmentArrayPropertyType">
+ <sequence>
+ <element ref="gml:LineStringSegment" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- primitive geometry objects (3-dimensional) -->
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="_Solid" type="gml:AbstractSolidType" abstract="true" substitutionGroup="gml:_GeometricPrimitive">
+ <annotation>
+ <documentation>The "_Solid" element is the abstract head of the substituition group for all (continuous) solid elements.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractSolidType">
+ <annotation>
+ <documentation>An abstraction of a solid to support the different levels of complexity. A solid is always contiguous.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometricPrimitiveType"/>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="solidProperty" type="gml:SolidPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:solidProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>This property element either references a solid via the XLink-attributes or contains the solid element. solidProperty is the predefined property which can be used by GML Application Schemas whenever a GML Feature has a property with a value that is substitutable for _Solid.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="SolidPropertyType">
+ <annotation>
+ <documentation>A property that has a solid as its value domain can either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element must be given, but neither both nor none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Solid"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup">
+ <annotation>
+ <documentation>This attribute group includes the XLink attributes (see xlinks.xsd). XLink is used in GML to reference remote resources (including those elsewhere in the same document). A simple link element can be constructed by including a specific set of XLink attributes. The XML Linking Language (XLink) is currently a Proposed Recommendation of the World Wide Web Consortium. XLink allows elements to be inserted into XML documents so as to create sophisticated links between resources; such links can be used to reference remote properties.
+A simple link element can be used to implement pointer functionality, and this functionality has been built into various GML 3 elements by including the gml:AssociationAttributeGroup.</documentation>
+ </annotation>
+ </attributeGroup>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="solidArrayProperty" type="gml:SolidArrayPropertyType"/>
+ <!-- =========================================================== -->
+ <complexType name="SolidArrayPropertyType">
+ <annotation>
+ <documentation>A container for an array of solids. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements is not supported.</documentation>
+ </annotation>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:_Solid"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Solid" type="gml:SolidType" substitutionGroup="gml:_Solid"/>
+ <!-- =========================================================== -->
+ <complexType name="SolidType">
+ <annotation>
+ <documentation>A solid is the basis for 3-dimensional geometry. The extent of a solid is defined by the boundary surfaces (shells). A shell is represented by a composite surface, where every shell is used to represent a single connected component of the boundary of a solid. It consists of a composite surface (a list of orientable surfaces) connected in a topological cycle (an object whose boundary is empty). Unlike a Ring, a Shell's elements have no natural sort order. Like Rings, Shells are simple.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractSolidType">
+ <sequence>
+ <element name="exterior" type="gml:SurfacePropertyType" minOccurs="0">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:exterior">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>Boundaries of solids are similar to surface boundaries. In normal 3-dimensional Euclidean space, one (composite) surface is distinguished as the exterior. In the more general case, this is not always possible.</documentation>
+ </annotation>
+ </element>
+ <element name="interior" type="gml:SurfacePropertyType" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule context="gml:interior">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>Boundaries of solids are similar to surface boundaries.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- predefined simple types (enumerations, simple typed arrays) -->
+ <!-- =========================================================== -->
+ <simpleType name="CurveInterpolationType">
+ <annotation>
+ <documentation>CurveInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an
+application schema.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="linear"/>
+ <enumeration value="geodesic"/>
+ <enumeration value="circularArc3Points"/>
+ <enumeration value="circularArc2PointWithBulge"/>
+ <enumeration value="circularArcCenterPointWithRadius"/>
+ <enumeration value="elliptical"/>
+ <enumeration value="clothoid"/>
+ <enumeration value="conic"/>
+ <enumeration value="polynomialSpline"/>
+ <enumeration value="cubicSpline"/>
+ <enumeration value="rationalSpline"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="SurfaceInterpolationType">
+ <annotation>
+ <documentation>SurfaceInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an
+application schema.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="none"/>
+ <enumeration value="planar"/>
+ <enumeration value="spherical"/>
+ <enumeration value="elliptical"/>
+ <enumeration value="conic"/>
+ <enumeration value="tin"/>
+ <enumeration value="parametricCurve"/>
+ <enumeration value="polynomialSpline"/>
+ <enumeration value="rationalSpline"/>
+ <enumeration value="triangulatedSpline"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <simpleType name="KnotTypesType">
+ <annotation>
+ <documentation>Defines allowed values for the knots` type. Uniform knots implies that all knots are of multiplicity 1 and they differ by a positive constant from the preceding knot. Knots are quasi-uniform iff they are of multiplicity (degree + 1) at the ends, of multiplicity 1 elsewhere, and they differ by a positive constant from the preceding knot.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="uniform"/>
+ <enumeration value="quasiUniform"/>
+ <enumeration value="piecewiseBezier"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/gml.xsd b/petascope/xml/ogc/gml/3.1.1/base/gml.xsd
new file mode 100644
index 0000000..eaf1023
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/gml.xsd
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:gml="http://www.opengis.net/gml"
+ xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:gml:3.1.1">gml.xsd</appinfo>
+ <documentation>Top level GML schema
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ====================================================================== -->
+ <include schemaLocation="dynamicFeature.xsd"/>
+ <include schemaLocation="topology.xsd"/>
+ <include schemaLocation="coverage.xsd"/>
+ <include schemaLocation="coordinateReferenceSystems.xsd"/>
+ <include schemaLocation="observation.xsd"/>
+ <include schemaLocation="defaultStyle.xsd"/>
+ <include schemaLocation="temporalReferenceSystems.xsd"/>
+ <!-- ====================================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/gmlBase.xsd b/petascope/xml/ogc/gml/3.1.1/base/gmlBase.xsd
new file mode 100644
index 0000000..44afda4
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/gmlBase.xsd
@@ -0,0 +1,290 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:gmlBase:3.1.1">
+ <sch:title>Schematron validation</sch:title>
+ <sch:ns prefix="gml" uri="http://www.opengis.net/gml"/>
+ <sch:ns prefix="xlink" uri="http://www.w3.org/1999/xlink"/>
+ <sch:pattern name="Check either href or content not both">
+ <sch:rule abstract="true" id="hrefOrContent">
+ <sch:report test="@xlink:href and (*|text())">Property element may not carry both a reference to an object and contain an object.</sch:report>
+ <sch:assert test="@xlink:href | (*|text())">Property element must either carry a reference to an object or contain an object.</sch:assert>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>GML base schema for GML 3
+ Components to support the GML encoding model.
+ The abstract Schematron rules can be used by any schema that includes gmlBase.
+ Copyright (c) 2001-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="basicTypes.xsd"/>
+ <import namespace="http://www.w3.org/1999/xlink" schemaLocation="../../../xlink/1.0.0/xlinks.xsd"/>
+ <!-- =========================================================== -->
+ <!-- ==================== Objects ================================ -->
+ <!-- =========================================================== -->
+ <!-- =========== Abstract "Object" is "anyType" ============= -->
+ <!-- ===== Global element at the head of the "Object" substitution group ======== -->
+ <element name="_Object" abstract="true">
+ <annotation>
+ <documentation>This abstract element is the head of a substitutionGroup hierararchy which may contain either simpleContent or complexContent elements. It is used to assert the model position of "class" elements declared in other GML schemas.</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================= -->
+ <!-- =========== Abstract "GMLobject" supertype ========================= -->
+ <element name="_GML" type="gml:AbstractGMLType" abstract="true" substitutionGroup="gml:_Object">
+ <annotation>
+ <documentation>Global element which acts as the head of a substitution group that may include any element which is a GML feature, object, geometry or complex value</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <group name="StandardObjectProperties">
+ <annotation>
+ <documentation>This content model group makes it easier to construct types that
+ derive from AbstractGMLType and its descendents "by restriction".
+ A reference to the group saves having to enumerate the standard object properties.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:description" minOccurs="0"/>
+ <element ref="gml:name" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </group>
+ <!-- =========================================================== -->
+ <complexType name="AbstractGMLType" abstract="true">
+ <annotation>
+ <documentation>All complexContent GML elements are directly or indirectly derived from this abstract supertype
+ to establish a hierarchy of GML types that may be distinguished from other XML types by their ancestry.
+ Elements in this hierarchy may have an ID and are thus referenceable.</documentation>
+ </annotation>
+ <sequence>
+ <group ref="gml:StandardObjectProperties"/>
+ </sequence>
+ <attribute ref="gml:id" use="optional"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========== Concrete "Collection" supertype ========================= -->
+ <element name="Bag" type="gml:BagType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>Generic GML element to contain a heterogeneous collection of GML _Objects</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="BagType">
+ <annotation>
+ <documentation>A non-abstract generic collection type that can be used as a document element for a collection of any GML types - Geometries, Topologies, Features ...
+
+FeatureCollections may only contain Features. GeometryCollections may only contain Geometrys. Bags are less constrained they must contain objects that are substitutable for gml:_Object. This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc.
+
+The content model would ideally be
+ member 0..*
+ members 0..1
+ member 0..*
+for maximum flexibility in building a collection from both homogeneous and distinct components:
+included "member" elements each contain a single Object
+an included "members" element contains a set of Objects
+
+However, this is non-deterministic, thus prohibited by XSD.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:member" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:members" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========== Concrete "Array" supertype ========================= -->
+ <element name="Array" type="gml:ArrayType" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation>Generic GML element to contain a homogeneous array of GML _Objects</documentation>
+ </annotation>
+ </element>
+ <!-- ======================================================================= -->
+ <complexType name="ArrayType">
+ <annotation>
+ <documentation>A non-abstract generic collection type that can be used as a document element for a homogeneous collection of any GML types - Geometries, Topologies, Features ...</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:members" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========== Abstract Metadata supertype ========================= -->
+ <element name="_MetaData" type="gml:AbstractMetaDataType" abstract="true" substitutionGroup="gml:_Object">
+ <annotation>
+ <documentation>Abstract element which acts as the head of a substitution group for packages of MetaData properties.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AbstractMetaDataType" abstract="true" mixed="true">
+ <annotation>
+ <documentation>An abstract base type for complex metadata types.</documentation>
+ </annotation>
+ <attribute ref="gml:id" use="optional"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========== Container for Generic Metadata ========================= -->
+ <element name="GenericMetaData" type="gml:GenericMetaDataType" substitutionGroup="gml:_MetaData">
+ <annotation>
+ <documentation>Concrete element in the _MetaData substitution group, which permits any well-formed XML content. Intended to act as a container for metadata defined in external schemas, for which it is not possible to add the concrete components to the GML _MetaData substitution group directly. Deprecated with GML version 3.1.0.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="GenericMetaDataType" mixed="true">
+ <annotation>
+ <documentation>Deprecated with GML version 3.1.0.</documentation>
+ </annotation>
+ <complexContent mixed="true">
+ <extension base="gml:AbstractMetaDataType">
+ <sequence>
+ <any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ================== Base Property Types ============================== -->
+ <!-- ================================================================== -->
+ <!-- ==== property types for unspecified association - by Value or by Reference ==== -->
+ <!-- ====== single Objects - by Value or by Reference ======== -->
+ <element name="_association" type="gml:AssociationType" abstract="true"/>
+ <!-- =========================================================== -->
+ <element name="_strictAssociation" type="gml:AssociationType" abstract="true">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:_strictAssociation">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>must carry a reference to an object or contain an object but not both</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="member" type="gml:AssociationType"/>
+ <!-- =========================================================== -->
+ <complexType name="AssociationType">
+ <annotation>
+ <documentation>A pattern or base for derived types used to specify complex types corresponding to an unspecified UML association - either composition or aggregation. Restricts the cardinality of Objects contained in the association to a maximum of one. An instance of this type can contain an element representing an Object, or serve as a pointer to a remote Object.
+
+Descendents of this type can be restricted in an application schema to
+* allow only specified classes as valid participants in the aggregation
+* allow only association by reference (i.e. empty the content model) or by value (i.e. remove the xlinks).
+
+When used for association by reference, the value of the gml:remoteSchema attribute can be used to locate a schema fragment that constrains the target instance.
+
+In many cases it is desirable to impose the constraint prohibiting the occurence of both reference and value in the same instance, as that would be ambiguous. This is accomplished by adding a directive in the annotation element of the element declaration. This directive can be in the form of normative prose, or can use a Schematron pattern to automatically constrain co-occurrence - see the declaration for _strictAssociation below.
+
+If co-occurence is not prohibited, then both a link and content may be present. If this occurs in an instance, then the rule for interpretation is that the instance found by traversing the href provides the normative value of the property, and should be used when possible. The value(s) included as content may be used if the remote instance cannot be resolved. This may be considered to be a "cached" version of the value(s).</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_Object"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="_reference" type="gml:ReferenceType" abstract="true"/>
+ <!-- =========================================================== -->
+ <complexType name="ReferenceType">
+ <annotation>
+ <documentation>A pattern or base for derived types used to specify complex types corresponding to a UML aggregation association. An instance of this type serves as a pointer to a remote Object.</documentation>
+ </annotation>
+ <sequence/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- ========= multiple objects - by Value or by Reference ================== -->
+ <element name="members" type="gml:ArrayAssociationType"/>
+ <!-- =========================================================== -->
+ <complexType name="ArrayAssociationType">
+ <annotation>
+ <documentation>A base for derived types used to specify complex types containing an array of objects, by unspecified UML association - either composition or aggregation. An instance of this type contains elements representing Objects.
+
+Ideally this type would be derived by extension of AssociationType.
+However, this leads to a non-deterministic content model, since both the base and the extension have minOccurs="0", and is thus prohibited in XML Schema.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_Object" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========== Abstract "property" supertype ========================= -->
+ <element name="metaDataProperty" type="gml:MetaDataPropertyType">
+ <annotation>
+ <documentation>Contains or refers to a metadata package that contains metadata properties.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="MetaDataPropertyType">
+ <annotation>
+ <documentation>Base type for complex metadata property types.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <any processContents="lax"/>
+ <!-- <element ref="gml:_MetaData"/> -->
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ <attribute name="about" type="anyURI" use="optional"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- ==========================================================
+ global attribute, attribute group and element declarations
+ ============================================================ -->
+ <attribute name="id" type="ID">
+ <annotation>
+ <documentation>Database handle for the object. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. An external identifier for the object in the form of a URI may be constructed using standard XML and XPointer methods. This is done by concatenating the URI for the document, a fragment separator, and the value of the id attribute.</documentation>
+ </annotation>
+ </attribute>
+ <!-- =========================================================== -->
+ <attribute name="remoteSchema" type="anyURI">
+ <annotation>
+ <documentation>Reference to an XML Schema fragment that specifies the content model of the propertys value. This is in conformance with the XML Schema Section 4.14 Referencing Schemas from Elsewhere.</documentation>
+ </annotation>
+ </attribute>
+ <!-- =========================================================== -->
+ <attributeGroup name="AssociationAttributeGroup">
+ <annotation>
+ <documentation>Attribute group used to enable property elements to refer to their value remotely. It contains the simple link components from xlinks.xsd, with all members optional, and the remoteSchema attribute, which is also optional. These attributes can be attached to any element, thus allowing it to act as a pointer. The 'remoteSchema' attribute allows an element that carries link attributes to indicate that the element is declared in a remote schema rather than by the schema that constrains the current document instance.</documentation>
+ </annotation>
+ <attributeGroup ref="xlink:simpleLink"/>
+ <attribute ref="gml:remoteSchema" use="optional"/>
+ </attributeGroup>
+ <!-- =========================================================== -->
+ <element name="name" type="gml:CodeType">
+ <annotation>
+ <documentation>Label for the object, normally a descriptive name. An object may have several names, typically assigned by different authorities. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="description" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Contains a simple text description of the object, or refers to an external description.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================================== -->
+ <complexType name="StringOrRefType">
+ <annotation>
+ <documentation>This type is available wherever there is a need for a "text" type property. It is of string type, so the text can be included inline, but the value can also be referenced remotely via xlinks from the AssociationAttributeGroup. If the remote reference is present, then the value obtained by traversing the link should be used, and the string content of the element can be used for an annotation.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="string">
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ===================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/grids.xsd b/petascope/xml/ogc/gml/3.1.1/base/grids.xsd
new file mode 100644
index 0000000..277a47b
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/grids.xsd
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:grids:3.1.1">grids.xsd</appinfo>
+ <documentation xml:lang="en">Grid geometries
+ A subset of implicit geometries
+ Designed for use with GML Coverage schema, but maybe useful elsewhere as well.
+
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="geometryBasic0d1d.xsd"/>
+ <!-- ==============================================================
+ global elements
+ ============================================================== -->
+ <element name="_ImplicitGeometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:_Geometry"/>
+ <!-- =========================================================== -->
+ <element name="Grid" type="gml:GridType" substitutionGroup="gml:_ImplicitGeometry"/>
+ <!-- =========================================================== -->
+ <complexType name="GridType">
+ <annotation>
+ <documentation>An unrectified grid, which is a network composed of two or more sets of equally spaced parallel lines in which the members of each set intersect the members of the other sets at right angles.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGeometryType">
+ <sequence>
+ <element name="limits" type="gml:GridLimitsType"/>
+ <element name="axisName" type="string" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="dimension" type="positiveInteger" use="required"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="GridLimitsType">
+ <sequence>
+ <element name="GridEnvelope" type="gml:GridEnvelopeType"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="GridEnvelopeType">
+ <annotation>
+ <documentation>Provides grid coordinate values for the diametrically opposed corners of an envelope that bounds a section of grid. The value of a single coordinate is the number of offsets from the origin of the grid in the direction of a specific axis.</documentation>
+ </annotation>
+ <sequence>
+ <element name="low" type="gml:integerList"/>
+ <element name="high" type="gml:integerList"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="RectifiedGrid" type="gml:RectifiedGridType" substitutionGroup="gml:_ImplicitGeometry">
+ <annotation>
+ <documentation>Should be substitutionGroup="gml:Grid" but changed in order to accomplish Xerces-J schema validation</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="RectifiedGridType">
+ <annotation>
+ <documentation>A rectified grid has an origin and vectors that define its post locations.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:GridType">
+ <sequence>
+ <element name="origin" type="gml:PointPropertyType"/>
+ <element name="offsetVector" type="gml:VectorType" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/measures.xsd b/petascope/xml/ogc/gml/3.1.1/base/measures.xsd
new file mode 100644
index 0000000..6462732
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/measures.xsd
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1" xml:lang="en" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-measures:3.1.1"/>
+ <documentation>Extends the units.xsd and basicTypes.xsd schemas with types for recording measures using specific types of units, especially the measures and units needed for coordinate reference systems and coordinate operations. The specific unit types encoded are length, angle, scale factor, time, area, volume, speed, and grid length. This schema allows angle values to be recorded as single numbers or in degree-minute-second format.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on Subclause 4.7 of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="units.xsd"/>
+ <!-- ==============================================================
+ elements and types
+ ============================================================== -->
+ <!-- This schema uses the gml:MeasureType defined in basicTypes.xsd with the modified meaning:
+ <documentation>Value of a quantity, with its units. This element uses the XML Schema primitive data type "double" because it supports both decimal and scientific notation, and thus offers flexibility and precision. However, there is no requirement to store values using any particular format, and applications receiving elements of this type may choose to coerce the data to any other type as convenient. The XML attribute uom references the units or scale by which the amount should be multiplied. For a reference within the same XML document, the abbreviated XPointer prefix "#" symbol should be used, followed by a text abbreviation of the unit name. However, the "#" symbol may be optional, and still may be interpreted as a reference. </documentation> -->
+ <!-- =========================================================== -->
+ <element name="measure" type="gml:MeasureType"/>
+ <!-- =========================================================== -->
+ <complexType name="LengthType">
+ <annotation>
+ <documentation>Value of a length (or distance) quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="ScaleType">
+ <annotation>
+ <documentation>Value of a scale factor (or ratio) that has no physical unit. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a scale factor, such as percent, permil, or parts-per-million.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="TimeType">
+ <annotation>
+ <documentation>Value of a time or temporal quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a time value, such as seconds or weeks.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="GridLengthType">
+ <annotation>
+ <documentation>Value of a length (or distance) quantity in a grid, where the grid spacing does not have any associated physical units, or does not have a constant physical spacing. This grid length will often be used in a digital image grid, where the base units are likely to be pixel spacings. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for length along the axes of a grid, such as pixel spacings or grid spacings.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="AreaType">
+ <annotation>
+ <documentation>Value of a spatial area quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for an area, such as square metres or square miles.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="VolumeType">
+ <annotation>
+ <documentation>Value of a spatial volume quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a volume, such as cubic metres or cubic feet.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="SpeedType">
+ <annotation>
+ <documentation>Value of a speed, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a velocity, such as metres per second or miles per hour.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="AngleChoiceType">
+ <annotation>
+ <documentation>Value of an angle quantity provided in either degree-minute-second format or single value format.</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:angle"/>
+ <element ref="gml:dmsAngle"/>
+ </choice>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="angle" type="gml:MeasureType"/>
+ <!-- =========================================================== -->
+ <complexType name="AngleType">
+ <annotation>
+ <documentation>Value of an angle quantity recorded as a single number, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for an angle, such as degrees or radians.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureType"/>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="dmsAngle" type="gml:DMSAngleType"/>
+ <!-- =========================================================== -->
+ <complexType name="DMSAngleType">
+ <annotation>
+ <documentation>Angle value provided in degree-minute-second or degree-minute format.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:degrees"/>
+ <choice minOccurs="0">
+ <element ref="gml:decimalMinutes"/>
+ <sequence>
+ <element ref="gml:minutes"/>
+ <element ref="gml:seconds" minOccurs="0"/>
+ </sequence>
+ </choice>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="degrees" type="gml:DegreesType"/>
+ <!-- =========================================================== -->
+ <complexType name="DegreesType">
+ <annotation>
+ <documentation>Integer number of degrees, plus the angle direction. This element can be used for geographic Latitude and Longitude. For Latitude, the XML attribute direction can take the values "N" or "S", meaning North or South of the equator. For Longitude, direction can take the values "E" or "W", meaning East or West of the prime meridian. This element can also be used for other angles. In that case, the direction can take the values "+" or "-" (of SignType), in the specified rotational direction from a specified reference direction.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:DegreeValueType">
+ <attribute name="direction">
+ <simpleType>
+ <union>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="N"/>
+ <enumeration value="E"/>
+ <enumeration value="S"/>
+ <enumeration value="W"/>
+ </restriction>
+ </simpleType>
+ <simpleType>
+ <restriction base="gml:SignType"/>
+ </simpleType>
+ </union>
+ </simpleType>
+ </attribute>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <simpleType name="DegreeValueType">
+ <annotation>
+ <documentation>Integer number of degrees in a degree-minute-second or degree-minute angular value, without indication of direction.</documentation>
+ </annotation>
+ <restriction base="nonNegativeInteger">
+ <maxInclusive value="359"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <element name="decimalMinutes" type="gml:DecimalMinutesType"/>
+ <!-- =========================================================== -->
+ <simpleType name="DecimalMinutesType">
+ <annotation>
+ <documentation>Decimal number of arc-minutes in a degree-minute angular value.</documentation>
+ </annotation>
+ <restriction base="decimal">
+ <minInclusive value="0.00"/>
+ <maxExclusive value="60.00"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <element name="minutes" type="gml:ArcMinutesType"/>
+ <!-- =========================================================== -->
+ <simpleType name="ArcMinutesType">
+ <annotation>
+ <documentation>Integer number of arc-minutes in a degree-minute-second angular value.</documentation>
+ </annotation>
+ <restriction base="nonNegativeInteger">
+ <maxInclusive value="59"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <element name="seconds" type="gml:ArcSecondsType"/>
+ <!-- =========================================================== -->
+ <simpleType name="ArcSecondsType">
+ <annotation>
+ <documentation>Number of arc-seconds in a degree-minute-second angular value.</documentation>
+ </annotation>
+ <restriction base="decimal">
+ <minInclusive value="0.00"/>
+ <maxExclusive value="60.00"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/observation.xsd b/petascope/xml/ogc/gml/3.1.1/base/observation.xsd
new file mode 100644
index 0000000..10e1c7b
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/observation.xsd
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:observation:3.1.1">observation.xsd</appinfo>
+ <documentation>Observation schema for GML 3.1
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- =================================================================== -->
+ <!-- === includes and imports ============================================ -->
+ <include schemaLocation="feature.xsd"/>
+ <include schemaLocation="direction.xsd"/>
+ <include schemaLocation="valueObjects.xsd"/>
+ <!-- =================================================================== -->
+ <!-- =================== properties =================================== -->
+ <element name="using" type="gml:FeaturePropertyType">
+ <annotation>
+ <documentation>This element contains or points to a description of a sensor, instrument or procedure used for the observation</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================================== -->
+ <element name="target" type="gml:TargetPropertyType">
+ <annotation>
+ <documentation>This element contains or points to the specimen, region or station which is the object of the observation</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================================== -->
+ <element name="subject" type="gml:TargetPropertyType" substitutionGroup="gml:target">
+ <annotation>
+ <documentation>Synonym for target - common word used for photographs</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================================== -->
+ <complexType name="TargetPropertyType">
+ <annotation>
+ <documentation>Container for an object representing the target or subject of an observation.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <choice>
+ <element ref="gml:_Feature"/>
+ <element ref="gml:_Geometry"/>
+ </choice>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================================== -->
+ <element name="resultOf" type="gml:AssociationType">
+ <annotation>
+ <documentation>The result of the observation: an image, external object, etc</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================================== -->
+ <!-- ===================== Features =========================== -->
+ <element name="Observation" type="gml:ObservationType" substitutionGroup="gml:_Feature"/>
+ <!-- =========================================================== -->
+ <complexType name="ObservationType">
+ <complexContent>
+ <extension base="gml:AbstractFeatureType">
+ <sequence>
+ <element ref="gml:validTime"/>
+ <element ref="gml:using" minOccurs="0"/>
+ <element ref="gml:target" minOccurs="0"/>
+ <element ref="gml:resultOf"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="DirectedObservation" type="gml:DirectedObservationType" substitutionGroup="gml:Observation"/>
+ <!-- =========================================================== -->
+ <complexType name="DirectedObservationType">
+ <complexContent>
+ <extension base="gml:ObservationType">
+ <sequence>
+ <element ref="gml:direction"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="DirectedObservationAtDistance" type="gml:DirectedObservationAtDistanceType" substitutionGroup="gml:DirectedObservation"/>
+ <!-- =========================================================== -->
+ <complexType name="DirectedObservationAtDistanceType">
+ <complexContent>
+ <extension base="gml:DirectedObservationType">
+ <sequence>
+ <element name="distance" type="gml:MeasureType"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/referenceSystems.xsd b/petascope/xml/ogc/gml/3.1.1/base/referenceSystems.xsd
new file mode 100644
index 0000000..5235f3d
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/referenceSystems.xsd
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:referenceSystems:3.1.1"/>
+ <documentation>How to encode reference system definitions. Builds on several other parts of GML 3 to encode the data needed to define reference systems.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved. For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ This schema encodes the Reference System (RS_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2. The SC_CRS class is also encoded here, to eliminate the (circular) references from coordinateOperations.xsd to coordinateReferenceSystems.xsd. The RS_SpatialReferenceSystemUsingGeographicIdentifier class is not encoded, since it is not applicable to coordinate positions. The CI_Citation class is not directly encoded, since such information can be included as metaDataProperty elements which are optionally allowed. A modified version of the EX_Extent (DataType) class from ISO 19115 is currently encoded here, using GML 3 schema types. (A more extensive version of the EX_Extent package might be XML encoded in the future, probably in a separate extent.xsd schema.)
+ Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111.</documentation>
+ </annotation>
+ <!-- ======================================================
+ includes and imports
+ ====================================================== -->
+ <include schemaLocation="geometryBasic2d.xsd"/>
+ <include schemaLocation="temporal.xsd"/>
+ <!-- ======================================================
+ elements and types
+ ====================================================== -->
+ <element name="_ReferenceSystem" type="gml:AbstractReferenceSystemType" abstract="true" substitutionGroup="gml:Definition"/>
+ <!-- =================================================== -->
+ <complexType name="AbstractReferenceSystemBaseType" abstract="true">
+ <annotation>
+ <documentation>Basic encoding for reference system objects, simplifying and restricting the DefinitionType as needed.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:metaDataProperty" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:srsName"/>
+ </sequence>
+ <attribute ref="gml:id" use="required"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="srsName" type="gml:CodeType" substitutionGroup="gml:name">
+ <annotation>
+ <documentation>The name by which this reference system is identified.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="AbstractReferenceSystemType" abstract="true">
+ <annotation>
+ <documentation>Description of a spatial and/or temporal reference system used by a dataset.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractReferenceSystemBaseType">
+ <sequence>
+ <element ref="gml:srsID" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Set of alterative identifications of this reference system. The first srsID, if any, is normally the primary identification code, and any others are aliases.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Comments on or information about this reference system, including source information.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:validArea" minOccurs="0"/>
+ <element ref="gml:scope" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="srsID" type="gml:IdentifierType">
+ <annotation>
+ <documentation>An identification of a reference system.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="referenceSystemRef" type="gml:ReferenceSystemRefType"/>
+ <!-- =================================================== -->
+ <complexType name="ReferenceSystemRefType">
+ <annotation>
+ <documentation>Association to a reference system, either referencing or containing the definition of that reference system.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_ReferenceSystem"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="_CRS" type="gml:AbstractReferenceSystemType" abstract="true" substitutionGroup="gml:_ReferenceSystem">
+ <annotation>
+ <documentation>Abstract coordinate reference system, usually defined by a coordinate system and a datum. This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="crsRef" type="gml:CRSRefType"/>
+ <!-- =================================================== -->
+ <complexType name="CRSRefType">
+ <annotation>
+ <documentation>Association to a CRS abstract coordinate reference system, either referencing or containing the definition of that CRS.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_CRS"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =================================================== -->
+ <!-- =================================================== -->
+ <complexType name="IdentifierType">
+ <annotation>
+ <documentation>An identification of a CRS object. The first use of the IdentifierType for an object, if any, is normally the primary identification code, and any others are aliases.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:name">
+ <annotation>
+ <documentation>The code or name for this Identifier, often from a controlled list or pattern defined by a code space. The optional codeSpace attribute is normally included to identify or reference a code space within which one or more codes are defined. This code space is often defined by some authority organization, where one organization may define multiple code spaces. The range and format of each Code Space identifier is defined by that code space authority. Information about that code space authority can be included as metaDataProperty elements which are optionally allowed in all CRS objects.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:version" minOccurs="0"/>
+ <element ref="gml:remarks" minOccurs="0">
+ <annotation>
+ <documentation>Remarks about this code or alias.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="version" type="string">
+ <annotation>
+ <documentation>Identifier of the version of the associated codeSpace or code, as specified by the codeSpace or code authority. This version is included only when the "code" or "codeSpace" uses versions. When appropriate, the version is identified by the effective date, coded using ISO 8601 date format.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="remarks" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Information about this object or code. Contains text or refers to external text.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="scope" type="string">
+ <annotation>
+ <documentation>Description of domain of usage, or limitations of usage, for which this CRS object is valid.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="validArea" type="gml:ExtentType">
+ <annotation>
+ <documentation>Area or region in which this CRS object is valid.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <complexType name="ExtentType">
+ <annotation>
+ <documentation>Information about the spatial, vertical, and/or temporal extent of a reference system object. Constraints: At least one of the elements "description", "boundingBox", "boundingPolygon", "verticalExtent", and temporalExtent" must be included, but more that one can be included when appropriate. Furthermore, more than one "boundingBox", "boundingPolygon", "verticalExtent", and/or temporalExtent" element can be included, with more than one meaning the union of the individual domains.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:description" minOccurs="0">
+ <annotation>
+ <documentation>Description of spatial and/or temporal extent of this object.</documentation>
+ </annotation>
+ </element>
+ <choice>
+ <annotation>
+ <documentation>Geographic domain of this reference system object.</documentation>
+ </annotation>
+ <element ref="gml:boundingBox" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of bounding boxes (or envelopes) whose union describes the spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:boundingPolygon" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of bounding polygons whose union describes the spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ <element ref="gml:verticalExtent" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of vertical intervals whose union describes the spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ <element ref="gml:temporalExtent" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Unordered list of time periods whose union describes the spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =================================================== -->
+ <element name="boundingBox" type="gml:EnvelopeType">
+ <annotation>
+ <documentation>A bounding box (or envelope) defining the spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="boundingPolygon" type="gml:PolygonType">
+ <annotation>
+ <documentation>A bounding polygon defining the horizontal spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="verticalExtent" type="gml:EnvelopeType">
+ <annotation>
+ <documentation>An interval defining the vertical spatial domain of this object.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+ <element name="temporalExtent" type="gml:TimePeriodType">
+ <annotation>
+ <documentation>A time period defining the temporal domain of this object.</documentation>
+ </annotation>
+ </element>
+ <!-- =================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/temporal.xsd b/petascope/xml/ogc/gml/3.1.1/base/temporal.xsd
new file mode 100644
index 0000000..d60b80b
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/temporal.xsd
@@ -0,0 +1,329 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:temporal:3.1.1"/>
+ <documentation xml:lang="en">The temporal schema for GML 3.1 provides constructs for handling time-varying spatial data.
+ This schema reflects a partial implementation of the model described in ISO 19108:2002.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ================================================================== -->
+ <include schemaLocation="gmlBase.xsd"/>
+ <!-- ================================================================== -->
+ <!-- ==== Time Object ===== -->
+ <!-- ================================================================== -->
+ <element name="_TimeObject" type="gml:AbstractTimeObjectType" abstract="true" substitutionGroup="gml:_GML">
+ <annotation>
+ <documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal primitives and complexes.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================== -->
+ <complexType name="AbstractTimeObjectType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">The abstract supertype for temporal objects.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType"/>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Primitive ===== -->
+ <!-- ================================================================== -->
+ <element name="_TimePrimitive" type="gml:AbstractTimePrimitiveType" abstract="true" substitutionGroup="gml:_TimeObject">
+ <annotation>
+ <documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal primitives.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================== -->
+ <complexType name="AbstractTimePrimitiveType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">The abstract supertype for temporal primitives.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeObjectType">
+ <sequence>
+ <element name="relatedTime" type="gml:RelatedTimeType" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimePrimitivePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:_TimePrimitive"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="RelatedTimeType">
+ <complexContent>
+ <extension base="gml:TimePrimitivePropertyType">
+ <attribute name="relativePosition">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="Before"/>
+ <enumeration value="After"/>
+ <enumeration value="Begins"/>
+ <enumeration value="Ends"/>
+ <enumeration value="During"/>
+ <enumeration value="Equals"/>
+ <enumeration value="Contains"/>
+ <enumeration value="Overlaps"/>
+ <enumeration value="Meets"/>
+ <enumeration value="OverlappedBy"/>
+ <enumeration value="MetBy"/>
+ <enumeration value="BegunBy"/>
+ <enumeration value="EndedBy"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Complex ===== -->
+ <!-- ================================================================== -->
+ <element name="_TimeComplex" type="gml:AbstractTimeComplexType" abstract="true" substitutionGroup="gml:_TimeObject">
+ <annotation>
+ <documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal complexes.
+ Temporal complex is an aggregation of temporal primitives as its components,
+ represents a temporal geometric complex and a temporal topology complex.
+ N.B. Temporal geometric complex is not defined in this schema.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="AbstractTimeComplexType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">The abstract supertype for temporal complexes.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeObjectType"/>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Geometric Primitive ===== -->
+ <!-- ================================================================== -->
+ <element name="_TimeGeometricPrimitive" type="gml:AbstractTimeGeometricPrimitiveType" abstract="true" substitutionGroup="gml:_TimePrimitive">
+ <annotation>
+ <documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal geometric primitives.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================== -->
+ <complexType name="AbstractTimeGeometricPrimitiveType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">The abstract supertype for temporal geometric primitives.
+ A temporal geometry must be associated with a temporal reference system via URI.
+ The Gregorian calendar with UTC is the default reference system, following ISO
+ 8601. Other reference systems in common use include the GPS calendar and the
+ Julian calendar.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimePrimitiveType">
+ <attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeGeometricPrimitivePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:_TimeGeometricPrimitive"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Instant ===== -->
+ <!-- ================================================================== -->
+ <element name="TimeInstant" type="gml:TimeInstantType" substitutionGroup="gml:_TimeGeometricPrimitive"/>
+ <!-- ===================================== -->
+ <complexType name="TimeInstantType">
+ <annotation>
+ <documentation>Omit back-pointers begunBy, endedBy.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeGeometricPrimitiveType">
+ <sequence>
+ <element ref="gml:timePosition"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeInstantPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimeInstant"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Period ===== -->
+ <!-- ================================================================== -->
+ <element name="TimePeriod" type="gml:TimePeriodType" substitutionGroup="gml:_TimeGeometricPrimitive"/>
+ <!-- ===================================== -->
+ <complexType name="TimePeriodType">
+ <complexContent>
+ <extension base="gml:AbstractTimeGeometricPrimitiveType">
+ <sequence>
+ <choice>
+ <element name="beginPosition" type="gml:TimePositionType"/>
+ <element name="begin" type="gml:TimeInstantPropertyType"/>
+ </choice>
+ <choice>
+ <element name="endPosition" type="gml:TimePositionType"/>
+ <element name="end" type="gml:TimeInstantPropertyType"/>
+ </choice>
+ <group ref="gml:timeLength" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimePeriodPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimePeriod"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ==== duration & interval ===== -->
+ <!-- ================================================================== -->
+ <group name="timeLength">
+ <annotation>
+ <documentation>This model group is provided as an alternative to the abstract susbstitutionGroup head _timeLength.
+ ISO 19136 comment 411</documentation>
+ </annotation>
+ <choice>
+ <element ref="gml:duration"/>
+ <element ref="gml:timeInterval"/>
+ </choice>
+ </group>
+ <!-- ================================================================== -->
+ <element name="duration" type="duration">
+ <annotation>
+ <documentation xml:lang="en">This element is an instance of the primitive xsd:duration simple type to
+ enable use of the ISO 8601 syntax for temporal length (e.g. P5DT4H30M).
+ It is a valid subtype of TimeDurationType according to section 3.14.6,
+ rule 2.2.4 in XML Schema, Part 1.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <element name="timeInterval" type="gml:TimeIntervalLengthType">
+ <annotation>
+ <documentation>This element is a valid subtype of TimeDurationType
+ according to section 3.14.6, rule 2.2.4 in XML Schema, Part 1.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================== -->
+ <complexType name="TimeIntervalLengthType" final="#all">
+ <annotation>
+ <documentation xml:lang="en">This type extends the built-in xsd:decimal simple type to allow floating-point
+ values for temporal length. According to the ISO 11404 model you have to use
+ positiveInteger together with appropriate values for radix and factor. The
+ resolution of the time interval is to one radix ^(-factor) of the specified
+ time unit (e.g. unit="second", radix="10", factor="3" specifies a resolution
+ of milliseconds). It is a subtype of TimeDurationType.</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="decimal">
+ <attribute name="unit" type="gml:TimeUnitType" use="required"/>
+ <attribute name="radix" type="positiveInteger" use="optional"/>
+ <attribute name="factor" type="integer" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <simpleType name="TimeUnitType">
+ <annotation>
+ <documentation xml:lang="en">Standard units for measuring time intervals (see ISO 31-1).</documentation>
+ </annotation>
+ <union>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="year"/>
+ <enumeration value="day"/>
+ <enumeration value="hour"/>
+ <enumeration value="minute"/>
+ <enumeration value="second"/>
+ </restriction>
+ </simpleType>
+ <simpleType>
+ <restriction base="string">
+ <pattern value="other:\w{2,}"/>
+ </restriction>
+ </simpleType>
+ </union>
+ </simpleType>
+ <!-- ================================================================== -->
+ <!-- ==== Time Position ===== -->
+ <!-- ================================================================== -->
+ <element name="timePosition" type="gml:TimePositionType">
+ <annotation>
+ <documentation>Direct representation of a temporal position</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="TimePositionType" final="#all">
+ <annotation>
+ <documentation xml:lang="en">Direct representation of a temporal position.
+ Indeterminate time values are also allowed, as described in ISO 19108. The indeterminatePosition
+ attribute can be used alone or it can qualify a specific value for temporal position (e.g. before
+ 2002-12, after 1019624400).
+ For time values that identify position within a calendar, the calendarEraName attribute provides
+ the name of the calendar era to which the date is referenced (e.g. the Meiji era of the Japanese calendar).</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="gml:TimePositionUnion">
+ <attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
+ <attribute name="calendarEraName" type="string" use="optional"/>
+ <attribute name="indeterminatePosition" type="gml:TimeIndeterminateValueType" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <simpleType name="TimePositionUnion">
+ <annotation>
+ <documentation xml:lang="en">The ISO 19108:2002 hierarchy of subtypes for temporal position are collapsed
+ by defining a union of XML Schema simple types for indicating temporal position relative
+ to a specific reference system.
+
+ Dates and dateTime may be indicated with varying degrees of precision.
+ dateTime by itself does not allow right-truncation, except for fractions of seconds.
+ When used with non-Gregorian calendars based on years, months, days,
+ the same lexical representation should still be used, with leading zeros added if the
+ year value would otherwise have fewer than four digits.
+
+ An ordinal position may be referenced via URI identifying the definition of an ordinal era.
+
+ A time coordinate value is indicated as a decimal (e.g. UNIX time, GPS calendar).</documentation>
+ </annotation>
+ <union memberTypes="gml:CalDate time dateTime anyURI decimal"/>
+ </simpleType>
+ <!-- ================================================================== -->
+ <simpleType name="CalDate">
+ <annotation>
+ <documentation xml:lang="en">Calendar dates may be indicated with varying degrees of precision,
+ using year, year-month, date.
+ When used with non-Gregorian calendars based on years, months, days,
+ the same lexical representation should still be used, with leading zeros added if the
+ year value would otherwise have fewer than four digits.
+ time is used for a position that recurs daily (see clause 5.4.4.2 of ISO 19108:2002).</documentation>
+ </annotation>
+ <union memberTypes="date gYearMonth gYear"/>
+ </simpleType>
+ <!-- ================================================================== -->
+ <simpleType name="TimeIndeterminateValueType">
+ <annotation>
+ <documentation xml:lang="en">This enumerated data type specifies values for indeterminate positions.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="after"/>
+ <enumeration value="before"/>
+ <enumeration value="now"/>
+ <enumeration value="unknown"/>
+ </restriction>
+ </simpleType>
+ <!-- ================================================================== -->
+ <!-- ==== Convenience properties ==== -->
+ <!-- ================================================================== -->
+ <element name="validTime" type="gml:TimePrimitivePropertyType"/>
+ <!-- ===================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/temporalReferenceSystems.xsd b/petascope/xml/ogc/gml/3.1.1/base/temporalReferenceSystems.xsd
new file mode 100644
index 0000000..c4793f3
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/temporalReferenceSystems.xsd
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:temporalReferenceSystems:3.1.1"/>
+ <documentation xml:lang="en">The Temporal Reference Systems schema for GML 3.1 provides constructs for handling various styles of temporal reference system.
+ This schema reflects a partial implementation of the model described in ISO 19108:2002.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ================================================================== -->
+ <include schemaLocation="temporalTopology.xsd"/>
+ <include schemaLocation="dictionary.xsd"/>
+ <!-- ================================================================== -->
+ <!-- == Time Reference System == -->
+ <!-- ================================================================== -->
+ <element name="_TimeReferenceSystem" type="gml:AbstractTimeReferenceSystemType" abstract="true" substitutionGroup="gml:Definition">
+ <annotation>
+ <documentation>Abstract element serves primarily as the head of a substitution group for temporal reference systems.</documentation>
+ </annotation>
+ </element>
+ <!-- ===================================== -->
+ <complexType name="AbstractTimeReferenceSystemType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">A value in the time domain is measured relative to a temporal reference system. Common
+ types of reference systems include calendars, ordinal temporal reference systems, and
+ temporal coordinate systems (time elapsed since some epoch, e.g. UNIX time).</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element name="domainOfValidity" type="string" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- == Time Coordinate System == -->
+ <!-- ================================================================== -->
+ <element name="TimeCoordinateSystem" type="gml:TimeCoordinateSystemType" substitutionGroup="gml:_TimeReferenceSystem"/>
+ <!-- ===================================== -->
+ <complexType name="TimeCoordinateSystemType">
+ <annotation>
+ <documentation xml:lang="en">A temporal coordinate system is based on a continuous interval scale defined in terms of a single time interval.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeReferenceSystemType">
+ <sequence>
+ <choice>
+ <element name="originPosition" type="gml:TimePositionType"/>
+ <element name="origin" type="gml:TimeInstantPropertyType"/>
+ </choice>
+ <element name="interval" type="gml:TimeIntervalLengthType"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- == Time Ordinal System == -->
+ <!-- ================================================================== -->
+ <element name="TimeOrdinalReferenceSystem" type="gml:TimeOrdinalReferenceSystemType" substitutionGroup="gml:_TimeReferenceSystem"/>
+ <!-- ===================================== -->
+ <complexType name="TimeOrdinalReferenceSystemType">
+ <annotation>
+ <documentation xml:lang="en">In an ordinal reference system the order of events in time can be well
+ established, but the magnitude of the intervals between them can not be
+ accurately determined (e.g. a stratigraphic sequence).</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeReferenceSystemType">
+ <sequence>
+ <element name="component" type="gml:TimeOrdinalEraPropertyType" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <element name="TimeOrdinalEra" type="gml:TimeOrdinalEraType"/>
+ <!-- ===================================== -->
+ <complexType name="TimeOrdinalEraType">
+ <annotation>
+ <documentation xml:lang="en">Ordinal temporal reference systems are often hierarchically structured
+ such that an ordinal era at a given level of the hierarchy includes a
+ sequence of shorter, coterminous ordinal eras. This captured using the member/group properties.
+
+ Note that in this schema, TIme Ordinal Era is patterned on TimeEdge, which is a variation from ISO 19108.
+ This is in order to fulfill the requirements of ordinal reference systems based on eras delimited by
+ named points or nodes, which are common in geology, archeology, etc.
+
+ This change is subject of a change proposal to ISO</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element name="relatedTime" type="gml:RelatedTimeType" minOccurs="0" maxOccurs="unbounded"/>
+ <element name="start" type="gml:TimeNodePropertyType"/>
+ <element name="end" type="gml:TimeNodePropertyType"/>
+ <element name="extent" type="gml:TimePeriodPropertyType" minOccurs="0"/>
+ <element name="member" type="gml:TimeOrdinalEraPropertyType" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>An Era may be composed of several member Eras. The "member" element implements the association to the Era at the next level down the hierarchy. "member" follows the standard GML property pattern whereby its (complex) value may be either described fully inline, or may be the target of a link carried on the member element and described fully elsewhere, either in the same document or from another service.</documentation>
+ </annotation>
+ </element>
+ <element name="group" type="gml:ReferenceType" minOccurs="0">
+ <annotation>
+ <documentation>In a particular Time System, an Era may be a member of a group. The "group" element implements the back-pointer to the Era at the next level up in the hierarchy.
+
+If the hierarchy is represented by describing the nested components fully in the their nested position inside "member" elements, then the parent can be easily inferred, so the group property is unnecessary.
+
+However, if the hierarchy is represented by links carried on the "member" property elements, pointing to Eras described fully elsewhere, then it may be useful for a child (member) era to carry an explicit pointer back to its parent (group) Era.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeOrdinalEraPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimeOrdinalEra"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- == Calendar == -->
+ <!-- ================================================================== -->
+ <element name="TimeCalendar" type="gml:TimeCalendarType" substitutionGroup="gml:_TimeReferenceSystem"/>
+ <!-- ===================================== -->
+ <complexType name="TimeCalendarType">
+ <annotation>
+ <documentation xml:lang="en">A calendar is a discrete temporal reference system
+ that provides a basis for defining temporal position to a resolution of one day.
+ A single calendar may reference more than one calendar era.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeReferenceSystemType">
+ <sequence>
+ <element name="referenceFrame" type="gml:TimeCalendarEraPropertyType" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Link to the CalendarEras that it uses as a reference for dating.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeCalendarPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimeCalendar"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <element name="TimeCalendarEra" type="gml:TimeCalendarEraType" substitutionGroup="gml:Definition"/>
+ <!-- ===================================== -->
+ <complexType name="TimeCalendarEraType">
+ <annotation>
+ <documentation xml:lang="en">In every calendar, years are numbered relative to the date of a
+ reference event that defines a calendar era.
+ In this implementation, we omit the back-pointer "datingSystem".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element name="referenceEvent" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Name or description of a mythical or historic event which fixes the position of the base scale of the calendar era.</documentation>
+ </annotation>
+ </element>
+ <element name="referenceDate" type="date" default="0001-01-01" minOccurs="0">
+ <annotation>
+ <documentation>Date of the referenceEvent expressed as a date in the given calendar.
+ In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true.</documentation>
+ </annotation>
+ </element>
+ <element name="julianReference" type="decimal">
+ <annotation>
+ <documentation>Julian date that corresponds to the reference date.
+ The Julian day numbering system is a temporal coordinate system that has an
+ origin earlier than any known calendar,
+ at noon on 1 January 4713 BC in the Julian proleptic calendar.
+ The Julian day number is an integer value;
+ the Julian date is a decimal value that allows greater resolution.
+ Transforming calendar dates to and from Julian dates provides a
+ relatively simple basis for transforming dates from one calendar to another.</documentation>
+ </annotation>
+ </element>
+ <element name="epochOfUse" type="gml:TimePeriodPropertyType">
+ <annotation>
+ <documentation>Period for which the calendar era was used as a basis for dating.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeCalendarEraPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimeCalendarEra"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- == Clock == -->
+ <!-- ================================================================== -->
+ <element name="TimeClock" type="gml:TimeClockType" substitutionGroup="gml:_TimeReferenceSystem"/>
+ <!-- ===================================== -->
+ <complexType name="TimeClockType" final="#all">
+ <annotation>
+ <documentation xml:lang="en">A clock provides a basis for defining temporal position within a day.
+ A clock must be used with a calendar in order to provide a complete description of a temporal position
+ within a specific day.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeReferenceSystemType">
+ <sequence>
+ <element name="referenceEvent" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Name or description of an event, such as solar noon or sunrise,
+ which fixes the position of the base scale of the clock.</documentation>
+ </annotation>
+ </element>
+ <element name="referenceTime" type="time">
+ <annotation>
+ <documentation>time of day associated with the reference event expressed as
+ a time of day in the given clock. The reference time is usually the origin of the clock scale.</documentation>
+ </annotation>
+ </element>
+ <element name="utcReference" type="time">
+ <annotation>
+ <documentation>24 hour local or UTC time that corresponds to the reference time.</documentation>
+ </annotation>
+ </element>
+ <element name="dateBasis" type="gml:TimeCalendarPropertyType" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeClockPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TimeClock"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/temporalTopology.xsd b/petascope/xml/ogc/gml/3.1.1/base/temporalTopology.xsd
new file mode 100644
index 0000000..89b9a89
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/temporalTopology.xsd
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:temporalTopology:3.1.1"/>
+ <documentation xml:lang="en">The temporal topology schema for ISO19136 provides constructs for handling topological complexes and
+ temporal feature relationships.
+ Temporal geometric characteristics of features are represented as instants and periods.
+ While, temporal context of features that does not relate to the position of time is described as connectivity relationships
+ among instants and periods. These relationships are called temporal topology as they do not change in time,
+ as long as the direction of time does not change.
+ It is used effectively in the case of describing a family tree expressing evolution of species, an ecological cycle,
+ a lineage of lands or buildings, or a history of separation and merger of administrative boundaries.
+ This schema reflects a partial yet consistent implementation of the model described in ISO 19108:2002.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ===================================== -->
+ <include schemaLocation="temporal.xsd"/>
+ <!-- ===================================== -->
+ <!-- ================================================================== -->
+ <!-- == TimeTopologyComplex == -->
+ <!-- ================================================================== -->
+ <element name="TimeTopologyComplex" type="gml:TimeTopologyComplexType" substitutionGroup="gml:_TimeComplex">
+ <annotation>
+ <documentation xml:lang="en">This element represents temporal topology complex. It shall be the connected acyclic directed graph composed of time nodes and time edges.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="TimeTopologyComplexType">
+ <annotation>
+ <documentation xml:lang="en">A temporal topology complex.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeComplexType">
+ <sequence>
+ <element name="primitive" type="gml:TimeTopologyPrimitivePropertyType" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeTopologyComplexPropertyType">
+ <annotation>
+ <documentation>A time topology complex property can either be any time topology complex element
+ encapsulated in an element of this type or an XLink reference to a remote time topology complex element
+ (where remote includes elements located elsewhere in the same document).
+ Note that either the reference or the contained element must be given, but not both or none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TimeTopologyComplex"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- == TimeTopologyPrimitive == -->
+ <!-- ================================================================== -->
+ <element name="_TimeTopologyPrimitive" type="gml:AbstractTimeTopologyPrimitiveType" abstract="true" substitutionGroup="gml:_TimePrimitive">
+ <annotation>
+ <documentation xml:lang="en">This abstract element acts as the head of the substitution group for temporal topology primitives.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="AbstractTimeTopologyPrimitiveType" abstract="true">
+ <annotation>
+ <documentation xml:lang="en">The element "complex" carries a reference to the complex containing this primitive.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimePrimitiveType">
+ <sequence>
+ <element name="complex" type="gml:ReferenceType" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeTopologyPrimitivePropertyType">
+ <annotation>
+ <documentation>A time topology primitive property can either hold any time topology complex element
+ eor carry an XLink reference to a remote time topology complex element
+ (where remote includes elements located elsewhere in the same document).
+ Note that either the reference or the contained element must be given, but not both or none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:_TimeTopologyPrimitive"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ======= TimeNode ======= -->
+ <!-- ================================================================== -->
+ <element name="TimeNode" type="gml:TimeNodeType" substitutionGroup="gml:_TimeTopologyPrimitive">
+ <annotation>
+ <documentation xml:lang="en">"TimeNode" is a zero dimensional temporal topology primitive,
+ expresses a position in topological time, and is a start and an end of time edge, which represents states of time.
+ Time node may be isolated. However, it cannot describe the ordering relationships with other primitives.
+ An isolated node may not be an element of any temporal topology complex.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="TimeNodeType">
+ <annotation>
+ <documentation xml:lang="en">Type declaration of the element "TimeNode".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeTopologyPrimitiveType">
+ <sequence>
+ <element name="previousEdge" type="gml:TimeEdgePropertyType" minOccurs="0" maxOccurs="unbounded"/>
+ <element name="nextEdge" type="gml:TimeEdgePropertyType" minOccurs="0" maxOccurs="unbounded"/>
+ <element name="position" type="gml:TimeInstantPropertyType" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeNodePropertyType">
+ <annotation>
+ <documentation>A time node property can either be any time node element encapsulated in an element of this type
+ or an XLink reference to a remote time node element (where remote includes elements located elsewhere in the same document).
+ Note that either the reference or the contained element must be given, but not both or none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TimeNode"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- ======= TimeEdge ======= -->
+ <!-- ================================================================== -->
+ <element name="TimeEdge" type="gml:TimeEdgeType" substitutionGroup="gml:_TimeTopologyPrimitive">
+ <annotation>
+ <documentation xml:lang="en">TimeEdge is one dimensional temporal topology primitive,
+ expresses a state in topological time. It has an orientation from its start toward the end,
+ and its boundaries shall associate with two different time nodes.</documentation>
+ </annotation>
+ </element>
+ <!-- ================================================================== -->
+ <complexType name="TimeEdgeType">
+ <annotation>
+ <documentation xml:lang="en">Type declaration of the element "TimeEdge".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTimeTopologyPrimitiveType">
+ <sequence>
+ <element name="start" type="gml:TimeNodePropertyType"/>
+ <element name="end" type="gml:TimeNodePropertyType"/>
+ <element name="extent" type="gml:TimePeriodPropertyType" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ================================================================== -->
+ <complexType name="TimeEdgePropertyType">
+ <annotation>
+ <documentation>A time edge property can either be any time edge element encapsulated in an element of this type
+ or an XLink reference to a remote time edge element (where remote includes elements located elsewhere in the same document).
+ Note that either the reference or the contained element must be given, but not both or none.</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <element ref="gml:TimeEdge"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ================================================================== -->
+ <!-- === Succession === -->
+ <!-- ================================================================== -->
+ <simpleType name="SuccessionType">
+ <annotation>
+ <documentation>Feature succession is a semantic relationship derived from evaluation of observer, and
+ Feature Substitution, Feature Division and Feature Fusion are defined as associations between
+ previous features and next features in the temporal context.
+ Successions shall be represented in either following two ways.
+ * define a temporal topological complex element as a feature element
+ * define an association same as temporal topological complex between features.</documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="substitution"/>
+ <enumeration value="division"/>
+ <enumeration value="fusion"/>
+ <enumeration value="initiation"/>
+ </restriction>
+ </simpleType>
+ <!-- ================================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/topology.xsd b/petascope/xml/ogc/gml/3.1.1/base/topology.xsd
new file mode 100644
index 0000000..60969f4
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/topology.xsd
@@ -0,0 +1,458 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:topology:3.1.1">topology.xsd</appinfo>
+ <documentation>
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ </documentation>
+ </annotation>
+ <include schemaLocation="geometryComplexes.xsd"/>
+ <!-- ==============================================================
+ abstract supertype for topology objects
+ =============================================================== -->
+ <!-- ========================================================== -->
+ <element name="_Topology" type="gml:AbstractTopologyType" abstract="true" substitutionGroup="gml:_GML"/>
+ <!-- ========================================================== -->
+ <complexType name="AbstractTopologyType" abstract="true">
+ <complexContent>
+ <extension base="gml:AbstractGMLType"/>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="_TopoPrimitive" type="gml:AbstractTopoPrimitiveType" abstract="true" substitutionGroup="gml:_Topology">
+ <annotation>
+ <documentation>Substitution group branch for Topo Primitives, used by TopoPrimitiveArrayAssociationType</documentation>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <complexType name="AbstractTopoPrimitiveType" abstract="true">
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:isolated" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:container" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="isolated" type="gml:IsolatedPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:isolated">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <complexType name="IsolatedPropertyType">
+ <choice minOccurs="0">
+ <element ref="gml:Node"/>
+ <element ref="gml:Edge"/>
+ </choice>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="container" type="gml:ContainerPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:containerProperty">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <complexType name="ContainerPropertyType">
+ <sequence minOccurs="0">
+ <choice>
+ <element ref="gml:Face"/>
+ <element ref="gml:TopoSolid"/>
+ </choice>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- primitive topology objects -->
+ <!-- ========================================================== -->
+ <element name="Node" type="gml:NodeType" substitutionGroup="gml:_TopoPrimitive"/>
+ <!-- =========================================================== -->
+ <complexType name="NodeType">
+ <annotation>
+ <documentation>Its optional co-boundary is a set of connected directedEdges. The orientation of one of these dirEdges is "+" if the Node is the "to" node of the Edge, and "-" if it is the "from" node.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopoPrimitiveType">
+ <sequence>
+ <element ref="gml:directedEdge" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:pointProperty" minOccurs="0"/>
+ <!-- <element name="geometry" type="gml:PointPropertyType" minOccurs="0"/> -->
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===== Property for topology association - by Value or by Reference ===== -->
+ <element name="directedNode" type="gml:DirectedNodePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:directedNode">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="DirectedNodePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Node"/>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- primitive topology objects (1-dimensional) -->
+ <!-- ========================================================== -->
+ <element name="Edge" type="gml:EdgeType" substitutionGroup="gml:_TopoPrimitive"/>
+ <!-- ========================================================== -->
+ <complexType name="EdgeType">
+ <annotation>
+ <documentation>There is precisely one positively directed and one negatively directed node in the boundary of every edge. The negatively and positively directed nodes correspond to the start and end nodes respectively. The optional coboundary of an edge is a circular sequence of directed faces which are incident on this edge in document order. Faces which use a particular boundary edge in its positive orientation appear with positive orientation on the coboundary of the same edge. In the 2D case, the orientation of the face on the left of the edge is "+"; the orientation of the face on the right on its right is "-". An edge may optionally be realised by a 1-dimensional (curve) geometric primitive.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopoPrimitiveType">
+ <sequence>
+ <element ref="gml:directedNode" minOccurs="2" maxOccurs="2"/>
+ <element ref="gml:directedFace" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:curveProperty" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===== Property for topology association - by Value or by Reference ===== -->
+ <element name="directedEdge" type="gml:DirectedEdgePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:directedEdge">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="DirectedEdgePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Edge"/>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- primitive topology objects (2-dimensional) -->
+ <!-- ========================================================== -->
+ <element name="Face" type="gml:FaceType" substitutionGroup="gml:_TopoPrimitive"/>
+ <!-- ========================================================== -->
+ <complexType name="FaceType">
+ <annotation>
+ <documentation>. The topological boundary of a face consists of a set of directed edges. Note that all edges associated with a Face, including dangling and interior edges, appear in the boundary. Dangling and interior edges are each referenced by pairs of directedEdges with opposing orientations. The optional coboundary of a face is a pair of directed solids which are bounded by this face. If present, there is precisely one positively directed and one negatively directed solid in the coboundary of every face. The positively directed solid corresponds to the solid which lies in the direction of the positively directed normal to the face in any geometric realisation. A face may optionally be realised by a 2-dimensional (surface) geometric primitive.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopoPrimitiveType">
+ <sequence>
+ <element ref="gml:directedEdge" maxOccurs="unbounded"/>
+ <element ref="gml:directedTopoSolid" minOccurs="0" maxOccurs="2"/>
+ <element ref="gml:surfaceProperty" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===== Property for topology association - by Value or by Reference ===== -->
+ <element name="directedFace" type="gml:DirectedFacePropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:directedFace">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="DirectedFacePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Face"/>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- primitive topology objects (3-dimensional) -->
+ <!-- ========================================================== -->
+ <element name="TopoSolid" type="gml:TopoSolidType" substitutionGroup="gml:_TopoPrimitive"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoSolidType">
+ <annotation>
+ <documentation>The topological boundary of a TopoSolid consists of a set of directed faces. Note that all faces associated with the TopoSolid, including dangling faces, appear in the boundary. The coboundary of a TopoSolid is empty and hence requires no representation.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopoPrimitiveType">
+ <sequence>
+ <element ref="gml:directedFace" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value or by Reference ===== -->
+ <element name="directedTopoSolid" type="gml:DirectedTopoSolidPropertyType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:directedTopoSolid">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================= -->
+ <complexType name="DirectedTopoSolidPropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:TopoSolid"/>
+ </sequence>
+ <attribute name="orientation" type="gml:SignType" default="+"/>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="TopoPoint" type="gml:TopoPointType"/>
+ <!-- ========================================================== -->
+ <complexType name="TopoPointType">
+ <annotation>
+ <documentation>The intended use of TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this point to other features via shared node definitions. Note the orientation assigned to the directedNode has no meaning in this context. It is preserved for symmetry with the types and elements which follow.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:directedNode"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ============================================================= -->
+ <!-- ===== Property for topology association - by Value ===== -->
+ <element name="topoPointProperty" type="gml:TopoPointPropertyType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoPointPropertyType">
+ <sequence>
+ <element ref="gml:TopoPoint"/>
+ </sequence>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ========================================================== -->
+ <element name="TopoCurve" type="gml:TopoCurveType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoCurveType">
+ <annotation>
+ <documentation>The end Node of each directedEdge of a TopoCurveType
+is the start Node of the next directedEdge of the TopoCurveType in document order. The TopoCurve type and element represent a homogeneous topological expression, a list of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of TopoCurve is to appear within a line feature instance to express the structural and geometric relationships of this line to other features via the shared edge definitions.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:directedEdge" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value ===== -->
+ <element name="topoCurveProperty" type="gml:TopoCurvePropertyType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoCurvePropertyType">
+ <sequence>
+ <element ref="gml:TopoCurve"/>
+ </sequence>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ========================================================== -->
+ <element name="TopoSurface" type="gml:TopoSurfaceType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoSurfaceType">
+ <annotation>
+ <documentation>The TopoSurface type and element represent a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of TopoSurface is to appear within a surface feature instance to express the structural and possibly geometric relationships of this surface to other features via the shared face definitions.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:directedFace" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value ===== -->
+ <element name="topoSurfaceProperty" type="gml:TopoSurfacePropertyType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoSurfacePropertyType">
+ <sequence>
+ <element ref="gml:TopoSurface"/>
+ </sequence>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="TopoVolume" type="gml:TopoVolumeType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoVolumeType">
+ <annotation>
+ <documentation>The TopoVolume type and element represent a homogeneous topological expression, a set of directed TopoSolids, which if realised are isomorphic to a geometric solid primitive. The intended use of TopoVolume is to appear within a 3D solid feature instance to express the structural and geometric relationships of this solid to other features via the shared TopoSolid definitions. . Note the orientation assigned to the directedSolid has no meaning in three dimensions. It is preserved for symmetry with the preceding types and elements.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:directedTopoSolid" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value ===== -->
+ <element name="topoVolumeProperty" type="gml:TopoVolumePropertyType"/>
+ <!-- ============================================================= -->
+ <complexType name="TopoVolumePropertyType">
+ <sequence>
+ <element ref="gml:TopoVolume"/>
+ </sequence>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ========================================================== -->
+ <element name="TopoComplex" type="gml:TopoComplexType" substitutionGroup="gml:_Topology"/>
+ <!-- ========================================================== -->
+ <complexType name="TopoComplexType">
+ <annotation>
+ <documentation>This type represents a TP_Complex capable of holding topological primitives.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractTopologyType">
+ <sequence>
+ <element ref="gml:maximalComplex"/>
+ <element ref="gml:superComplex" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:subComplex" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:topoPrimitiveMember" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:topoPrimitiveMembers" minOccurs="0"/>
+ </sequence>
+ <attribute name="isMaximal" type="boolean" default="false"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- ===== Property for topology association - by Value or Reference ===== -->
+ <element name="topoComplexProperty" type="gml:TopoComplexMemberType"/>
+ <!-- ========================================================== -->
+ <element name="subComplex" type="gml:TopoComplexMemberType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:subComplex">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <element name="superComplex" type="gml:TopoComplexMemberType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:superComplex">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <element name="maximalComplex" type="gml:TopoComplexMemberType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:subComplex">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>Need schamatron test here that isMaximal attribute value is true</documentation>
+ </annotation>
+ </element>
+ <!-- ============================================================= -->
+ <complexType name="TopoComplexMemberType">
+ <annotation>
+ <documentation>This Property can be used to embed a TopoComplex in a feature collection.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:TopoComplex" minOccurs="0"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value or Reference ===== -->
+ <element name="topoPrimitiveMember" type="gml:TopoPrimitiveMemberType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:topoPrimitiveMember">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ============================================================= -->
+ <complexType name="TopoPrimitiveMemberType">
+ <annotation>
+ <documentation>This type supports embedding topological primitives in a TopoComplex.</documentation>
+ </annotation>
+ <sequence>
+ <element ref="gml:_TopoPrimitive" minOccurs="0"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ========================================================== -->
+ <!-- ===== Property for topology association - by Value ===== -->
+ <element name="topoPrimitiveMembers" type="gml:TopoPrimitiveArrayAssociationType">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="refAndContent co-occurence prohibited">
+ <sch:rule context="gml:topoPrimitiveMember">
+ <sch:extends rule="hrefOrContent"/>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <complexType name="TopoPrimitiveArrayAssociationType">
+ <annotation>
+ <documentation>This type supports embedding an array of topological primitives in a TopoComplex</documentation>
+ </annotation>
+ <!-- <complexContent>
+ <restriction base="gml:ArrayAssociationType"> -->
+ <sequence>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element ref="gml:_TopoPrimitive"/>
+ </choice>
+ </sequence>
+ <!-- </restriction>
+ </complexContent> -->
+ </complexType>
+ <!-- ========================================================== -->
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/base/units.xsd b/petascope/xml/ogc/gml/3.1.1/base/units.xsd
new file mode 100644
index 0000000..e65a4d8
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/units.xsd
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1" xml:lang="en">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-units:3.1.1"/>
+ <documentation>Builds on gmlBase.xsd to encode units of measure (or uom), including definitions of units of measure and dictionaries of such definitions. GML 3.0 candidate schema, primary editor: Arliss Whiteside. Last updated 2005-06-22.
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr
+ Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on most of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.</documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <include schemaLocation="dictionary.xsd"/>
+ <!-- ==============================================================
+ elements and types
+ ============================================================== -->
+ <element name="unitOfMeasure" type="gml:UnitOfMeasureType"/>
+ <!-- =========================================================== -->
+ <complexType name="UnitOfMeasureType">
+ <annotation>
+ <documentation>Reference to a unit of measure definition that applies to all the numerical values described by the element containing this element. Notice that a complexType which needs to include the uom attribute can do so by extending this complexType. Alternately, this complexType can be used as a pattern for a new complexType.</documentation>
+ </annotation>
+ <sequence/>
+ <attribute name="uom" type="anyURI" use="required">
+ <annotation>
+ <documentation>Reference to a unit of measure definition, usually within the same XML document but possibly outside the XML document which contains this reference. For a reference within the same XML document, the "#" symbol should be used, followed by a text abbreviation of the unit name. However, the "#" symbol may be optional, and still may be interpreted as a reference.</documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="UnitDefinition" type="gml:UnitDefinitionType" substitutionGroup="gml:Definition"/>
+ <!-- =========================================================== -->
+ <complexType name="UnitDefinitionType">
+ <annotation>
+ <documentation>Definition of a unit of measure (or uom). The definition includes a quantityType property, which indicates the phenomenon to which the units apply, and a catalogSymbol, which gives the short symbol used for this unit. This element is used when the relationship of this unit to other units or units systems is unknown.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:DefinitionType">
+ <sequence>
+ <element ref="gml:quantityType"/>
+ <element ref="gml:catalogSymbol" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="BaseUnit" type="gml:BaseUnitType" substitutionGroup="gml:UnitDefinition"/>
+ <!-- =========================================================== -->
+ <complexType name="BaseUnitType">
+ <annotation>
+ <documentation>Definition of a unit of measure which is a base unit from the system of units. A base unit cannot be derived by combination of other base units within this system. Sometimes known as "fundamental unit".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:UnitDefinitionType">
+ <sequence>
+ <element name="unitsSystem" type="gml:ReferenceType"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="DerivedUnit" type="gml:DerivedUnitType" substitutionGroup="gml:UnitDefinition"/>
+ <!-- ============================================================ -->
+ <complexType name="DerivedUnitType">
+ <annotation>
+ <documentation>Definition of a unit of measure which is defined through algebraic combination of more primitive units, which are usually base units from a particular system of units. Derived units based directly on base units are usually preferred for quantities other than the base units or fundamental quantities within a system. If a derived unit is not the preferred unit, the ConventionalUnit element should be used instead.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:UnitDefinitionType">
+ <sequence>
+ <element ref="gml:derivationUnitTerm" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="ConventionalUnit" type="gml:ConventionalUnitType" substitutionGroup="gml:UnitDefinition"/>
+ <!-- =========================================================== -->
+ <complexType name="ConventionalUnitType">
+ <annotation>
+ <documentation>Definition of a unit of measure which is related to a preferred unit for this quantity type through a conversion formula. A method for deriving this unit by algebraic combination of more primitive units, may also be provided.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:UnitDefinitionType">
+ <sequence>
+ <choice>
+ <element ref="gml:conversionToPreferredUnit"/>
+ <element ref="gml:roughConversionToPreferredUnit"/>
+ </choice>
+ <element ref="gml:derivationUnitTerm" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="quantityType" type="gml:StringOrRefType">
+ <annotation>
+ <documentation>Informal description of the phenomenon or type of quantity that is measured or observed. For example, "length", "angle", "time", "pressure", or "temperature". When the quantity is the result of an observation or measurement, this term is known as Observable Type or Measurand.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="catalogSymbol" type="gml:CodeType">
+ <annotation>
+ <documentation>For global understanding of a unit of measure, it is often possible to reference an item in a catalog of units, using a symbol in that catalog. The "codeSpace" attribute in "CodeType" identifies a namespace for the catalog symbol value, and might reference the catalog. The "string" value in "CodeType" contains the value of a symbol that is unique within this catalog namespace. This symbol often appears explicitly in the catalog, but it could be a combination of symbols using a specified algebra of units. For example, the symbol "cm" might indicate that it is the "m" symbol combined with the "c" prefix.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="derivationUnitTerm" type="gml:DerivationUnitTermType"/>
+ <!-- =========================================================== -->
+ <complexType name="DerivationUnitTermType">
+ <annotation>
+ <documentation>Definition of one unit term for a derived unit of measure. This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent can be positive or negative, but not zero.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:UnitOfMeasureType">
+ <attribute name="exponent" type="integer"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="conversionToPreferredUnit" type="gml:ConversionToPreferredUnitType">
+ <annotation>
+ <documentation>This element is included when this unit has an accurate conversion to the preferred unit for this quantity type.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <element name="roughConversionToPreferredUnit" type="gml:ConversionToPreferredUnitType">
+ <annotation>
+ <documentation>This element is included when the correct definition of this unit is unknown, but this unit has a rough or inaccurate conversion to the preferred unit for this quantity type.</documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="ConversionToPreferredUnitType">
+ <annotation>
+ <documentation>Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:UnitOfMeasureType">
+ <choice>
+ <element name="factor" type="double">
+ <annotation>
+ <documentation>Specification of the scale factor by which a value using this unit of measure can be multiplied to obtain the corresponding value using the preferred unit of measure.</documentation>
+ </annotation>
+ </element>
+ <element name="formula" type="gml:FormulaType">
+ <annotation>
+ <documentation>Specification of the formula by which a value using this unit of measure can be converted to obtain the corresponding value using the preferred unit of measure.</documentation>
+ </annotation>
+ </element>
+ </choice>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <complexType name="FormulaType">
+ <annotation>
+ <documentation>Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.</documentation>
+ </annotation>
+ <sequence>
+ <element name="a" type="double" minOccurs="0"/>
+ <element name="b" type="double"/>
+ <element name="c" type="double"/>
+ <element name="d" type="double" minOccurs="0"/>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/base/valueObjects.xsd b/petascope/xml/ogc/gml/3.1.1/base/valueObjects.xsd
new file mode 100644
index 0000000..2aa8355
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/base/valueObjects.xsd
@@ -0,0 +1,358 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified" version="3.1.1">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xsd:valueObjects:3.1.1">valueObjects.xsd</appinfo>
+ <documentation>GML conformant schema for Values in which the
+ * scalar Value types and lists have their values recorded in simpleContent elements
+ * complex Value types are built recursively
+ Copyright (c) 2002-2005 OGC, All Rights Reserved.
+ For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation>
+ </annotation>
+ <!-- ====================================================================== -->
+ <!-- geometry and temporal included so that _Geometry and _TimeObject can be added to Value choice group -->
+ <include schemaLocation="geometryBasic0d1d.xsd"/>
+ <include schemaLocation="temporal.xsd"/>
+ <!-- ====================================================================== -->
+ <group name="Value">
+ <annotation>
+ <documentation>Utility choice group which unifies generic Values defined in this schema document with
+ Geometry and Temporal objects and the Measures described above,
+ so that any of these may be used within aggregate Values.</documentation>
+ </annotation>
+ <choice>
+ <!-- <element ref="gml:_Value"/> -->
+ <group ref="gml:ValueObject"/>
+ <element ref="gml:_Object"/>
+ <!-- <element ref="gml:_Geometry"/>
+ <element ref="gml:_TimeObject"/> -->
+ <element ref="gml:Null"/>
+ </choice>
+ </group>
+ <!-- ====================================================================== -->
+ <group name="ValueObject">
+ <choice>
+ <group ref="gml:ScalarValue"/>
+ <group ref="gml:ScalarValueList"/>
+ <group ref="gml:ValueExtent"/>
+ <element ref="gml:CompositeValue"/>
+ </choice>
+ </group>
+ <!-- ======================================================================
+ <element name="_Value" abstract="true" substitutionGroup="gml:_Object">
+ <annotation>
+ <documentation>Abstract element which acts as the head of a substitution group which contains _ScalarValue, _ScalarValueList and CompositeValue and (transitively) the elements in their substitution groups. This element may be used in an application schema as a variable, so that in an XML instance document any member of its substitution group may occur.</documentation>
+ </annotation>
+ </element> -->
+ <!-- ====================================================================== -->
+ <!-- ================== Scalar Values =========================
+ <element name="_ScalarValue" abstract="true" substitutionGroup="gml:_Value">
+ <annotation>
+ <documentation>Abstract element which acts as the head of a substitution group which contains Boolean, Category, Count and Quantity, and (transitively) the elements in their substitution groups. This element may be used in an application schema as a variable, so that in an XML instance document any member of its substitution group may occur.</documentation>
+ </annotation>
+ </element> -->
+ <group name="ScalarValue">
+ <choice>
+ <element ref="gml:Boolean"/>
+ <element ref="gml:Category"/>
+ <element ref="gml:Quantity"/>
+ <element ref="gml:Count"/>
+ </choice>
+ </group>
+ <!-- ======================================================================
+ <element name="_ScalarValueList" abstract="true" substitutionGroup="gml:_Value">
+ <annotation>
+ <documentation>Abstract element which acts as the head of a substitution group which contains the compact encodings BooleanList, CategoryList, CountList and QuantityList, and (transitively) the elements in their substitution groups. This element may be used in an application schema as a variable, so that in an XML instance document any member of its substitution group may occur.</documentation>
+ </annotation>
+ </element> -->
+ <group name="ScalarValueList">
+ <choice>
+ <element ref="gml:BooleanList"/>
+ <element ref="gml:CategoryList"/>
+ <element ref="gml:QuantityList"/>
+ <element ref="gml:CountList"/>
+ </choice>
+ </group>
+ <!-- ====================================================================== -->
+ <!-- ======================= Boolean ========================
+ <element name="Boolean" type="boolean" substitutionGroup="gml:_ScalarValue"> -->
+ <element name="Boolean" type="boolean">
+ <annotation>
+ <documentation>A value from two-valued logic, using the XML Schema boolean type. An instance may take the values {true, false, 1, 0}.</documentation>
+ </annotation>
+ </element>
+ <!--
+ <element name="BooleanList" type="gml:booleanOrNullList" substitutionGroup="gml:_ScalarValueList"> -->
+ <element name="BooleanList" type="gml:booleanOrNullList">
+ <annotation>
+ <documentation>XML List based on XML Schema boolean type. An element of this type contains a space-separated list of boolean values {0,1,true,false}</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <!-- ======================= Category ==========================
+ <element name="Category" type="gml:CodeType" substitutionGroup="gml:_ScalarValue"> -->
+ <element name="Category" type="gml:CodeType">
+ <annotation>
+ <documentation>A term representing a classification. It has an optional XML attribute codeSpace, whose value is a URI which identifies a dictionary, codelist or authority for the term.</documentation>
+ </annotation>
+ </element>
+ <!--
+ <element name="CategoryList" type="gml:CodeOrNullListType" substitutionGroup="gml:_ScalarValueList"> -->
+ <element name="CategoryList" type="gml:CodeOrNullListType">
+ <annotation>
+ <documentation>A space-separated list of terms or nulls. A single XML attribute codeSpace may be provided, which authorises all the terms in the list.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <!-- =========================== Quantity ============================
+ <element name="Quantity" type="gml:MeasureType" substitutionGroup="gml:_ScalarValue"> -->
+ <element name="Quantity" type="gml:MeasureType">
+ <annotation>
+ <documentation>A numeric value with a scale. The content of the element is an amount using the XML Schema type double which permits decimal or scientific notation. An XML attribute uom (unit of measure) is required, whose value is a URI which identifies the definition of the scale or units by which the numeric value must be multiplied.</documentation>
+ </annotation>
+ </element>
+ <!--
+ <element name="QuantityList" type="gml:MeasureOrNullListType" substitutionGroup="gml:_ScalarValueList"> -->
+ <element name="QuantityList" type="gml:MeasureOrNullListType">
+ <annotation>
+ <documentation>A space separated list of amounts or nulls. The amounts use the XML Schema type double. A single XML attribute uom (unit of measure) is required, whose value is a URI which identifies the definition of the scale or units by which all the amounts in the list must be multiplied.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <!-- ========================== Count ==========================
+ <element name="Count" type="integer" substitutionGroup="gml:_ScalarValue"> -->
+ <element name="Count" type="integer">
+ <annotation>
+ <documentation>An integer representing a frequency of occurrence.</documentation>
+ </annotation>
+ </element>
+ <!--
+ <element name="CountList" type="gml:integerOrNullList" substitutionGroup="gml:_ScalarValueList"> -->
+ <element name="CountList" type="gml:integerOrNullList">
+ <annotation>
+ <documentation>A space-separated list of integers or nulls.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <!-- aggregate Value types -->
+ <!-- ====================================================================== -->
+ <!-- ===================== ValueCollection ========================== -->
+ <complexType name="CompositeValueType">
+ <annotation>
+ <documentation>Aggregate value built from other Values using the Composite pattern. It contains zero or an arbitrary number of valueComponent elements, and zero or one valueComponents elements. It may be used for strongly coupled aggregates (vectors, tensors) or for arbitrary collections of values.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:AbstractGMLType">
+ <sequence>
+ <element ref="gml:valueComponent" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="gml:valueComponents" minOccurs="0"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- <element name="CompositeValue" type="gml:CompositeValueType" substitutionGroup="gml:_Value"> -->
+ <element name="CompositeValue" type="gml:CompositeValueType">
+ <annotation>
+ <documentation>Aggregate value built using the Composite pattern.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <!-- ========================= ValueArray ========================== -->
+ <complexType name="ValueArrayType">
+ <annotation>
+ <documentation>A Value Array is used for homogeneous arrays of primitive and aggregate values. The member values may be scalars, composites, arrays or lists. ValueArray has the same content model as CompositeValue, but the member values must be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the referenceSystem (uom, codeSpace) may be specified on the ValueArray itself and implicitly inherited by all the members if desired. Note that a_ScalarValueList is preferred for arrays of Scalar Values since this is a more efficient encoding.</documentation>
+ </annotation>
+ <complexContent>
+ <extension base="gml:CompositeValueType">
+ <attributeGroup ref="gml:referenceSystem"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- -->
+ <element name="ValueArray" type="gml:ValueArrayType" substitutionGroup="gml:CompositeValue">
+ <annotation>
+ <appinfo>
+ <sch:pattern name="Check either codeSpace or uom not both">
+ <sch:rule context="gml:ValueArray">
+ <sch:report test="@codeSpace and @uom">ValueArray may not carry both a reference to a codeSpace and a uom</sch:report>
+ </sch:rule>
+ </sch:pattern>
+ <sch:pattern name="Check components are homogeneous">
+ <sch:rule context="gml:ValueArray">
+ <sch:assert test="count(gml:valueComponent/*) = count(gml:valueComponent/*[name() = name(../../gml:valueComponent[1]/*[1])])">All components of <sch:name/> must be of the same type</sch:assert>
+ <sch:assert test="count(gml:valueComponents/*) = count(gml:valueComponents/*[name() = name(../*[1])])">All components of <sch:name/> must be of the same type</sch:assert>
+ </sch:rule>
+ </sch:pattern>
+ </appinfo>
+ <documentation>A Value Array is used for homogeneous arrays of primitive and aggregate values. _ScalarValueList is preferred for arrays of Scalar Values since this is more efficient. Since "choice" is not available for attribute groups, an external constraint (e.g. Schematron) would be required to enforce the selection of only one of these through schema validation</documentation>
+ </annotation>
+ </element>
+ <!-- attribute group required for ValueArray -->
+ <attributeGroup name="referenceSystem">
+ <attribute name="codeSpace" type="anyURI" use="optional"/>
+ <attribute name="uom" type="anyURI" use="optional"/>
+ </attributeGroup>
+ <!-- ====================================================================== -->
+ <!-- ====================== Typed ValueExtents ============================ -->
+ <group name="ValueExtent">
+ <choice>
+ <element ref="gml:CategoryExtent"/>
+ <element ref="gml:QuantityExtent"/>
+ <element ref="gml:CountExtent"/>
+ </choice>
+ </group>
+ <!-- ======================================================================
+ <element name="QuantityExtent" type="gml:QuantityExtentType" substitutionGroup="gml:_Value"> -->
+ <element name="QuantityExtent" type="gml:QuantityExtentType">
+ <annotation>
+ <documentation>Utility element to store a 2-point range of numeric values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ </element>
+ <!-- -->
+ <complexType name="QuantityExtentType">
+ <annotation>
+ <documentation>Restriction of list type to store a 2-point range of numeric values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:MeasureOrNullListType">
+ <length value="2"/>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ <!-- ======================================================================
+ <element name="CategoryExtent" type="gml:CategoryExtentType" substitutionGroup="gml:_Value"> -->
+ <element name="CategoryExtent" type="gml:CategoryExtentType">
+ <annotation>
+ <documentation>Utility element to store a 2-point range of ordinal values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ </element>
+ <!-- -->
+ <complexType name="CategoryExtentType">
+ <annotation>
+ <documentation>Restriction of list type to store a 2-point range of ordinal values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ <simpleContent>
+ <restriction base="gml:CodeOrNullListType">
+ <length value="2"/>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ <!-- ======================================================================
+ <element name="CountExtent" type="gml:CountExtentType" substitutionGroup="gml:_Value"> -->
+ <element name="CountExtent" type="gml:CountExtentType">
+ <annotation>
+ <documentation>Utility element to store a 2-point range of frequency values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ </element>
+ <!-- -->
+ <simpleType name="CountExtentType">
+ <annotation>
+ <documentation>Restriction of list type to store a 2-point range of frequency values. If one member is a null, then this is a single ended interval.</documentation>
+ </annotation>
+ <restriction base="gml:integerOrNullList">
+ <length value="2"/>
+ </restriction>
+ </simpleType>
+ <!-- ====================================================================== -->
+ <!-- ===================== pieces needed for compositing ==================== -->
+ <element name="valueProperty" type="gml:ValuePropertyType">
+ <annotation>
+ <documentation>Element which refers to, or contains, a Value</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <element name="valueComponent" type="gml:ValuePropertyType">
+ <annotation>
+ <documentation>Element which refers to, or contains, a Value. This version is used in CompositeValues.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <complexType name="ValuePropertyType">
+ <annotation>
+ <documentation>GML property which refers to, or contains, a Value</documentation>
+ </annotation>
+ <sequence minOccurs="0">
+ <group ref="gml:Value"/>
+ </sequence>
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
+ </complexType>
+ <!-- ====================================================================== -->
+ <!-- ====================================================================== -->
+ <element name="valueComponents" type="gml:ValueArrayPropertyType">
+ <annotation>
+ <documentation>Element which refers to, or contains, a set of homogeneously typed Values.</documentation>
+ </annotation>
+ </element>
+ <!-- ====================================================================== -->
+ <complexType name="ValueArrayPropertyType">
+ <annotation>
+ <documentation>GML property which refers to, or contains, a set of homogeneously typed Values.</documentation>
+ </annotation>
+ <sequence>
+ <group ref="gml:Value" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <!-- ====================== utility typed valueProperty types =================== -->
+ <complexType name="ScalarValuePropertyType">
+ <annotation>
+ <documentation>Property whose content is a scalar value.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ValuePropertyType">
+ <sequence minOccurs="0">
+ <!-- <element ref="gml:_ScalarValue"/> -->
+ <group ref="gml:ScalarValue"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="BooleanPropertyType">
+ <annotation>
+ <documentation>Property whose content is a Boolean value.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ValuePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Boolean"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="CategoryPropertyType">
+ <annotation>
+ <documentation>Property whose content is a Category.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ValuePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Category"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="QuantityPropertyType">
+ <annotation>
+ <documentation>Property whose content is a Quantity.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ValuePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Quantity"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="CountPropertyType">
+ <annotation>
+ <documentation>Property whose content is a Count.</documentation>
+ </annotation>
+ <complexContent>
+ <restriction base="gml:ValuePropertyType">
+ <sequence minOccurs="0">
+ <element ref="gml:Count"/>
+ </sequence>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <!-- ====================================================================== -->
+</schema> \ No newline at end of file
diff --git a/petascope/xml/ogc/gml/3.1.1/readme.txt b/petascope/xml/ogc/gml/3.1.1/readme.txt
new file mode 100644
index 0000000..e57cae5
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/readme.txt
@@ -0,0 +1,50 @@
+GML 3.1.1 Schema Package Readme
+
+The schema package contained in this directory is the normative GML
+3.1.1 schema set as approved by the OGC membership in May 2005. This
+version corrects a number of errors in the GML 3.1.0 schemas that
+prevented validation.
+
+Reason for Changes: The XML Schema for GML 3.1 fails to validate using
+several of the most popular XML processing software applications.
+
+Four sets of errors have been found in the GML 3.1 Schema, with
+corrections applied as described:
+
+1. the content model for "metaDataProperty" is non-determinstic: you
+can't have a choice group containing <any> with anything else
+ - delete _MetaData from the choice group
+
+2. membership of the _timeLength, _Value, _ScalarValue,
+_ScalarValueList substitution groups relies on an interpretation of the
+XML Schema specification which is not uniformly accepted
+ - replace with an explicit <choice> groups
+
+3. axisName (type="string") in grids.xsd clashes with axisName
+(different type) in coordinateSystems.xsd
+ - Remove the latter, use the gml:name property instead
+
+4. a "derivation-by-restriction" pattern used widely throughout the
+schema has a cardinality constraint (minOccurs="0", and sometimes
+maxOccurs="unbounded") applied to a "property" element in a base type,
+where the property element is the head of a substitution group; in a
+type derived by restriction in which one or more members of the
+substitution group is selected, the validation procedure described in
+the W3C XML Schema specification requires that the validation
+constraint appear on a <choice> container element, rather than on the
+substitution group member element
+ - move the cardinality constraint up to the <sequence>
+ container element
+ - remove unnecessary derivation-by-restriction chains,
+ particularly concerning derivation of property elements
+
+As this pattern is used pervasively in GML, there are numerous changes
+in almost all of the schema documents.
+
+The revised schema has been tested with Xerces-J, XSV, .NET, MSXML and
+no validation errors are found.
+
+http://schemas.opengis.net/gml/3.1.1/
+
+2005-08-11
+
diff --git a/petascope/xml/ogc/gml/3.1.1/smil/smil20-language.xsd b/petascope/xml/ogc/gml/3.1.1/smil/smil20-language.xsd
new file mode 100644
index 0000000..6608c90
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/smil/smil20-language.xsd
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+=================== OpenGIS ============================
+ This schema is here because there are errors in publicly available smil schemas at w3c site.
+ One is acknowledged by w3c - it is typographical error described in SMIL errata document at:
+ http://www.w3.org/2001/07/REC-SMIL20-20010731-errata
+ under:
+ E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002)
+ Others (at least one) are assumed after failed validation using Visual Studio .NET.
+ These smil schemas are reorganized to include in minimum number of files all and only definitions required by
+ defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas.
+ When w3c fixes the public schemas these will be discarded
+ comment: Milan Trninic, Galdos Systems Inc., May 2002
+=================== OpenGIS ============================
+-->
+<!--
+XML Schema for the SMIL 2.0 Language
+
+This is SMIL 2.0
+Copyright: 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
+See http://www.w3.org/Consortium/Legal/.
+
+Public URI: http://www.w3.org/2001/SMIL20/smil20-language.xsd
+Author: Aaron Michael Cohen (Intel)
+
+Revision: 2001/07/15
+
+Note: <any> wildcard element content is missing from most of the SMIL 2.0 elements because of a conflict
+between substitutionGroups and wildcard content.
+-->
+<schema targetNamespace="http://www.w3.org/2001/SMIL20/Language" xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language" xmlns:smil20="http://www.w3.org/2001/SMIL20/" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+ <!-- import the smil20 namespaces -->
+ <import namespace="http://www.w3.org/2001/SMIL20/" schemaLocation="smil20.xsd"/>
+ <element name="animate" type="smil20lang:animateType"/>
+ <complexType name="animateType">
+ <complexContent>
+ <extension base="smil20:animatePrototype">
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <any namespace="##other" processContents="lax"/>
+ </choice>
+ <attributeGroup ref="smil20lang:CoreAttrs"/>
+ <attributeGroup ref="smil20lang:TimingAttrs"/>
+ <attributeGroup ref="smil20:animTargetAttrs"/>
+ <attributeGroup ref="smil20:animModeAttrs"/>
+ <attributeGroup ref="smil20:skipContentAttrs"/>
+ <anyAttribute namespace="##any" processContents="strict"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <attributeGroup name="CoreAttrs">
+ <attributeGroup ref="smil20:structureModuleAttrs"/>
+ <attributeGroup ref="smil20:alternateContentAttrs"/>
+ </attributeGroup>
+ <attributeGroup name="TimingAttrs">
+ <attributeGroup ref="smil20lang:BasicTimingAttrs"/>
+ <attributeGroup ref="smil20:syncBehaviorAttrs"/>
+ <attributeGroup ref="smil20:syncBehaviorDefaultAttrs"/>
+ <attributeGroup ref="smil20:restartTimingAttrs"/>
+ <attributeGroup ref="smil20:restartDefaultAttrs"/>
+ <attributeGroup ref="smil20:fillTimingAttrs"/>
+ <attributeGroup ref="smil20:fillDefaultAttrs"/>
+ </attributeGroup>
+ <attributeGroup name="BasicTimingAttrs">
+ <attributeGroup ref="smil20:beginEndTimingAttrs"/>
+ <attributeGroup ref="smil20:durTimingAttrs"/>
+ <attributeGroup ref="smil20:repeatTimingAttrs"/>
+ <attributeGroup ref="smil20:deprecatedRepeatTiming"/>
+ <attributeGroup ref="smil20:minMaxTimingAttrs"/>
+ </attributeGroup>
+ <element name="animateMotion" type="smil20lang:animateMotionType"/>
+ <complexType name="animateMotionType">
+ <complexContent>
+ <extension base="smil20:animateMotionPrototype">
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <any namespace="##other" processContents="lax"/>
+ </choice>
+ <attributeGroup ref="smil20lang:CoreAttrs"/>
+ <attributeGroup ref="smil20lang:TimingAttrs"/>
+ <attributeGroup ref="smil20:animTargetAttrs"/>
+ <attributeGroup ref="smil20:animModeAttrs"/>
+ <attributeGroup ref="smil20:skipContentAttrs"/>
+ <anyAttribute namespace="##any" processContents="strict"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="animateColor" type="smil20lang:animateColorType"/>
+ <complexType name="animateColorType">
+ <complexContent>
+ <extension base="smil20:animateColorPrototype">
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <any namespace="##other" processContents="lax"/>
+ </choice>
+ <attributeGroup ref="smil20lang:CoreAttrs"/>
+ <attributeGroup ref="smil20lang:TimingAttrs"/>
+ <attributeGroup ref="smil20:animTargetAttrs"/>
+ <attributeGroup ref="smil20:animModeAttrs"/>
+ <attributeGroup ref="smil20:skipContentAttrs"/>
+ <anyAttribute namespace="##any" processContents="strict"/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="set" type="smil20lang:setType"/>
+ <complexType name="setType">
+ <complexContent>
+ <extension base="smil20:setPrototype">
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <any namespace="##other" processContents="lax"/>
+ </choice>
+ <attributeGroup ref="smil20lang:CoreAttrs"/>
+ <attributeGroup ref="smil20lang:TimingAttrs"/>
+ <attributeGroup ref="smil20:animTargetAttrs"/>
+ <attributeGroup ref="smil20:skipContentAttrs"/>
+ <anyAttribute namespace="##any" processContents="strict"/>
+ </extension>
+ </complexContent>
+ </complexType>
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/smil/smil20.xsd b/petascope/xml/ogc/gml/3.1.1/smil/smil20.xsd
new file mode 100644
index 0000000..4a4f829
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/smil/smil20.xsd
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+=================== OpenGIS ============================
+ This schema is here because there are errors in publicly available smil schemas at w3c site.
+ One is acknowledged by w3c - it is typographical error described in SMIL errata document at:
+ http://www.w3.org/2001/07/REC-SMIL20-20010731-errata
+ under:
+ E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002)
+ Others (at least one) are assumed after failed validation using Visual Studio .NET.
+ These smil schemas are reorganized to include in minimum number of files all and only definitions required by
+ defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas.
+ When w3c fixes the public schemas these will be discarded
+ comment: Milan Trninic, Galdos Systems Inc., May 2002
+
+ comment#2: Milan Trninic, Galdos Systems Inc., Dec 2002
+ In order to validate with xerces, changed the "x:" prefix to "xml:" in the namespace declaration and reference to "lang" attribute
+=================== OpenGIS ============================
+-->
+<!--
+XML Schema for the SMIL 2.0 modules
+
+This is SMIL 2.0
+Copyright: 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
+See http://www.w3.org/Consortium/Legal/.
+
+Public URI: http://www.w3.org/2001/SMIL20/smil20.xsd
+Author: Aaron Michael Cohen (Intel)
+Revision: 2001/07/31
+-->
+<schema targetNamespace="http://www.w3.org/2001/SMIL20/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:smil20="http://www.w3.org/2001/SMIL20/" xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language" elementFormDefault="qualified">
+ <import namespace="http://www.w3.org/2001/SMIL20/Language" schemaLocation="smil20-language.xsd"/>
+ <!-- =============================================================
+ struct.xsd
+ ============================================================== -->
+ <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml-mod.xsd"/>
+ <attributeGroup name="structureModuleAttrs">
+ <attribute name="id" type="ID" use="optional"/>
+ <attribute name="class" type="string" use="optional"/>
+ <attribute ref="xml:lang" use="optional"/>
+ </attributeGroup>
+ <!-- =============================================================
+ content.xsd
+ ============================================================== -->
+ <attributeGroup name="skipContentAttrs">
+ <attribute name="skip-content" type="boolean" use="optional" default="true"/>
+ </attributeGroup>
+ <!-- =============================================================
+ media.xsd
+ ============================================================== -->
+ <attributeGroup name="alternateContentAttrs">
+ <attribute name="alt" type="string" use="optional"/>
+ <attribute name="longdesc" type="anyURI" use="optional"/>
+ </attributeGroup>
+ <!-- =============================================================
+ utility.xsd
+ ============================================================== -->
+ <simpleType name="nonNegativeDecimalType">
+ <restriction base="decimal">
+ <minInclusive value="0.0"/>
+ </restriction>
+ </simpleType>
+ <!-- =============================================================
+ animate.xsd
+ ============================================================== -->
+ <element name="animate" type="smil20lang:animateType" substitutionGroup="smil20lang:animate"/>
+ <complexType name="animatePrototype">
+ <attributeGroup ref="smil20:animNamedTargetAttrs"/>
+ <attributeGroup ref="smil20:animAddAccumAttrs"/>
+ <attributeGroup ref="smil20:animValuesAttrs"/>
+ </complexType>
+ <attributeGroup name="animNamedTargetAttrs">
+ <attribute name="attributeName" type="string" use="required"/>
+ <attribute name="attributeType" use="optional" default="auto">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="XML"/>
+ <enumeration value="CSS"/>
+ <enumeration value="auto"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </attributeGroup>
+ <attributeGroup name="animAddAccumAttrs">
+ <attribute name="additive" use="optional" default="replace">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="replace"/>
+ <enumeration value="sum"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="accumulate" use="optional" default="none">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="none"/>
+ <enumeration value="sum"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </attributeGroup>
+ <attributeGroup name="animValuesAttrs">
+ <attributeGroup ref="smil20:animSetValuesAttrs"/>
+ <attribute name="from" type="string" use="optional"/>
+ <attribute name="by" type="string" use="optional"/>
+ <attribute name="values" type="string" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="animSetValuesAttrs">
+ <attribute name="to" type="string" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="animTargetAttrs">
+ <attribute name="targetElement" type="IDREF" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="animModeAttrs">
+ <attribute name="calcMode" use="optional" default="linear">
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="discrete"/>
+ <enumeration value="linear"/>
+ <enumeration value="paced"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </attributeGroup>
+ <element name="animateMotion" type="smil20lang:animateMotionType" substitutionGroup="smil20lang:animateMotion"/>
+ <complexType name="animateMotionPrototype">
+ <attributeGroup ref="smil20:animAddAccumAttrs"/>
+ <attributeGroup ref="smil20:animValuesAttrs"/>
+ <attribute name="origin" type="string" use="optional"/>
+ </complexType>
+ <element name="animateColor" type="smil20lang:animateColorType" substitutionGroup="smil20lang:animateColor"/>
+ <complexType name="animateColorPrototype">
+ <attributeGroup ref="smil20:animNamedTargetAttrs"/>
+ <attributeGroup ref="smil20:animAddAccumAttrs"/>
+ <attributeGroup ref="smil20:animValuesAttrs"/>
+ </complexType>
+ <element name="set" type="smil20lang:setType" substitutionGroup="smil20lang:set"/>
+ <complexType name="setPrototype">
+ <attributeGroup ref="smil20:animNamedTargetAttrs"/>
+ <attributeGroup ref="smil20:animSetValuesAttrs"/>
+ </complexType>
+ <!-- =============================================================
+ timing.xsd
+ ============================================================== -->
+ <attributeGroup name="syncBehaviorAttrs">
+ <attribute name="syncBehavior" type="smil20:syncBehaviorType" default="default"/>
+ <attribute name="syncTolerance" type="string" use="optional"/>
+ </attributeGroup>
+ <simpleType name="syncBehaviorType">
+ <restriction base="string">
+ <enumeration value="canSlip"/>
+ <enumeration value="locked"/>
+ <enumeration value="independent"/>
+ <enumeration value="default"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="syncBehaviorDefaultAttrs">
+ <attribute name="syncBehaviorDefault" type="smil20:syncBehaviorDefaultType" default="inherit"/>
+ <attribute name="syncToleranceDefault" type="string" default="inherit"/>
+ </attributeGroup>
+ <simpleType name="syncBehaviorDefaultType">
+ <restriction base="string">
+ <enumeration value="canSlip"/>
+ <enumeration value="locked"/>
+ <enumeration value="independent"/>
+ <enumeration value="inherit"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="restartTimingAttrs">
+ <attribute name="restart" type="smil20:restartTimingType" default="default"/>
+ </attributeGroup>
+ <simpleType name="restartTimingType">
+ <restriction base="string">
+ <enumeration value="never"/>
+ <enumeration value="always"/>
+ <enumeration value="whenNotActive"/>
+ <enumeration value="default"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="restartDefaultAttrs">
+ <attribute name="restartDefault" type="smil20:restartDefaultType" default="inherit"/>
+ </attributeGroup>
+ <simpleType name="restartDefaultType">
+ <restriction base="string">
+ <enumeration value="never"/>
+ <enumeration value="always"/>
+ <enumeration value="whenNotActive"/>
+ <enumeration value="inherit"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="fillTimingAttrs">
+ <attribute name="fill" type="smil20:fillTimingAttrsType" default="default"/>
+ </attributeGroup>
+ <simpleType name="fillTimingAttrsType">
+ <restriction base="string">
+ <enumeration value="remove"/>
+ <enumeration value="freeze"/>
+ <enumeration value="hold"/>
+ <enumeration value="auto"/>
+ <enumeration value="default"/>
+ <enumeration value="transition"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="fillDefaultAttrs">
+ <attribute name="fillDefault" type="smil20:fillDefaultType" default="inherit"/>
+ </attributeGroup>
+ <simpleType name="fillDefaultType">
+ <restriction base="string">
+ <enumeration value="remove"/>
+ <enumeration value="freeze"/>
+ <enumeration value="hold"/>
+ <enumeration value="auto"/>
+ <enumeration value="inherit"/>
+ <enumeration value="transition"/>
+ </restriction>
+ </simpleType>
+ <attributeGroup name="beginEndTimingAttrs">
+ <attribute name="begin" type="string"/>
+ <attribute name="end" type="string"/>
+ </attributeGroup>
+ <attributeGroup name="durTimingAttrs">
+ <attribute name="dur" type="string"/>
+ </attributeGroup>
+ <attributeGroup name="repeatTimingAttrs">
+ <attribute name="repeatDur" type="string"/>
+ <attribute name="repeatCount" type="smil20:nonNegativeDecimalType"/>
+ </attributeGroup>
+ <attributeGroup name="deprecatedRepeatTiming">
+ <attribute name="repeat" type="nonNegativeInteger"/>
+ </attributeGroup>
+ <attributeGroup name="minMaxTimingAttrs">
+ <attribute name="min" type="string"/>
+ <attribute name="max" type="string"/>
+ </attributeGroup>
+</schema>
diff --git a/petascope/xml/ogc/gml/3.1.1/smil/xml-mod.xsd b/petascope/xml/ogc/gml/3.1.1/smil/xml-mod.xsd
new file mode 100644
index 0000000..272e19e
--- /dev/null
+++ b/petascope/xml/ogc/gml/3.1.1/smil/xml-mod.xsd
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+=================== OpenGIS ============================
+ This schema is required by SMIL schemas.
+ There are errors in publicly available smil schemas at w3c site.
+ One is acknowledged by w3c - it is typographical error described in SMIL errata document at:
+ http://www.w3.org/2001/07/REC-SMIL20-20010731-errata
+ under:
+ E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002)
+ Others (at least one) are assumed after failed validation using Visual Studio .NET.
+ These smil schemas are reorganized to include in minimum number of files all and only definitions required by
+ defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas.
+ When w3c fixes the public schemas these will be discarded
+ comment: Milan Trninic, Galdos Systems Inc., May 2002
+
+ comment#2: Milan Trninic, Galdos Systems Inc., Dec 2002
+ In order to validate with xerces, changed the "x:" prefix to "xml:" in the namespace declaration and references to "lang" and "space" attributes
+=================== OpenGIS ============================
+-->
+<schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns="http://www.w3.org/2001/XMLSchema">
+ <attribute name="lang" type="language">
+ <annotation>
+ <documentation>In due course, we should install the relevant ISO 2- and 3-letter
+ codes as the enumerated possible values . . .</documentation>
+ </annotation>
+ </attribute>
+ <attribute name="space" default="preserve">
+ <simpleType>
+ <restriction base="NCName">
+ <enumeration value="default"/>
+ <enumeration value="preserve"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attributeGroup name="specialAttrs">
+ <attribute ref="xml:lang"/>
+ <attribute ref="xml:space"/>
+ </attributeGroup>
+</schema>
diff --git a/petascope/xml/ogc/gml/ReadMe.txt b/petascope/xml/ogc/gml/ReadMe.txt
new file mode 100644
index 0000000..b29177e
--- /dev/null
+++ b/petascope/xml/ogc/gml/ReadMe.txt
@@ -0,0 +1,27 @@
+OpenGIS GML ReadMe.txt
+
+NOTICE: GML 2.1.2 will link to the newest version of GML 2.1.2.x . As
+of 5 September 2007, the contents of 2.1.2 contain GML 2.1.2.1 per OGC
+06-189. If you have questions, please contact the webmaster (at)
+opengeospatial.org.
+
+2007-09-06 Kevin Stegemoller
+
+ * v3.2.1 Published GML 3.2.1 schemas from OGC 07-036
+
+2007-08-27 Chris Holmes
+
+ * v2.1.2: update 2.1.2.1 and ReadMe.txt changes
+ * v2.1.2.0: Contains previous version of GML 2.1.2 (pre- 5 Sep 2007)
+ * v2.1.2.1: Contains Corrigendum 1 for GML 2.1.2 schema fix (OGC 06-189).
+
+2005-11-22 Arliss Whiteside
+
+ * GML versions 2.0.0 through 3.1.1: The sets of XML Schema Documents for
+ OpenGIS GML Versions 2.0.0 through 3.1.1 have been edited to reflect the
+ corrigenda to all those OGC documents that is based on the change requests:
+ OGC 05-068r1 "Store xlinks.xsd file at a fixed location"
+ OGC 05-081r2 "Change to use relative paths"
+
+ * Note: check each OGC numbered document for detailed changes.
+
diff --git a/petascope/xml/ogc/wcps/1.0.0/wcpsAll.xsd b/petascope/xml/ogc/wcps/1.0.0/wcpsAll.xsd
new file mode 100644
index 0000000..cbb2edf
--- /dev/null
+++ b/petascope/xml/ogc/wcps/1.0.0/wcpsAll.xsd
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns="http://www.opengis.net/wcps/1.0"
+ targetNamespace="http://www.opengis.net/wcps/1.0"
+ xmlns:wcs="http://www.opengis.net/wcs/1.1"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0" xml:lang="en">
+ <xs:annotation>
+ <xs:appinfo>wcps.xsd 2009-03-09</xs:appinfo>
+ <xs:documentation>
+ This XML Schema Document includes, directly and indirectly, all the XML Schema Documents defined by
+ the OGC Web Coverage Service (WCS) Processing Extension, see OGC 08-059r3.
+
+ WCPS query can be sent either as XML tree or as a string encoded in the Abstract Syntax defined in
+ OGC Web Coverage Processing Service (WCPS), see OGC 08-068r2.
+
+ Copyright (c) 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
+ </xs:documentation>
+ </xs:annotation>
+ <!-- =============================================================
+ includes and imports
+ ============================================================== -->
+ <xs:include schemaLocation="wcpsProcessCoverages.xsd"/>
+</xs:schema>
diff --git a/petascope/xml/ogc/wcps/1.0.0/wcpsProcessCoverages.xsd b/petascope/xml/ogc/wcps/1.0.0/wcpsProcessCoverages.xsd
new file mode 100644
index 0000000..8ac2b0a
--- /dev/null
+++ b/petascope/xml/ogc/wcps/1.0.0/wcpsProcessCoverages.xsd
@@ -0,0 +1,582 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns="http://www.opengis.net/wcps/1.0"
+ targetNamespace="http://www.opengis.net/wcps/1.0"
+ xmlns:wcs="http://www.opengis.net/wcs/1.1"
+ xmlns:gml="http://www.opengis.net/gml"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0" xml:lang="en">
+ <xs:annotation>
+ <xs:appinfo>wcpsProcessCoverages.xsd</xs:appinfo>
+ <xs:documentation>
+ This schema defines the ProcessCoverages operation request elements and types, used by an OGC Web Coverage Service (WCS) Processing Extension, see OGC 08-059r3.
+ A WCPS query can be sent either as XML tree or as a string encoded in the Abstract Syntax defined in OGC Web Coverage Processing Service (WCPS), see OGC 08-068r2.
+ Copyright (c) 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
+ </xs:documentation>
+ </xs:annotation>
+ <!-- =============================================================
+ includes and imports
+ ============================================================== -->
+ <xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>
+ <xs:import namespace="http://www.opengis.net/wcs/1.1" schemaLocation="http://schemas.opengis.net/wcs/1.1/wcsAll.xsd"/>
+ <!-- ==============================================================
+ elements and types
+ =============================================================== -->
+ <xs:element name="ProcessCoveragesRequest" type="ProcessCoveragesRequestType">
+ <xs:annotation>
+ <xs:documentation>Request to a WCS, which must implement WCPS, to perform a ProcessCoverages operation.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="ProcessCoveragesRequestType">
+ <xs:complexContent>
+ <xs:extension base="wcs:RequestBaseType">
+ <xs:sequence>
+ <xs:element name="query" type="ProcessOneCoverageType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="ProcessOneCoverageType">
+ <xs:choice>
+ <xs:element name="xmlSyntax" type="ProcessCoverageXmlRequestType"/>
+ <xs:element name="abstractSyntax" type="xs:string"/>
+ </xs:choice>
+ </xs:complexType>
+ <xs:complexType name="ProcessCoverageXmlRequestType">
+ <xs:annotation>
+ <xs:documentation>ProcessCoverage XML query structure.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="coverageIterator" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="iteratorVar" type="VariableNameType"/>
+ <xs:element name="coverageName" type="wcs:IdentifierType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="where" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="BooleanScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:group ref="ProcessingExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="ProcessingExprType">
+ <xs:choice>
+ <xs:element name="encode" type="EncodeDataExprType"/>
+ <xs:group ref="ScalarExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="EncodeDataExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="format" type="xs:string"/>
+ <xs:element name="extraParameters" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="store" type="xs:boolean"/>
+ </xs:complexType>
+ <xs:group name="ScalarExprType">
+ <xs:choice>
+ <xs:group ref="MetadataScalarExprType"/>
+ <xs:group ref="BooleanScalarExprType"/>
+ <xs:group ref="NumericScalarExprType"/>
+ <xs:group ref="ReduceScalarExprType"/>
+ <xs:group ref="StringScalarExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="ScalarExprType">
+ <xs:group ref="ScalarExprType"/>
+ </xs:complexType>
+ <xs:group name="MetadataScalarExprType">
+ <xs:choice>
+ <xs:element name="identifier" type="CoverageExprElementType"/>
+ <xs:element name="imageCrs" type="CoverageExprElementType"/>
+ <xs:element name="imageCrsDomain">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="axis" type="AxisNameType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="crsSet" type="CoverageExprElementType"/>
+ <xs:element name="DomainMetadata" type="DomainMetadataExprType"/>
+ <xs:element name="nullSet" type="CoverageExprElementType"/>
+ <xs:element name="interpolationDefault">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="FieldNameType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="interpolationSet">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="FieldNameType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="DomainMetadataExprType">
+ <xs:group ref="DomainMetadataExprType"/>
+ </xs:complexType>
+ <xs:group name="DomainMetadataExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="axis" type="AxisNameType"/>
+ <xs:group ref="CrsNameType"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="BooleanScalarExprType">
+ <xs:choice>
+ <xs:element name="booleanConstant" type="xs:boolean"/>
+ <xs:element name="booleanNot" type="BooleanScalarExprType"/>
+ <xs:element name="booleanAnd" type="BooleanScalarExprPairType"/>
+ <xs:element name="booleanOr" type="BooleanScalarExprPairType"/>
+ <xs:element name="booleanXor" type="BooleanScalarExprPairType"/>
+ <xs:element name="booleanLessThan" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanLessOrEqual" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanGreaterThan" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanGreaterOrEqual" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanEqualNumeric" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanNotEqualNumeric" type="NumericScalarExprPairType"/>
+ <xs:element name="booleanEqualString" type="StringScalarExprPairType"/>
+ <xs:element name="booleanNotEqualString" type="StringScalarExprPairType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="BooleanScalarExprType">
+ <xs:group ref="BooleanScalarExprType"/>
+ </xs:complexType>
+ <xs:complexType name="BooleanScalarExprPairType">
+ <xs:sequence>
+ <xs:group ref="BooleanScalarExprType"/>
+ <xs:group ref="BooleanScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="NumericScalarExprPairType">
+ <xs:sequence>
+ <xs:group ref="NumericScalarExprType"/>
+ <xs:group ref="NumericScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="StringScalarExprPairType">
+ <xs:sequence>
+ <xs:group ref="StringScalarExprType"/>
+ <xs:group ref="StringScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="NumericScalarExprType">
+ <xs:choice>
+ <xs:element name="numericConstant" type="xs:double"/>
+ <xs:element name="complexConstant" type="ComplexConstantType"/>
+ <xs:element name="numericUnaryMinus">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="NumericScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="numericAdd" type="NumericScalarExprPairType"/>
+ <xs:element name="numericMinus" type="NumericScalarExprPairType"/>
+ <xs:element name="numericMult" type="NumericScalarExprPairType"/>
+ <xs:element name="numericDiv" type="NumericScalarExprPairType"/>
+ <xs:element name="condense" type="CondenseScalarExprType"/>
+ <xs:element name="reduce" type="ReduceScalarExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="StringScalarExprType">
+ <xs:choice>
+ <xs:element name="stringIdentifier" type="CoverageExprElementType"/>
+ <xs:element name="stringConstant" type="xs:string"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="SetMetadataCoverageExprType">
+ <xs:choice>
+ <xs:element name="setIdentifier">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="identifier" type="wcs:IdentifierType"/>
+ <xs:group ref="CoverageExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="setCrsSet">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="CrsNameType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="setNullSet">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="null" type="RangeExprType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="setInterpolationDefault">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="field" type="FieldNameType"/>
+ <xs:group ref="InterpolationMethodType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="setInterpolationSet">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="field" type="FieldNameType"/>
+ <xs:group ref="InterpolationMethodType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="RangeExprType">
+ <xs:sequence>
+ <xs:element name="component" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="field" type="FieldNameType"/>
+ <xs:group ref="ScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="InterpolationMethodType">
+ <xs:sequence>
+ <xs:element name="interpolationMethod" type="xs:string"/>
+ <xs:element name="nullResistance" type="xs:string"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="CoverageExprElementType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="CoverageExprType">
+ <xs:choice>
+ <xs:element name="coverage" type="wcs:IdentifierType"/>
+ <xs:group ref="SetMetadataCoverageExprType"/>
+ <xs:group ref="InducedOperationCoverageExprType"/>
+ <xs:group ref="SubsetOperationCoverageExprType"/>
+ <xs:element name="crsTransform" type="CrsTransformCoverageExprType"/>
+ <xs:element name="scale" type="ScaleCoverageExprType"/>
+ <xs:element name="construct" type="ConstructCoverageExprType"/>
+ <xs:element name="const" type="ConstantCoverageExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="InducedOperationCoverageExprType">
+ <xs:choice>
+ <xs:group ref="UnaryOperationCoverageExprType"/>
+ <xs:group ref="BinaryOperationCoverageExprType"/>
+ <xs:element name="rangeConstructor" type="RangeCoverageExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="UnaryOperationCoverageExprType">
+ <xs:choice>
+ <xs:element name="unaryPlus" type="CoverageExprElementType"/>
+ <xs:element name="unaryMinus" type="CoverageExprElementType"/>
+ <xs:element name="sqrt" type="CoverageExprElementType"/>
+ <xs:element name="abs" type="CoverageExprElementType"/>
+ <xs:element name="exp" type="CoverageExprElementType"/>
+ <xs:element name="log" type="CoverageExprElementType"/>
+ <xs:element name="ln" type="CoverageExprElementType"/>
+ <xs:element name="sin" type="CoverageExprElementType"/>
+ <xs:element name="cos" type="CoverageExprElementType"/>
+ <xs:element name="tan" type="CoverageExprElementType"/>
+ <xs:element name="sinh" type="CoverageExprElementType"/>
+ <xs:element name="cosh" type="CoverageExprElementType"/>
+ <xs:element name="tanh" type="CoverageExprElementType"/>
+ <xs:element name="arcsin" type="CoverageExprElementType"/>
+ <xs:element name="arccos" type="CoverageExprElementType"/>
+ <xs:element name="arctan" type="CoverageExprElementType"/>
+ <xs:element name="not" type="CoverageExprElementType"/>
+ <xs:element name="re" type="CoverageExprElementType"/>
+ <xs:element name="im" type="CoverageExprElementType"/>
+ <xs:element name="bit">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="bitIndex" type="xs:integer"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="cast">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="type" type="RangeFieldType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="fieldSelect">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="field" type="FieldNameType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:group>
+ <xs:simpleType name="RangeFieldType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="bool"/>
+ <xs:enumeration value="char"/>
+ <xs:enumeration value="unsigned char"/>
+ <xs:enumeration value="short"/>
+ <xs:enumeration value="unsigned short"/>
+ <xs:enumeration value="long"/>
+ <xs:enumeration value="unsigned long"/>
+ <xs:enumeration value="float"/>
+ <xs:enumeration value="double"/>
+ <xs:enumeration value="complex"/>
+ <xs:enumeration value="complex2"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:group name="BinaryOperationCoverageExprType">
+ <xs:choice>
+ <xs:element name="plus" type="CoverageExprPairType"/>
+ <xs:element name="minus" type="CoverageExprPairType"/>
+ <xs:element name="mult" type="CoverageExprPairType"/>
+ <xs:element name="div" type="CoverageExprPairType"/>
+ <xs:element name="and" type="CoverageExprPairType"/>
+ <xs:element name="or" type="CoverageExprPairType"/>
+ <xs:element name="xor" type="CoverageExprPairType"/>
+ <xs:element name="equals" type="CoverageExprPairType"/>
+ <xs:element name="lessThan" type="CoverageExprPairType"/>
+ <xs:element name="greaterThan" type="CoverageExprPairType"/>
+ <xs:element name="lessOrEqual" type="CoverageExprPairType"/>
+ <xs:element name="greaterOrEqual" type="CoverageExprPairType"/>
+ <xs:element name="notEqual" type="CoverageExprPairType"/>
+ <xs:element name="overlay" type="CoverageExprPairType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="CoverageExprPairType">
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:choice>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="ScalarExprType"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:sequence>
+ <xs:group ref="ScalarExprType"/>
+ <xs:group ref="CoverageExprType"/>
+ </xs:sequence>
+ </xs:choice>
+ </xs:complexType>
+ <xs:complexType name="RangeCoverageExprType">
+ <xs:sequence>
+ <xs:element name="component" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="field" type="FieldNameType"/>
+ <xs:group ref="CoverageExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="SubsetOperationCoverageExprType">
+ <xs:choice>
+ <xs:element name="trim" type="TrimCoverageExprType"/>
+ <xs:element name="slice" type="SliceCoverageExprType"/>
+ <xs:element name="extend" type="ExtendCoverageExprType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="TrimCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="DimensionIntervalElementType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="SliceCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="DimensionPointElementType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ExtendCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="DimensionIntervalElementType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ScaleCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="DimensionIntervalElementType" maxOccurs="unbounded"/>
+ <xs:group ref="FieldInterpolationElementType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="CrsTransformCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:group ref="DimensionIntervalElementType" maxOccurs="unbounded"/>
+ <xs:group ref="FieldInterpolationElementType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="DimensionIntervalElementType">
+ <xs:sequence>
+ <xs:element name="axis" type="AxisNameType"/>
+ <xs:group ref="CrsNameType" minOccurs="0"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element name="lowerBound" type="ScalarExprType"/>
+ <xs:element name="upperBound" type="ScalarExprType"/>
+ </xs:sequence>
+ <xs:group ref="DomainMetadataExprType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="DimensionPointElementType">
+ <xs:sequence>
+ <xs:element name="axis" type="AxisNameType"/>
+ <xs:group ref="CrsNameType" minOccurs="0"/>
+ <xs:element name="slicingPosition" type="ScalarExprType"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="FieldInterpolationElementType">
+ <xs:sequence>
+ <xs:group ref="FieldNameType"/>
+ <xs:group ref="InterpolationMethodType"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="ConstructCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageNameType"/>
+ <xs:element name="axisIterator" type="AxisIteratorType" maxOccurs="unbounded"/>
+ <xs:group ref="ScalarExprType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ConstantCoverageExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageNameType"/>
+ <xs:element name="axisIterator" type="AxisIteratorType" maxOccurs="unbounded"/>
+ <xs:element name="value" type="ConstantType" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="AxisIteratorType">
+ <xs:sequence>
+ <xs:element name="iteratorVar" type="VariableNameType"/>
+ <xs:element name="axis" type="AxisNameType"/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:group ref="NumericScalarExprType"/>
+ <xs:group ref="NumericScalarExprType"/>
+ </xs:sequence>
+ <xs:group ref="ImageCrsDomainMetadataExprType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="ImageCrsDomainMetadataExprType">
+ <xs:sequence>
+ <xs:group ref="CoverageExprType"/>
+ <xs:element name="axis" type="AxisNameType"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="ReduceScalarExprType">
+ <xs:choice>
+ <xs:element name="all" type="CoverageExprElementType"/>
+ <xs:element name="some" type="CoverageExprElementType"/>
+ <xs:element name="count" type="CoverageExprElementType"/>
+ <xs:element name="add" type="CoverageExprElementType"/>
+ <xs:element name="avg" type="CoverageExprElementType"/>
+ <xs:element name="min" type="CoverageExprElementType"/>
+ <xs:element name="max" type="CoverageExprElementType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="ReduceScalarExprType">
+ <xs:group ref="ReduceScalarExprType"/>
+ </xs:complexType>
+ <xs:complexType name="CondenseScalarExprType">
+ <xs:choice>
+ <xs:group ref="ReduceScalarExprType"/>
+ <xs:group ref="GeneralCondenseExprType"/>
+ </xs:choice>
+ </xs:complexType>
+ <xs:group name="GeneralCondenseExprType">
+ <xs:sequence>
+ <xs:group ref="CondenseOperationType"/>
+ <xs:element name="iterator" type="AxisIteratorType" maxOccurs="unbounded"/>
+ <xs:element name="where" type="BooleanScalarExprType" minOccurs="0"/>
+ <xs:group ref="ScalarExprType"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="CondenseOperationType">
+ <xs:choice>
+ <xs:element name="opPlus"/>
+ <xs:element name="opMult"/>
+ <xs:element name="opMax"/>
+ <xs:element name="opMin"/>
+ <xs:element name="opAnd"/>
+ <xs:element name="opOr"/>
+ </xs:choice>
+ </xs:group>
+ <xs:simpleType name="VariableNameType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[$a-zA-Z_][0-9a-zA-Z_]*"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:group name="CoverageNameType">
+ <xs:choice>
+ <xs:element name="name" type="wcs:IdentifierType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:simpleType name="AxisNameType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="x"/>
+ <xs:enumeration value="y"/>
+ <xs:enumeration value="z"/>
+ <xs:enumeration value="t"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:group name="CrsNameType">
+ <xs:choice>
+ <xs:element ref="gml:srsName"/>
+ </xs:choice>
+ </xs:group>
+ <xs:group name="FieldNameType">
+ <xs:choice>
+ <xs:element name="name" type="wcs:IdentifierType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="FieldNameType">
+ <xs:group ref="FieldNameType"/>
+ </xs:complexType>
+ <xs:complexType name="ConstantType">
+ <xs:sequence>
+ <xs:group ref="ConstantType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:group name="ConstantType">
+ <xs:choice>
+ <xs:element name="stringConstant" type="xs:string"/>
+ <xs:element name="booleanConstant" type="xs:boolean"/>
+ <xs:element name="integerConstant" type="xs:integer"/>
+ <xs:element name="floatConstant" type="xs:double"/>
+ <xs:element name="complexConstant" type="ComplexConstantType"/>
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="ComplexConstantType">
+ <xs:sequence>
+ <xs:element name="re" type="xs:double"/>
+ <xs:element name="im" type="xs:double"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
diff --git a/petascope/xml/ogc/wcs/1.1.0/wcsCommon.xsd b/petascope/xml/ogc/wcs/1.1.0/wcsCommon.xsd
new file mode 100644
index 0000000..fb1897f
--- /dev/null
+++ b/petascope/xml/ogc/wcs/1.1.0/wcsCommon.xsd
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/wcs/1.1"
+xmlns:wcs="http://www.opengis.net/wcs/1.1"
+xmlns:gml="http://www.opengis.net/gml"
+xmlns="http://www.w3.org/2001/XMLSchema"
+elementFormDefault="qualified" version="1.1.0" xml:lang="en">
+ <annotation>
+ <appinfo>wcsContents.xsd 2006-09-23</appinfo>
+ <appinfo>
+ <GMLProfileSchema>http://schemas.opengis.net/wcs/1.1.0/gml4wcs.xsd</GMLProfileSchema>
+ </appinfo>
+ <documentation>This XML Schema Document encodes the elements and types that are shared by multiple WCS operations.
+ Copyright (c) 2006 Open Geospatial Consortium, Inc, All Rights Reserved. </documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <import namespace="http://www.opengis.net/gml" schemaLocation="../../gml/3.1.1/base/gml.xsd"/>
+ <!-- ==============================================================
+ elements and types
+ ============================================================== -->
+ <complexType name="RequestBaseType">
+ <annotation>
+ <documentation>XML encoded WCS operation request base, for all operations except GetCapabilities. In this XML encoding, no "request" parameter is included, since the element name specifies the specific operation. </documentation>
+ </annotation>
+ <sequence/>
+ <attribute name="service" type="string" use="required" fixed="WCS">
+ <annotation>
+ <documentation>Service type identifier, where the value is the OWS type abbreviation. For WCS operation requests, the value is "WCS". </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="version" type="string" use="required" fixed="1.1.0">
+ <annotation>
+ <documentation>Specification version for WCS version and operation. See Version parameter Subclause 7.3.1 of OWS Common for more information. </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Identifier" type="wcs:IdentifierType"/>
+ <!-- =========================================================== -->
+ <simpleType name="IdentifierType">
+ <annotation>
+ <documentation>Unambiguous identifier. Although there is no formal restriction on characters included, these identifiers shall be directly usable in GetCoverage operation requests for the specific server, whether those requests are encoded in KVP or XML. Each of these encodings requires that certain characters be avoided, encoded, or escaped (TBR). </documentation>
+ </annotation>
+ <restriction base="string">
+ <pattern value=".+"/>
+ </restriction>
+ </simpleType>
+ <!-- =========================================================== -->
+ <complexType name="TimeSequenceType">
+ <annotation>
+ <documentation>List of time positions and periods. The time positions and periods should be ordered from the oldest to the newest, but this is not required. </documentation>
+ </annotation>
+ <choice maxOccurs="unbounded">
+ <element ref="gml:timePosition"/>
+ <element name="TimePeriod" type="wcs:TimePeriodType"/>
+ </choice>
+ </complexType>
+ <!-- ========================================================= -->
+ <complexType name="TimePeriodType">
+ <annotation>
+ <documentation>This is a variation of the GML TimePeriod, which allows the beginning and end of a time-period to be expressed in short-form inline using the begin/endPosition element, which allows an identifiable TimeInstant to be defined simultaneously with using it, or by reference, using xlinks on the begin/end elements. </documentation>
+ <documentation>(Arliss) What does this mean? What do the TimeResolution and "frame" mean? </documentation>
+ </annotation>
+ <sequence>
+ <element name="BeginPosition" type="gml:TimePositionType"/>
+ <element name="EndPosition" type="gml:TimePositionType"/>
+ <element name="TimeResolution" type="wcs:TimeDurationType" minOccurs="0"/>
+ </sequence>
+ <attribute name="frame" type="anyURI" use="optional" default="#ISO-8601"/>
+ </complexType>
+ <!-- ===================================== -->
+ <simpleType name="TimeDurationType">
+ <annotation>
+ <documentation xml:lang="en">
+ Base type for describing temporal length or distance. The value space is further
+ constrained by subtypes that conform to the ISO 8601 or ISO 11404 standards.
+ </documentation>
+ </annotation>
+ <union memberTypes="duration decimal"/>
+ </simpleType>
+ <!-- ========================================================= -->
+</schema>
diff --git a/petascope/xml/ogc/wcst/1.1.4/wcstActions.xml b/petascope/xml/ogc/wcst/1.1.4/wcstActions.xml
new file mode 100644
index 0000000..9a969f7
--- /dev/null
+++ b/petascope/xml/ogc/wcst/1.1.4/wcstActions.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?> <Dictionary xmlns="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gml ../../gml/3.1.1/Profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="wcsTransactionActions"> <!-- Primary editor: Arliss Whiteside. Last updated 2008-05-15 --> <description>This dictionary specifies the standard identifiers for actions specified in the Transaction extension of WCS 1.1 specification. These values may be used to request actions and to identify actions successfully completed. </description> <name>WCS Transaction action standard values</name> <!-- ===================================================== --> <dictionaryEntry> <Definition gml:id="Add"> <description>Identifier of add coverage action by Transaction operation. This action requests adding a coverage to the set of coverages being offered. </description> <name>Add</name> </Definition> </dictionaryEntry> <!-- ===================================================== --> <dictionaryEntry> <Definition gml:id="UpdateMetadata"> <description>Identifier of update all metadata of coverage action by Transaction operation. This action requests replacing all the metadata for a coverage currently being offered. </description> <name>UpdateMetadata</name> </Definition> </dictionaryEntry> <!-- ===================================================== --> <dictionaryEntry> <Definition gml:id="Delete"> <description>Identifier of delete coverage action by Transaction operation. This action requests deleting all the data and metadata for a coverage currently being offered. </description> <name>Delete</name> </Definition> </dictionaryEntry> <!-- ===================================================== --> <dictionaryEntry> <Definition gml:id="UpdateAll"> <description>Identifier of update all coverage data and metadata action by Transaction operation. This action requests replacing all the data and metadata for a coverage currently being offered. </description> <name>UpdateAll</name> </Definition> </dictionaryEntry> <!-- ===================================================== --> <dictionaryEntry> <Definition gml:id="UpdateDataPart"> <description>Identifier of update data part action by Transaction operation. This action requests replacing range (or pixel) values for part of the domain data of a coverage currently being offered. </description> <name>UpdateDataPart</name> </Definition> </dictionaryEntry> </Dictionary> \ No newline at end of file
diff --git a/petascope/xml/ogc/wcst/1.1.4/wcstTransaction.xsd b/petascope/xml/ogc/wcst/1.1.4/wcstTransaction.xsd
new file mode 100644
index 0000000..14cbe2a
--- /dev/null
+++ b/petascope/xml/ogc/wcst/1.1.4/wcstTransaction.xsd
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://www.opengis.net/wcs/1.1/wcst"
+ xmlns:wcst="http://www.opengis.net/wcs/1.1/wcst"
+ xmlns:ows="http://www.opengis.net/ows/1.1"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" version="1.1.4" xml:lang="en">
+ <annotation>
+ <appinfo>wcstTransaction.xsd 2009-02-25</appinfo>
+ <documentation>This XML Schema Document defines the Transaction operation request and response elements and types, for the Transaction operation extension to the OGC Web Coverage Service (WCS) version 1.1 corrigendum 2.
+ WCS 1.1 corrigendum 2 and this Transaction operation extension are OGC Standards.
+ Copyright (c) 2009 Open Geospatial Consortium, Inc. All Rights Reserved.
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. </documentation>
+ </annotation>
+ <!-- ==============================================================
+ includes and imports
+ ============================================================== -->
+ <import namespace="http://www.opengis.net/ows/1.1" schemaLocation="http://schemas.opengis.net/ows/1.1.0/owsAll.xsd"/>
+ <!-- ==============================================================
+ elements and types
+ ============================================================== -->
+ <element name="Transaction" type="wcst:TransactionType">
+ <annotation>
+ <documentation>Request to perform the Transaction operation, to a WCS that implements the Transaction operation extension. In this XML encoding, no "request" parameter is included, since the element name specifies the specific operation. </documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="TransactionType">
+ <sequence>
+ <element name="InputCoverages" type="ows:ManifestType">
+ <annotation>
+ <documentation>Ordered list of one or more coverages to be added, modified, or deleted, in the specified sequence. Each coverage with its metadata shall be referenced by one wcst:Coverage element within this ManifestType. Each new or modified coverage provided to a WCS server shall include all the metadata needed to populate one CoverageDescription object, as specified in Subclause 9.3 with the exception of the metadata that is specific to a specific server. If the WCS offers CoverageSummary elements, each new or modified coverage shall also include all the metadata needed to populate one or more CoverageSummary objects, as specified in Subclause 8.3.3 with the exception of the metadata that is specific to a specific server. In addition, each new unrectified but georeferenced coverage (image) shall include the georeferencing coordinate Transformation(s). The coverage data is normally referenced remotely, but can be included in the Transaction request message. </documentation>
+ </annotation>
+ </element>
+ <element ref="wcst:RequestId" minOccurs="0">
+ <annotation>
+ <documentation>Unique identifier of this operation request, included if assigned by the client. </documentation>
+ </annotation>
+ </element>
+ <element name="ResponseHandler" type="anyURI" minOccurs="0">
+ <annotation>
+ <documentation>Location to respond to when server has completed processing this operation request. When this parameter is omitted from the Transaction operation request, this operation shall be executed synchronously and immediately by the server, with the operation response returned to the client following operation execution. When this parameter is included, this operation shall be executed asynchronously by the server. In that case, the server shall return an operation acknowledgement to the client immediately following operation acceptance. When operation execution is later completed, the (normal or exception) operation response shall be sent by the server to the response handler referenced by this parameter value. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ <attribute name="service" type="string" use="required" fixed="WCS">
+ <annotation>
+ <documentation>Service type identifier, where the value is the OWS type abbreviation. For WCS operation requests, the value is "WCS". </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="version" type="string" use="required" fixed="1.1">
+ <annotation>
+ <documentation>Specification version for WCS version and operation. See Version parameter Subclause 7.3.1 of OWS Common for more information. </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ <!-- ========================================================== -->
+ <element name="Coverage" type="wcst:CoverageType" substitutionGroup="ows:ReferenceGroup">
+ <annotation>
+ <documentation>Complete data and metadata for one coverage, referencing each coverage file either remotely or locally in the same message. The Identifier in this data structure shall identify the coverage being updated or deleted, and optionally the suggested identifier for a coverage being added. </documentation>
+ </annotation>
+ </element>
+ <!-- ========================================================== -->
+ <complexType name="CoverageType">
+ <complexContent>
+ <extension base="ows:ReferenceGroupType">
+ <sequence>
+ <element ref="wcst:Action">
+ <annotation>
+ <documentation>The specific add, update, or delete action to be performed on this coverage. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="Action">
+ <annotation>
+ <documentation>Identifier of an action. </documentation>
+ </annotation>
+ <complexType>
+ <simpleContent>
+ <restriction base="ows:CodeType">
+ <attribute name="codeSpace" type="anyURI" use="optional" default="http://schemas.opengis.net/wcs/1.1.0/actions.xml">
+ <annotation>
+ <documentation>Reference to a dictionary that specifies allowed values for action identifier strings. This reference defaults to the standard actions dictionary specified in WCST 1.1.0. </documentation>
+ </annotation>
+ </attribute>
+ </restriction>
+ </simpleContent>
+ </complexType>
+ </element>
+ <!-- ========================================================== -->
+ <!-- ========================================================== -->
+ <element name="Acknowledgement" type="wcst:AcknowledgementType">
+ <annotation>
+ <documentation>XML encoded acknowledgement of an operation request. </documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="AcknowledgementType">
+ <sequence>
+ <element name="TimeStamp" type="dateTime">
+ <annotation>
+ <documentation>Data and time this Acknowledgement message was generated. </documentation>
+ </annotation>
+ </element>
+ <element ref="wcst:RequestId">
+ <annotation>
+ <documentation>Unique identifier of the operation request to which this acknowledgement corresponds. If the client specifies a RequestId in the operation request, this element shall have that value. If the client does not specify a RequestId in the operation request, the server shall generate a unique RequestId and put this value in this acknowledgement message and in the operation response. </documentation>
+ </annotation>
+ </element>
+ <element name="OperationRequest" type="wcst:TransactionType" minOccurs="0">
+ <annotation>
+ <documentation>Copy of Transaction operation request being acknowledged. This copy may be included when expected to be useful to clients. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <!-- =========================================================== -->
+ <element name="TransactionResponse" type="wcst:TransactionResponseType">
+ <annotation>
+ <documentation>Response from successfully performing the Transaction operation, from a WCS that implements the Transaction operation extension. </documentation>
+ </annotation>
+ </element>
+ <!-- =========================================================== -->
+ <complexType name="TransactionResponseType">
+ <sequence>
+ <element ref="wcst:RequestId">
+ <annotation>
+ <documentation>Unique identifier of the operation request to which this response corresponds. If the client specifies a RequestId in the operation request, this element shall have that value. If the client does not specify a RequestId in the operation request, the server shall generate a unique RequestId and put this value in the acknowledgement message and in this operation response. </documentation>
+ </annotation>
+ </element>
+ <element ref="ows:Identifier" maxOccurs="unbounded">
+ <annotation>
+ <documentation>The coverage identifier for each coverage added, modified, or deleted by the Transaction operation. These Identifier elements shall be listed in the same order as the corresponding input coverages in the Transaction request. </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ <!-- =========================================================== -->
+ <element name="RequestId" type="anyURI">
+ <annotation>
+ <documentation>Unique identifier of an operation request, which may be generated by the client or the server. </documentation>
+ </annotation>
+ </element>
+</schema>
diff --git a/petascope/xml/ogc/xlink/1.0.0/ReadMe.txt b/petascope/xml/ogc/xlink/1.0.0/ReadMe.txt
new file mode 100644
index 0000000..1499a92
--- /dev/null
+++ b/petascope/xml/ogc/xlink/1.0.0/ReadMe.txt
@@ -0,0 +1,6 @@
+This XML Schema Document named xlinks.xsd has been stored here based
+on the change request:
+OGC 05-068r1 "Store xlinks.xsd file at a fixed location"
+
+Arliss Whiteside, 2005-11-22
+
diff --git a/petascope/xml/ogc/xlink/1.0.0/xlinks.xsd b/petascope/xml/ogc/xlink/1.0.0/xlinks.xsd
new file mode 100644
index 0000000..faef81d
--- /dev/null
+++ b/petascope/xml/ogc/xlink/1.0.0/xlinks.xsd
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- File: xlinks.xsd -->
+<schema targetNamespace="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0">
+ <annotation>
+ <appinfo source="urn:opengis:specification:gml:schema-xlinks:v3.0c2">xlinks.xsd v3.0b2 2001-07</appinfo>
+ <documentation>
+ GML 3.0 candidate xlinks schema. Copyright (c) 2001 OGC, All Rights Reserved.
+ </documentation>
+ </annotation>
+ <!-- ==============================================================
+ global declarations
+ =============================================================== -->
+ <!-- locator attribute -->
+ <attribute name="href" type="anyURI"/>
+ <!-- semantic attributes -->
+ <attribute name="role" type="anyURI"/>
+ <attribute name="arcrole" type="anyURI"/>
+ <attribute name="title" type="string"/>
+ <!-- behavior attributes -->
+ <attribute name="show">
+ <annotation>
+ <documentation>
+ The 'show' attribute is used to communicate the desired presentation
+ of the ending resource on traversal from the starting resource; it's
+ value should be treated as follows:
+ new - load ending resource in a new window, frame, pane, or other
+ presentation context
+ replace - load the resource in the same window, frame, pane, or
+ other presentation context
+ embed - load ending resource in place of the presentation of the
+ starting resource
+ other - behavior is unconstrained; examine other markup in the
+ link for hints
+ none - behavior is unconstrained
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="new"/>
+ <enumeration value="replace"/>
+ <enumeration value="embed"/>
+ <enumeration value="other"/>
+ <enumeration value="none"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="actuate">
+ <annotation>
+ <documentation>
+ The 'actuate' attribute is used to communicate the desired timing
+ of traversal from the starting resource to the ending resource;
+ it's value should be treated as follows:
+ onLoad - traverse to the ending resource immediately on loading
+ the starting resource
+ onRequest - traverse from the starting resource to the ending
+ resource only on a post-loading event triggered for
+ this purpose
+ other - behavior is unconstrained; examine other markup in link
+ for hints
+ none - behavior is unconstrained
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="onLoad"/>
+ <enumeration value="onRequest"/>
+ <enumeration value="other"/>
+ <enumeration value="none"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <!-- traversal attributes -->
+ <attribute name="label" type="string"/>
+ <attribute name="from" type="string"/>
+ <attribute name="to" type="string"/>
+ <!-- ==============================================================
+ Attributes grouped by XLink type, as specified in the W3C
+ Proposed Recommendation (dated 2000-12-20)
+ ============================================================== -->
+ <attributeGroup name="simpleLink">
+ <attribute name="type" type="string" fixed="simple" form="qualified"/>
+ <attribute ref="xlink:href" use="optional"/>
+ <attribute ref="xlink:role" use="optional"/>
+ <attribute ref="xlink:arcrole" use="optional"/>
+ <attribute ref="xlink:title" use="optional"/>
+ <attribute ref="xlink:show" use="optional"/>
+ <attribute ref="xlink:actuate" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="extendedLink">
+ <attribute name="type" type="string" fixed="extended" form="qualified"/>
+ <attribute ref="xlink:role" use="optional"/>
+ <attribute ref="xlink:title" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="locatorLink">
+ <attribute name="type" type="string" fixed="locator" form="qualified"/>
+ <attribute ref="xlink:href" use="required"/>
+ <attribute ref="xlink:role" use="optional"/>
+ <attribute ref="xlink:title" use="optional"/>
+ <attribute ref="xlink:label" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="arcLink">
+ <attribute name="type" type="string" fixed="arc" form="qualified"/>
+ <attribute ref="xlink:arcrole" use="optional"/>
+ <attribute ref="xlink:title" use="optional"/>
+ <attribute ref="xlink:show" use="optional"/>
+ <attribute ref="xlink:actuate" use="optional"/>
+ <attribute ref="xlink:from" use="optional"/>
+ <attribute ref="xlink:to" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="resourceLink">
+ <attribute name="type" type="string" fixed="resource" form="qualified"/>
+ <attribute ref="xlink:role" use="optional"/>
+ <attribute ref="xlink:title" use="optional"/>
+ <attribute ref="xlink:label" use="optional"/>
+ </attributeGroup>
+ <attributeGroup name="titleLink">
+ <attribute name="type" type="string" fixed="title" form="qualified"/>
+ </attributeGroup>
+ <attributeGroup name="emptyLink">
+ <attribute name="type" type="string" fixed="none" form="qualified"/>
+ </attributeGroup>
+</schema>