Convert TCX to GPKG

Turn TCX files into GeoPackage. A GeoPackage with one layer of the features and their attributes, in the source's coordinate system.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Training logs as map layers in one file.Activities, courses and their points land in a GeoPackage that QGIS and ArcGIS read.

  1. What you get

    One GeoPackage with a single layer of the features and their attributes, in the source's coordinate system. Lists and nested values become JSON text.

    Each activity becomes a track named after its start time. Each course becomes a track under its own name. Times, heights, heart rate and cadence come along with them. Lap starts and course points become waypoints.

  2. How the layer is built

    Waypoints become points, routes become lines and tracks become multilines with a part for each segment. Every route and track point also becomes a point of its own, with its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad.

    A layer column names the GPX layer each feature comes from: waypoints, routes, tracks, route_points or track_points. The track_fid and route_fid columns tie each point to its track or route.

    Heights stay in the shapes as Z and in the ele column of points. Columns that no feature fills are left out.

  3. What is dropped

    Speed, calories, notes and device details are not carried into the GeoPackage. If you need those values, keep the TCX file next to it.

TCX and GPKG.What each format is.

The formats

From · TCX

TCX

Garmin training logs with laps, heart rate and GPS.

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

GeoPackage

The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.

Extensions
.gpkg
MIME type
application/geopackage+sqlite3
Kind
Text and data

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

terminal
$ cv convert report.tcx report.gpkg
$ cv convert report.tcx report.gpkg

Questions.What people ask about TCX to GPKG.

01OF 04

Yes. Heart rate and cadence are kept, and each track point carries them as hr and cad. Track points also keep their time in UTC.

Lap starts become waypoints. Speed, calories, notes and device details are dropped.

Use the layer column. Its values are waypoints, routes, tracks, route_points and track_points, so you can filter by the kind of feature you want.

Yes. Heights stay in the shapes as Z and in the ele column of points.

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