All converters
HomeBlog › GPX file explained: waypoints, routes and tracks

GPX file explained: waypoints, routes and tracks

By Ghulam Hasnain · PhD researcher, Space Science & Technology · · Updated · 3 min read

A GPX file is the language of GPS. So if you hike, cycle or survey, you will meet one. This guide explains what a GPX file holds, and how to open and convert it.

Advertisement

What a GPX file is

GPX stands for GPS Exchange Format. It is an open, plain-text XML file. So almost every GPS device and app can read it. As a result, it is the common way to move outdoor data between tools.

A GPX file explained: it stores waypoints, routes and tracks from a GPS device
A GPX file stores waypoints, routes and tracks in plain, open XML.

Where a GPX file comes from

Many tools export it. For example, Garmin units, Strava and Komoot. So you get one after a hike, a ride, or a survey. Then you can share it or map it.

The three things inside a GPX file

A GPX file can hold three data types. Each one means something different. So it helps to know them apart.

Waypoints

Waypoints are single points. For example, a trailhead, a summit, or a parking spot. Each has a name and coordinates. So they act like saved markers.

Routes

A route is a planned path. It is a line made of a few chosen points. So it says where you intend to go. Navigation units follow it turn by turn.

Tracks

A track is a recorded path. It is a dense line of points with timestamps. So it shows where you actually went. Fitness apps save your run this way.

How to open a GPX file

You have several options. For a quick view, drop it into Google Earth or a mapping app. For analysis, load it into QGIS. However, GPX carries limited attributes. So rich data can be simplified.

The coordinate system

It is always WGS84 longitude and latitude. So it lines up with Google Earth and web maps directly. Therefore no reprojection is needed for those tools.

Convert a GPX file to other formats

Often you need another format. So convert it in your browser, with nothing uploaded. For example, GPX to KML for Google Earth. Or GPX to Shapefile or CSV for GIS and spreadsheets.

Keep every point

Good conversion keeps waypoints, routes and tracks. So check the output and confirm all three survived. You can read the format details at the GPX schema site. In short, once you know what a GPX file holds, it is easy to use anywhere.

Frequently asked questions

What is a GPX file used for?

A GPX file stores GPS data as open XML: waypoints, routes and tracks. Hikers, cyclists, drivers and surveyors use it to move outdoor and navigation data between devices and apps.

What is the difference between a route and a track in a GPX file?

A route is a planned path made of a few chosen points, so it is where you intend to go. A track is a recorded path made of many timestamped points, so it is where you actually went.

How do I open a GPX file?

Open it in Google Earth or a mapping app for a quick view, or load it into QGIS for analysis. You can also convert it to KML, Shapefile or CSV in your browser without installing anything.

What coordinate system does a GPX file use?

GPX always uses WGS84 longitude and latitude. That matches Google Earth, GeoJSON and web maps directly, so no reprojection is needed for those formats.

Can I convert a GPX file to KML or a shapefile?

Yes. A browser-based GPX converter turns the file into KML for Google Earth, a shapefile for GIS, or CSV for a spreadsheet, and keeps the waypoints, routes and tracks together.

Related converters

Keep reading

About the author

Ghulam Hasnain is a PhD researcher in space science and technology who works with GIS and remote-sensing data every day, wrangling shapefiles, KML, GPX and CAD drawings across QGIS, ArcGIS and Google Earth. He built GISConverter after one too many format conversions that required uploading sensitive survey data to a stranger's server.

Advertisement