GeoJSON to GPX converter
Take a line from geojson.io, QGIS, a script or a mapping API and write it as a GPX that a GPS unit or a route app will load. The file is read on your device and never sent to a server.
Your file is read on this device and never uploaded.
Drop a GeoJSON file here
- Distance
- 9.0 km
- Climbing
- 42 m
- Highest
- 64 m
- Moving time
- 48 min
What it does, and what it does not
- Reads every LineString and MultiLineString, as a bare geometry, a Feature or a FeatureCollection.
- Keeps heights from a third coordinate, and times from properties.coordTimes when the feature has one per position.
- Points and polygons are not converted, and other properties do not go into the GPX.
- Several lines are written as one track, in the order the file lists them.
Questions
Which coordinate order does it expect?
GeoJSON’s own: longitude first, then latitude, then an optional height in metres. A file written latitude first will land in the wrong place.
Where do the times come from?
From properties.coordTimes, one time per position, the convention togeojson writes. Without it the GPX has no times.
Can I convert a .json file?
Yes. The file is read by what it holds, not by its name, so a GeoJSON saved as .json opens the same way.