Skip to content

A python script te recalculate distance information in a TCX file based on GPS coordinates

License

Notifications You must be signed in to change notification settings

teunreyniers/TCXRecalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCXRecalculator

Python scripts to modify tcx files

Recalculate distance Python script to re-embed distance metrics into a TCX file using the GPS coordinates.

Set timings Python program to set the timestamp for each trackpoint. You can specify the total amound of seconds and starttime. The amound of time between two timestamps will be set equal.

Usage

Install de dependenties

# pip install -r requirements.txt

Recalculate distance

# python tcx_recalc_dist.py input.tcx output.tcx

Set timings

# python tcx_set_timings.py <input file> <output file> <starttime> <totalseconds>

Example:

# python tcx_set_timings.py input.tcx output.tcx "2019-08-22T15:00:05Z" 1910

Dependencies

About

A python script te recalculate distance information in a TCX file based on GPS coordinates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages