Convert TCX to SHP

Turn TCX files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A zipped shapefile of your TCX activity.Points, lines and polygons go in one zip, with the track points and waypoints kept.

  1. What you get

    One zip file. It holds a shapefile for each kind of geometry the conversion produces among points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts, in the coordinate system of the source, with the attributes as UTF-8 columns.

    Each activity becomes a track named after its start time, and each course becomes a track under its own name. Lap starts and course points become waypoints. Tracks become multilines with a part for each segment.

  2. Points and columns

    Every route and track point also becomes a point of its own. It carries its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad. Heights stay in the shapes as Z and in the ele column of points.

    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.

  3. What changes or is dropped

    Column names are cut to 10 characters. The names track_seg_id, track_seg_point_id and route_point_id become trksegid, trksegptid and rteptid. Times become text, since a shapefile has no type for them. Lists and nested values become JSON text.

    Speed, calories, notes and device details are dropped. Features without a geometry are left out, and so are columns that no feature fills.

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

Shapefile

Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.

Extensions
.shp.zip .shz .shp
MIME type
application/x-shapefile+zip
Kind
Text and data

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

terminal
$ cv convert report.tcx report.shp.zip
$ cv convert report.tcx report.shp.zip

Questions.What people ask about TCX to SHP.

01OF 04

A zip with one shapefile for each kind of geometry present among points, lines and polygons. Each has its .shp, .shx, .dbf, .prj and .cpg parts.

Yes. Each track point is also a point of its own, with heart rate as hr and cadence as cad, along with its time in UTC.

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

Shapefile column names are cut to 10 characters. For example, track_seg_id becomes trksegid.

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