Documentation for gpx1.1

Complex Type: gpxType

[Table of contents]

Super-types: None
Sub-types: None
Name gpxType
Used by (from the same schema document) Element gpx
Abstract no
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.
XML Instance Representation
<...
version="1.1 [1]

'You must include the version number in your GPX document.'

"

creator=" xsd:string [1]

'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.'

"
>
<metadata> metadataType </metadata> [0..1]

'Metadata about the file.'

<wpt> wptType </wpt> [0..*]

'A list of waypoints.'

<rte> rteType </rte> [0..*]

'A list of routes.'

<trk> trkType </trk> [0..*]

'A list of tracks.'

<extensions> extensionsType </extensions> [0..1]

'You can add extend GPX by adding your own elements from another schema here.'

</...>
Diagram
h1757362158 h620189328 h578302008 h-1993375102 h-1077638893
Schema Component Representation
<xsd:complexType name="gpxType">
<xsd:sequence>
<xsd:element name="metadata" type=" metadataType " minOccurs="0"/>
<xsd:element name="wpt" type=" wptType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="rte" type=" rteType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="trk" type=" trkType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="extensions" type=" extensionsType " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="version" type=" xsd:string " use="required" fixed="1.1"/>
<xsd:attribute name="creator" type=" xsd:string " use="required"/>
</xsd:complexType>