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
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
Properties
attribute form default:
unqualified
element form default:
qualified
version:
3.1.1.2
Element gml:ValueArray
Namespace
http://www.opengis.net/gml
Annotations
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
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.
<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>
Element gml:valueComponent
Namespace
http://www.opengis.net/gml
Annotations
Element which refers to, or contains, a Value. This version is used in CompositeValues.
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.
<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>
Element gml:Boolean
Namespace
http://www.opengis.net/gml
Annotations
A value from two-valued logic, using the XML Schema boolean type. An instance may take the values {true, false, 1, 0}.
<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 gml:Category
Namespace
http://www.opengis.net/gml
Annotations
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.
<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 gml:Quantity
Namespace
http://www.opengis.net/gml
Annotations
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.
<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 gml:Count
Namespace
http://www.opengis.net/gml
Annotations
An integer representing a frequency of occurrence.
<element name="Count" type="integer"><annotation><documentation>An integer representing a frequency of occurrence.</documentation></annotation></element>
Element gml:BooleanList
Namespace
http://www.opengis.net/gml
Annotations
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}
<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>
Element gml:CategoryList
Namespace
http://www.opengis.net/gml
Annotations
A space-separated list of terms or nulls. A single XML attribute codeSpace may be provided, which authorises all the terms
in the list.
<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>
Element gml:QuantityList
Namespace
http://www.opengis.net/gml
Annotations
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.
<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>
<element name="CountList" type="gml:integerOrNullList"><annotation><documentation>A space-separated list of integers or nulls.</documentation></annotation></element>
Element gml:CategoryExtent
Namespace
http://www.opengis.net/gml
Annotations
Utility element to store a 2-point range of ordinal values. If one member is a null, then this is a single ended interval.
<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>
Element gml:QuantityExtent
Namespace
http://www.opengis.net/gml
Annotations
Utility element to store a 2-point range of numeric values. If one member is a null, then this is a single ended interval.
<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>
Element gml:CountExtent
Namespace
http://www.opengis.net/gml
Annotations
Utility element to store a 2-point range of frequency values. If one member is a null, then this is a single ended interval.
<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>
Element gml:CompositeValue
Namespace
http://www.opengis.net/gml
Annotations
Aggregate value built using the Composite pattern.
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.
Source
<element name="CompositeValue" type="gml:CompositeValueType"><annotation><documentation>Aggregate value built using the Composite pattern.</documentation></annotation></element>
Element gml:valueComponents
Namespace
http://www.opengis.net/gml
Annotations
Element which refers to, or contains, a set of homogeneously typed Values.
<element name="valueComponents" type="gml:ValueArrayPropertyType"><annotation><documentation>Element which refers to, or contains, a set of homogeneously typed Values.</documentation></annotation></element>
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.
<element name="valueProperty" type="gml:ValuePropertyType"><annotation><documentation>Element which refers to, or contains, a Value</documentation></annotation></element>
Complex Type gml:ValueArrayType
Namespace
http://www.opengis.net/gml
Annotations
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.
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.
<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>
Complex Type gml:CompositeValueType
Namespace
http://www.opengis.net/gml
Annotations
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.
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.
Source
<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>
Complex Type gml:ValuePropertyType
Namespace
http://www.opengis.net/gml
Annotations
GML property which refers to, or contains, a Value
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.
<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>
Complex Type gml:CategoryExtentType
Namespace
http://www.opengis.net/gml
Annotations
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.
<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>
Complex Type gml:QuantityExtentType
Namespace
http://www.opengis.net/gml
Annotations
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.
<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>
Simple Type gml:CountExtentType
Namespace
http://www.opengis.net/gml
Annotations
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.
<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>
Complex Type gml:ValueArrayPropertyType
Namespace
http://www.opengis.net/gml
Annotations
GML property which refers to, or contains, a set of homogeneously typed Values.
<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>
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.
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.
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.
<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>
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.
<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>
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.
<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>
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.
<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>