TimeInstantPropertyType TimePeriod Temporal geometry .1 Introduction

Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 153 extension complexContent complexType The location in time of a gml:TimePeriod is described by the temporal positions of the instants at which it begins and ends. The length of the period is equal to the temporal distance between the two bounding temporal positions. Both beginning and end may be described in terms of their direct position using gml:TimePositionType see 14.2.2.7 which is an XML Schema simple content type, or by reference to an identifiable time instant using gml:TimeInstantPropertyType see 14.2.2.4. EXAMPLE 1 Within a gml:TimePeriod, a gml:TimeInstant may appear directly as the value of the begin and end as follows: gml:TimePeriod gml:id=p22 gml:begin gml:TimeInstant gml:id=t11 gml:timePosition2001-05-23gml:timePosition gml:TimeInstant gml:begin gml:end gml:TimeInstant gml:id=t12 gml:timePosition2001-06-23gml:timePosition gml:TimeInstant gml:end gml:TimePeriod Alternatively a limit of a gml:TimePeriod may use the conventional GML property model to make a reference to a time instant described elsewhere, or a limit may be indicated as a direct position. EXAMPLE 2 The following mixed example shows both of these, as well as including the optional gml:duration property: gml:TimePeriod gml:id=p22 gml:begin xlink:href=t11 gml:endPosition2002-05-23gml:endPosition gml:durationP1Ygml:duration gml:TimePeriod

14.2.2.6 TimePeriodPropertyType

gml:TimePeriodPropertyType is a specialization of gml:TimePrimitivePropertyType that provides for associating a gml:TimePeriod with an object: complexType name=TimePeriodPropertyType sequence minOccurs=0 element ref=gml:TimePeriod sequence attributeGroup ref=gml:AssociationAttributeGroup attributeGroup ref=gml:OwnershipAttributeGroup complexType

14.2.2.7 TimePositionType, timePosition

The method for identifying a temporal position is specific to each temporal reference system. gml:TimePositionType supports the description of temporal position in accordance with the subtypes described in ISO 19108. It implements ISO 19108 TM_Position see D.2.5.5 and ISO 19108:2002, 5.4.2. 154 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Values based on calendars and clocks use lexical formats that are based on ISO 8601, as described in XML Schema Part 2:2001. A decimal value may be used with coordinate systems such as GPS time or UNIX time. A URI may be used to provide a reference to some era in an ordinal reference system 3 . In common with many of the components modelled as data types in the ISO 19100 series of International Standards, the corresponding GML component has simple content. However, the content model gml:TimePositionType is defined in several steps the details of the mapping to ISO 19108 TM_Position are described in D.2.5.5: complexType name=TimePositionType final=all simpleContent extension base=gml:TimePositionUnion attribute name=frame type=anyURI default=ISO-8601 attribute name=calendarEraName type=string attribute name=indeterminatePosition type=gml:TimeIndeterminateValueType extension simpleContent complexType Three XML attributes appear on gml:TimePositionType: A time value shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. Components for describing temporal reference systems are described in 14.4, but it is not required that the reference system be described in this manner, as the reference may refer to any resource that may be identified with a URI. For time values using a calendar containing more than one era, the optional calendarEraName attribute provides the name of the calendar era. Inexact temporal positions may be expressed using the optional indeterminatePosition attribute. This takes a value from an enumeration defined as follows: simpleType name=TimeIndeterminateValueType restriction base=string enumeration value=after enumeration value=before enumeration value=now enumeration value=unknown restriction simpleType These values are interpreted as follows:  ―unknown‖ indicates that no specific value for temporal position is provided;  ―now‖ indicates that the specified value shall be replaced with the current temporal position whenever the value is accessed;  ―before‖ indicates that the actual temporal position is unknown, but it is known to be before the specified value;  ―after‖ indicates that the actual temporal position is unknown, but it is known to be after the specified value. 3 e.g. a geological epoch.