How to Split One Recording Into Separate Activities: Triathlons, Multi-Day Hikes and Double Sessions
By Roy Lachica on . Last updated .
Sometimes one file contains more than one activity. You forgot to switch sport in a triathlon and recorded the whole race as a single ride. You left the watch running for a three-day hut-to-hut trip. You rode to the trailhead, ran, and rode home, all in one session. Or you did a morning and an evening run without saving in between. The data is all there, it is just in one container, and the analysis it deserves needs it in two or three.
Why bother splitting at all
- Pace and heart rate only mean something per sport. An average pace across a swim, a ride and a run is not a number anyone can use.
- Activity type drives everything downstream, from segment matching to training load to which leaderboards you appear on, see why setting the correct activity type is essential.
- Elevation and distance totals per sport stay meaningful, instead of one inflated figure attributed to whichever sport the file claims.
- Multi-day trips belong on the days they happened, not as one 55 hour activity with two nights of sleep in the middle.
Find the boundaries first
Before cutting anything, work out where one activity ends and the next begins. Upload the file to GpxFix and use the chart, transitions are usually obvious: a swim leg has low speed and erratic positions, a ride jumps to 25 or 35 km/h, a run settles somewhere between, and an overnight stop is a long flat stretch with no movement. Select ranges on the chart to read off the track point numbers at each boundary, and write them down before you start, because you will need them more than once.
How the split works in practice
GpxFix has no single split button, the tool that does the job is Crop or cut, which removes a chosen range of track points. So you extract one leg at a time by removing everything that is not that leg, and you repeat the process from the original file for each leg. Keep the original file somewhere safe, you will upload it again for every pass.
- Upload the original file.
- Remove everything after the end of leg one, selecting from the first point of leg two through to the last point of the track.
- Set the correct activity type for leg one.
- Download it, and give the file a name you will recognise, for example race-swim.gpx.
- Upload the original file again, and this time remove everything before the start of leg two, and everything after its end.
- Repeat until every leg has its own file, then upload each one separately.
Removing from both ends of a middle leg takes two crop operations in the same session, one for the part before and one for the part after. Full details of the tool are in the crop and cut guide.
Workflow:
- Upload the file, find the two transitions on the speed chart and note the point numbers.
- Pass one, remove everything from the start of the bike leg to the end, set the type to Swim, download.
- Pass two, upload the original again, remove the swim and then the run, set the type to Ride, download.
- Pass three, upload the original again, remove everything up to the start of the run, set the type to Run, download.
- Upload all three files, each with the right type and its own real timestamps.
Timestamps take care of themselves
Each leg keeps the timestamps it was recorded with, so the second activity starts at the time you actually started it and the elapsed time of each leg is honest. Transitions simply fall into the gaps between the files, which is exactly right for a triathlon, where T1 and T2 belong to neither leg. If a leg ends up with the wrong start time for some other reason, that is fixable separately.
The swim leg will look bad, and that is normal
Open water swim tracks are the worst GPS data most athletes ever see. The watch is underwater most of each stroke, the antenna is at wrist level in chop, and the receiver loses and regains the fix constantly. Expect a zigzag track, a distance that is 10 or 20 percent off, and speed spikes that imply you were swimming faster than you can cycle. Treat it with modest expectations: clear the worst spikes with spike removal, and if the shape is beyond saving, read why some workouts cannot be fixed before spending an hour on it. A pool swim has no usable GPS at all, there is nothing to repair.
Other cases worth splitting
- Commute plus training ride: split so the hard ride is not diluted by 20 minutes of traffic lights.
- Race plus warm-up and cool-down: split if you want the race as a clean effort, trim if you simply want the extra off, see forgot to stop your watch.
- Multi-day hikes: one file per day, with the overnight camp removed, which also stops a stationary night inflating elapsed time.
- Ride to a trail, then run: two sports, two files, two sets of segments.
Putting files back together
The reverse operation exists too. If you recorded in pieces by accident, for example because the watch saved mid-activity, combining is the tool you want, see how to combine multiple runs into one activity.
Frequently asked questions
Can GpxFix split a file in one click?
Not today. It is a crop per leg, uploading the original again for each pass. It takes a couple of minutes once you know the boundary point numbers.
Do I lose data by splitting?
Each file keeps the track points, timestamps and sensor data for its own leg. What you lose is the transition time between legs, which is usually what you wanted to lose. Keep the original file as the complete record.
Should I delete the original from Strava?
If you already uploaded the combined version, yes, otherwise you count the same work twice. Note that uploading the legs creates new activities, and Strava may flag an overlapping duplicate if the original is still there.
What about multi-sport files from the watch itself?
A device recorded in multi-sport mode usually produces a single file containing separate sessions, and platforms that understand the format will split it for you on upload. The manual approach here is for the case where that did not happen, typically because the whole race was recorded as one sport.
Got one file holding two or three activities? Upload it to GpxFix, find the transitions on the chart, and cut it into the pieces it should have been. Related reading: crop and cut and comparing activities.
Other blog posts
- Duplicate Activities on Strava: Why They Happen and Which to Keep
- How to Download a GPX File from Strava, Garmin, Komoot, AllTrails and Apple Watch
- FIT to GPX: Why Your Garmin File Is a .fit and How to Convert It
- Fixing a Bike Ride: Tunnels, Fast Descents and Impossible Speed Spikes
- Why Your Strava Segment Did Not Register, and How to Get the Match Back
- Basic, Strong, Snap to Road or Reference: Which GPS Smoothing Method to Use
- Forgot to Stop Your Watch: How to Remove the Drive Home From Your Activity
- Cadence Shows 90 Instead of 180: Why Running Cadence Comes Out Halved or Doubled
- How to Add Waypoints to a GPX File: Aid Stations, Water Stops and Turn Markers
- You Pressed Start Before the GPS Locked: How to Fix a Ruined First Kilometre
- Manually Fixing a Track That Drifted Far Off Course
- Heart Rate Stuck at One Flat Value: Causes and How to Fix It
- GPS Freezes Then Jumps: Why Your Watch Shows Impossible Speed Spikes
- TCX to GPX: Why Convert a Garmin Training Center File and How It Works
- Repairing a Workout Using a Reference GPX File
- Snap to Road: Aligning a Wandering GPS Track to the Real Route
- How Wind Turbines Can Interfere with GPS Signals
- Why Your Strava Activity Got Flagged And How to Fix It
- Why Setting the Correct Activity Type is Essential
- How to Adjust the Start Time of Your Activity
- How to Calibrate Elevation in Your GPX File
- GpxFix Blog
- How to Resample and Simplify Your GPX File
- How to Reverse the Direction of Your GPX Route
- How to Adjust Speed and Pace in Your GPX File
- How to Fix Common Strava Upload Errors
- How to Fix Incorrect Heart Rate Data in Your GPX File
- Understanding and Fixing Saw-Pattern GPS Tracks
- Understanding GPS Spike Zones: Identifying and Analyzing Erroneous GPS Data
- Heart Rate Data Missing or Corrupted in Your GPX File — Causes and Fixes
- How to Anonymize a GPX File Before Sharing It Online
- Why Your Elevation Gain Is Wrong And How to Fix It
- How to Fix a Workout When You Forgot to Resume a Paused Watch
- How to increase the distance of a Strava Activity after watch died
- Why you should skip the headphones on trail runs and races
- Tips for Recording Video While Racing — Camera Options, Battery Life, and More
- How to Create a Hyperlapse Video for Your GPX Route
- GPX Files with YouTube Video Segments: A New Way to Experience Routes
- To Pause or Not to Pause
- GPS & Elevation Accuracy Showdown 2026 | Garmin vs COROS vs the Rest
- Why Garmin and Strava Sometimes Show Different Distances for the Same Workout
- Why Your Activity Distance Is Wrong And How to Correct It
- Fixing Broken Strava Activities
- Why Some Workouts Cannot Be Fixed
- How to Get a GPX File onto Your Garmin Sports Watch
- How to Combine Multiple Runs Into One Activity
- How to removes GPS Spikes or extreme sudden movements
- Why We Are Introducing Subscription
- Comparing activities - a practical guide
- How GpxFix Reconstructs Indoor Track Runs — even when GPS drops out
- How to restore missing GPS data
- Crop & Cut GPX Activities — A Practical Guide
- How to Change the Distance of a Workout
- When Is It Okay, and Not Okay, to Alter Elapsed Time
- How to Change Moving Time to Match Elapsed Time
- On the Ethics Of Editing Fitness Data
- Understanding Elapsed vs. Moving Time in Strava
- How to Get Accurate GPS and Heart Rate Data

