Skip to main content

GPS exchange format

Carry tracks and waypoints between GPS tools.

GPX is a focused XML format for exchanging routes, tracks, and waypoints. loaders.gl turns those records into geometry tables that can move into mapping, analysis, or Arrow-based pipelines.

loaders.gl support​

TypeAPI
LoaderGPXLoader

The GPX document

A small vocabulary for movement data.

GPX keeps the model intentionally simple: named points, ordered tracks, and routes made from points. Extensions can carry useful metadata such as elevation, time, and heart rate.

Waypoints

Named places or points of interest

Tracks

Recorded sequences of positions

Routes

Planned sequences of route points

Extensions

Activity and device-specific metadata

Detailed guide

GPX format details

The notes below introduce the GPX schema and its role as an interchange format.

GPX, or GPS Exchange Format, is an XML schema designed as a common GPS data format for software applications. It can be used to describe waypoints, tracks, and routes. Location data, elevation, time, and application-specific extensions are stored in XML elements and can be exchanged between GPS devices and software.

Characteristics​

CharacteristicValue
File extension.gpx
MIME typeapplication/gpx+xml
ContainerXML document
Coordinate reference systemWGS84 longitude/latitude (OGC:CRS84)

Feature matrix​

FeatureSupportOutput
Waypoints (wpt)✅ SupportedPoint features
Routes (rte)✅ SupportedLineString features
Tracks (trk) and segments (trkseg)✅ SupportedLineString or MultiLineString features
Elevation and timestamps✅ SupportedZ coordinates and coordinate properties
Common Garmin extensions✅ SupportedNormalized feature or coordinate properties
Arrow, GeoJSON, and object-row tables✅ SupportedArrow is the default
Binary geometry output✅ SupportedSelect gpx.shape: 'binary-geometry'