Convert TCX to FGB

Turn TCX files into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Map features from a training log.Activities, courses, laps and course points become FlatGeobuf features.

  1. What you get

    One FGB file with the features and their attributes in the source's coordinate system, plus a spatial index. Features without a geometry are left out, and 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. Lap starts and course points become waypoints.

  2. How the features are laid out

    Waypoints become points, routes become lines and tracks become multilines with a part for each segment. Every route point 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. Columns that no feature fills are left out.

  3. What it leaves behind

    The shapes are written in 2D, so only the ele column of points keeps heights. Track and route lines carry no heights of their own.

    Speed, calories, notes and device details are dropped.

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

FlatGeobuf

FlatGeobuf, a compact binary format for map features that streams over the web.

Extensions
.fgb
MIME type
application/flatgeobuf
Kind
Text and data

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

terminal
$ cv convert report.tcx report.fgb
$ cv convert report.tcx report.fgb

Questions.What people ask about TCX to FGB.

01OF 04

Yes, on the points. Each route point and track point carries the values the device logged with it, such as heart rate as hr and cadence as cad.

Only in the ele column of points. The shapes are written in 2D, so lines do not hold heights.

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

Use the layer column. It names the layer each feature comes from, such as tracks or track_points. More conversions are listed under every TCX conversion.

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