Convert GEOJSON to GPX

Turn GEOJSON files into GPX. Points become waypoints and lines become routes with their name and description, while polygon outlines and the parts of multi-lines lose their names.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GEOJSON files on the dialor turn it to pick what to do

Map features as GPX waypoints and routes.Points and lines come across with their names and descriptions.

  1. What you get

    One GPX file. Each point becomes a waypoint, and each line becomes a route. Both keep their name and description.

    The result is a text file in XML that GPS tools can read.

  2. What changes or is dropped

    Polygon outlines lose their names, and so do the parts of multi-lines. Other properties are dropped, and so are features that have no geometry.

    Heights in the coordinates become 0. If your GeoJSON carries elevation, it does not reach the GPX file.

  3. When it fails

    A GeoJSON file that holds a lone feature outside a FeatureCollection fails. Wrap the feature in a FeatureCollection first.

    The conversion stops with input_corrupted when the file could not be parsed. It stops with unsupported_elements when the file holds something GPX cannot carry, or when some inputs cannot become the format the join takes.

    To go the other way, use GPX to GEOJSON.

GEOJSON and GPX.What each format is.

The formats

From · GEOJSON

GeoJSON

Points, lines and polygons as JSON, the web's map data format.

Extensions
.geojson
MIME type
application/geo+json
Kind
Text and data
To · GPX

GPX

GPS tracks, routes and waypoints in XML.

Extensions
.gpx
MIME type
application/gpx+xml
Kind
Text and data

In your code.The same GEOJSON to GPX conversion through the API, for your app or your agent.

terminal
$ cv convert report.geojson report.gpx
$ cv convert report.geojson report.gpx

Questions.What people ask about GEOJSON to GPX.

01OF 04

Yes. Points become waypoints with their name and description.

No. Heights in the coordinates become 0.

Polygon outlines lose their names. Other properties are dropped too.

A lone feature outside a FeatureCollection fails. Put it inside a FeatureCollection and convert it again.

More conversions.Other ways in and out of GEOJSON and GPX.