Convert GEOJSON to TCX

Turn GEOJSON files into TCX. A Garmin Training Center course for each line and polygon outline, under the line's name cut to 15 characters or New Course.

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 lines as Garmin courses.Each line and polygon outline becomes a course in one TCX file.

  1. What you get

    One TCX file for the whole GeoJSON file. Each line becomes a Garmin Training Center course, and so does the outline of each polygon.

    Each course is named after the line's name, cut to 15 characters. A line with no name gets the name New Course.

  2. Going back

    To turn a TCX file into map data again, use TCX to GEOJSON. Other formats are listed under every GEOJSON conversion.

  3. When it fails

    A file that cannot be parsed stops with input_corrupted. A file that holds something TCX cannot carry stops with unsupported_elements. The same code applies when some inputs cannot become the format the join takes.

GEOJSON and TCX.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 · TCX

TCX

Garmin training logs with laps, heart rate and GPS.

Extensions
.tcx
MIME type
application/vnd.garmin.tcx+xml
Kind
Text and data

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

terminal
$ cv convert report.geojson report.tcx
$ cv convert report.geojson report.tcx

Questions.What people ask about GEOJSON to TCX.

01OF 04

Its outline becomes a course, the same as a line does.

Each course takes the line's name, cut to 15 characters. If the line has no name, the course is called New Course.

You get one file.

The file holds something TCX cannot carry. The same code appears when some inputs cannot become the format the join takes.

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