Datatype: simplelocation

Description:

An element of type simplelocation has three subelements.

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.