I only intended to press the watch button once, to get a GPS fix, but it seems I started the clock going 3m 40s before I started. So now when I try to import to RouteGadget2, using auto-fit, it gets it very wrong.
I'm exporting the TCX file from Garmin Connect. (There is also a GPX file option.) Can anyone suggest a tool to remove the start of a TCX/GPX file (or the original FIT file)? (Commandline tool is fine.)
Adjust times in garmin fit/tgx/gpx file?
Moderators: [nope] cartel, team nopesport
6 posts
• Page 1 of 1
Re: Adjust times in garmin fit/tgx/gpx file?
Many people use SportTracks to analyse their runs
https://www.zonefivesoftware.com/sportt ... pdates.php
This allows you to split runs into segments / delete bits at the start or end etc.
https://www.zonefivesoftware.com/sportt ... pdates.php
This allows you to split runs into segments / delete bits at the start or end etc.
- NeilC
- addict
- Posts: 1332
- Joined: Fri Dec 17, 2004 9:03 am
- Location: SE
Re: Adjust times in garmin fit/tgx/gpx file?
Yes, but SportTracks requires you to download software and register, so may not be the quickest solution.
Editing GPX files directly isn't difficult. Just open it up in Wordpad, and find the part of the track that you want to delete. Scroll down until you find the <trk> and <trkseg> lines. That's the beginning of your track, and your track segment. Then there will be lots of "track points", enclosed in <trkpt> and </trkpt> tags. For example, here's the code for two track points.
Just find all the trackpoints you don't want (which you can do by seeing the time attached to each trackpoint), and delete all of those trackpoints. Re-save the GPX file, which will now only include the bits of the track that you wanted, and upload to Routegadget.
Editing GPX files directly isn't difficult. Just open it up in Wordpad, and find the part of the track that you want to delete. Scroll down until you find the <trk> and <trkseg> lines. That's the beginning of your track, and your track segment. Then there will be lots of "track points", enclosed in <trkpt> and </trkpt> tags. For example, here's the code for two track points.
- Code: Select all
<trkpt lat="55.07689507" lon="-1.5857047">
<ele>65.6</ele>
<time>2017-01-15T12:17:04Z</time>
<extensions>
<tp1:TrackPointExtension>
<tp1:hr>102</tp1:hr>
</tp1:TrackPointExtension>
</extensions>
</trkpt>
<trkpt lat="55.07688375" lon="-1.58568869">
<ele>65.6</ele>
<time>2017-01-15T12:17:05Z</time>
<extensions>
<tp1:TrackPointExtension>
<tp1:hr>102</tp1:hr>
</tp1:TrackPointExtension>
</extensions>
</trkpt>
Just find all the trackpoints you don't want (which you can do by seeing the time attached to each trackpoint), and delete all of those trackpoints. Re-save the GPX file, which will now only include the bits of the track that you wanted, and upload to Routegadget.
Martin Ward, SYO (Chair) & SPOOK.
I'm a 1%er. Are you?
I'm a 1%er. Are you?
-
Spookster - god
- Posts: 2267
- Joined: Fri Dec 05, 2003 1:49 pm
- Location: Sheffield
Re: Adjust times in garmin fit/tgx/gpx file?
dcook wrote:I only intended to press the watch button once, to get a GPS fix, but it seems I started the clock going 3m 40s before I started. So now when I try to import to RouteGadget2, using auto-fit, it gets it very wrong.
Autofit does allow for the GPS file not starting at the same time as the result file, but it only looks at a range 10 seconds before and after your recorded start time.
In theory you should be able to get autofit to work better by manually adjusting the offset it uses. You do this on the spinner control next to the Autofit button. If you set this to around 220 (in your case) then you should find things look OK, and you can nudge it backwards and forwards to get the best fit. If that doesn't work then try -220, since I can't remember whether I adjust forwards or backwards in time.
But editing the GPX file may be easier.
-
Simon E - green
- Posts: 344
- Joined: Sat Jul 03, 2004 10:13 pm
- Location: St Albans
Re: Adjust times in garmin fit/tgx/gpx file?
Strava also has a crop option, and then you can export a GPX file from it.
- Paul Frost
- addict
- Posts: 1176
- Joined: Sat Feb 26, 2005 6:25 pm
- Location: Highlands
Re: Adjust times in garmin fit/tgx/gpx file?
....whereas Garmin Connect does not.
I once accidentally left GPS running for the 2-hour drive home from an event.
When I uploaded it I have a "longest run" and "highest average speed" I will never better.
I could not find a way to truncate so I emailled Garmin. The answer eventually came back "you cannot".
I once accidentally left GPS running for the 2-hour drive home from an event.
When I uploaded it I have a "longest run" and "highest average speed" I will never better.
I could not find a way to truncate so I emailled Garmin. The answer eventually came back "you cannot".
curro ergo sum
-
King Penguin - addict
- Posts: 1453
- Joined: Wed Sep 21, 2005 6:56 pm
- Location: notloB
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 90 guests