@TW As discussed elsewhere (Running thread) Strava sometimes thinks you've stopped mid run when you haven't, and then calculates your pace based off this incorrect "moving time". It's due to the uploaded file containing trackpoints that don't have position information in them.
If you've got a .fit file you'll need to convert it to .tcx first (either import it to something like GC that can export it as TCX) or use a tool like fit2tcx.
OK, UNIX (should work with cygwin) command line to remove trackpoints from a TCX file (from fit2tcx) that don't contain position information:-
You may need to tweak the grep -v argument to something that only matches the lines that don't have position information in them.
I'll follow up with a perl script to do the same (and rip out best distance segments) which will be a bit more robust, optionally do interpolation to add position tags on the trackpoints missing them, and won't rely so much on it being a specific xml format. I can't be arsed to use an XML parser so it's all hand hacked.
@TW As discussed elsewhere (Running thread) Strava sometimes thinks you've stopped mid run when you haven't, and then calculates your pace based off this incorrect "moving time". It's due to the uploaded file containing trackpoints that don't have position information in them.
If you've got a .fit file you'll need to convert it to .tcx first (either import it to something like GC that can export it as TCX) or use a tool like fit2tcx.
OK, UNIX (should work with cygwin) command line to remove trackpoints from a TCX file (from fit2tcx) that don't contain position information:-
This assumes that the correct lines don't have the Altitude tag following on from the closing Time tag, i.e.
Example OK line:-
Bad line (no position tags):-
You may need to tweak the grep -v argument to something that only matches the lines that don't have position information in them.
I'll follow up with a perl script to do the same (and rip out best distance segments) which will be a bit more robust, optionally do interpolation to add position tags on the trackpoints missing them, and won't rely so much on it being a specific xml format. I can't be arsed to use an XML parser so it's all hand hacked.