gpxType

GPX documents contain a metadata header, followed by waypoints, routes, and tracks.  You can add your own elements
to the extensions section of the GPX document.

Complex Type Information

Model

Children: extensions, metadata, rte, trk, wpt

Attributes

QName Type Fixed Default Use Inheritable Annotation
creator xsd:string required
You must include the name or URL of the software that created your GPX document.  This allows others to
inform the creator of a GPX instance document that fails to validate.
version xsd:string 1.1 required
You must include the version number in your GPX document.

Used By

Element gpx

Source

<xsd:complexType name="gpxType">
  <xsd:annotation>
    <xsd:documentation>GPX documents contain a metadata header, followed by waypoints, routes, and tracks. You can add your own elements to the extensions section of the GPX document.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="metadata" type="metadataType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Metadata about the file.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="wpt" type="wptType" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A list of waypoints.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="rte" type="rteType" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A list of routes.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="trk" type="trkType" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A list of tracks.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="extensions" type="extensionsType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>You can add extend GPX by adding your own elements from another schema here.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attribute name="version" type="xsd:string" use="required" fixed="1.1">
    <xsd:annotation>
      <xsd:documentation>You must include the version number in your GPX document.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="creator" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>You must include the name or URL of the software that created your GPX document. This allows others to inform the creator of a GPX instance document that fails to validate.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>