Project

clipr

0.0
No commit activity in last 3 years
No release in over 3 years
Trims single-lap Garmin TCX files to remove empty space at the end of the file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Clipr

An incomplete utility to takes Garmin .tcx files and clip the ends past a certain point, recalculating averages as it goes.

I made this because I'm sick of one of the following two things happening:

  1. I finish a ride but forget to hit stop, and my average speed goes down as I pootle around recovering with the Garmin in my pocket
  2. I finish a ride and hit stop, but forget to reset/turn it off and hit the start button again while pootling around recovering with the Garmin in my pocket.

Usage

After installation via

gem install clipr

... there's a binary you can use

clipr too_long.tcx --from 2012-04-13T11:32:11.000Z

Will create a file too_long_clipped.tcx with fewer trackpoints. Currently horrifically limited (to one lap, which is my personal use case. Sorry).