Datatype: simplelocation
Description:
An element of type simplelocation has three subelements.
- coordinateSystem-ref: A reference to an instance of a coordinate system. The coordinate system is the spatial reference system for the coordinate values. The reference is of type, reference, which has an attribute of type uriReference. Thus, the instance may be within the file, or otherwise accessible to the reader application.
- vertex-ref: A reference to an instance of a vertex. The vertex is an optional element which is interpreted to be the origin of the coordinate system. The reference is of type, reference, which has an attribute of type uriReference. Thus, the instance may be within the file, or otherwise accessible to the reader application.
- coordinate: One or more values of type quantityType. There should be one coordinate for each axis of the coordinate system.
Proposed Usage:
This datatype was developed to support the Epicentre location data type. Its intended usage is shown in the PEF location element document. It is not anticipated that it will be useful outside of the PEF application.
XML Schema:
The schema and examples do not explicitly show the lines that set the namespaces.
All schema examples will use xsd: as the namespace for the schema tags and datatypes, and null for all the locally generated namespaces.
XML Examples will exclude namespace modifiers for clarity. Actual XML will probably need namespaces.
<xsd:complexType name="simplelocation">
<xsd:sequence>
<xsd:element name="coordinateSystem-ref" type="reference"/>
<xsd:element name="vertex-ref" type="reference" minOccurs="0"/>
<xsd:element name="coordinate" type="quantityType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
Sample Usage Schema:
<element name="rigReferencePoint" type="simplelocation"/>
Sample XML:
<rigReferencePoint>
<coordinateSystem-ref refTo="#wgs84"/>
<coordinate uom="#dega">33.872264</coordinate>
<coordinate uom="#dega">-99.100092</coordinate>
</rigReferencePoint>
Last Modified: March 21, 2001
©Copyright 2001 POSC. All rights reserved.