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.
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/ .
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.
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="_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>
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="timePosition" type="gml:TimePositionType"><annotation><documentation>Direct representation of a temporal position</documentation></annotation></element>
Element gml:_TimeObject
Namespace
http://www.opengis.net/gml
Annotations
This abstract element acts as the head of the substitution group for temporal primitives and complexes.
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="_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>
Element gml:_TimeComplex
Namespace
http://www.opengis.net/gml
Annotations
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.
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="_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>
Element gml:_TimeGeometricPrimitive
Namespace
http://www.opengis.net/gml
Annotations
This abstract element acts as the head of the substitution group for temporal geometric primitives.
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="_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>
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.
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.
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.
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.
<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 gml:timeInterval
Namespace
http://www.opengis.net/gml
Annotations
This element is a valid subtype of TimeDurationType
according to section 3.14.6, rule 2.2.4 in XML Schema, Part 1.
<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>
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.
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.
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="AbstractTimeObjectType" abstract="true"><annotation><documentation xml:lang="en">The abstract supertype for temporal objects.</documentation></annotation><complexContent><extension base="gml:AbstractGMLType"/></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.
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).
<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>
Simple Type gml:TimePositionUnion
Namespace
http://www.opengis.net/gml
Annotations
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).
Diagram
Type
union of(gml:CalDate, time, dateTime, anyURI, decimal)
<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>
Simple Type gml:TimeIndeterminateValueType
Namespace
http://www.opengis.net/gml
Annotations
This enumerated data type specifies values for indeterminate positions.
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="AbstractTimeComplexType" abstract="true"><annotation><documentation xml:lang="en">The abstract supertype for temporal complexes.</documentation></annotation><complexContent><extension base="gml:AbstractTimeObjectType"/></complexContent></complexType>
Complex Type gml:AbstractTimeGeometricPrimitiveType
Namespace
http://www.opengis.net/gml
Annotations
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.
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="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>
Complex Type gml:TimeGeometricPrimitivePropertyType
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.
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.
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.
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.
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.
<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>
Simple Type gml:TimeUnitType
Namespace
http://www.opengis.net/gml
Annotations
Standard units for measuring time intervals (see ISO 31-1).
Diagram
Type
union of(restriction of string, restriction of string)
<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>
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.
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).
Diagram
Type
union of(date, gYearMonth, gYear)
Source
<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>
<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>