Convert TCX to GML

Turn TCX files into GML. A GML 3.2 document with one feature type holding the features and their attributes, in the source's coordinate system and without a separate schema file.

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 features.Activities, courses and their points become GML 3.2 features in one file.

  1. What you get

    One GML 3.2 document with a single feature type that holds all the features and their attributes. It keeps the source's coordinate system and comes without a separate schema file.

    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 shapes are built

    Waypoints become points, routes become lines and tracks become multilines with a part for each segment. Heights stay in the shapes as Z and in the ele column of points.

    Every route and track point also becomes a point of its own. Each carries 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. track_fid and route_fid tie each point to its track or route.

  3. What changes or is dropped

    Speed, calories, notes and device details are dropped. Columns that no feature fills are left out.

    When some features have heights and others do not, the ones without get a height of 0. Lists and nested values become JSON text.

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

GML

Geography Markup Language, the OGC's XML for map features, as WFS services send it.

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

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

terminal
$ cv convert report.tcx report.gml
$ cv convert report.tcx report.gml

Questions.What people ask about TCX to GML.

01OF 04

Yes. Each track point carries heart rate as hr and cadence as cad, along with its time in UTC. The tracks hold heart rate and cadence too.

The start of each lap becomes a waypoint. Course points become waypoints as well.

No. Speed, calories, notes and device details are dropped.

One file. All features sit in a single feature type, and the layer column tells you which kind each one is.

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