Was plotting the route for a tour a few months back, & was doing it the way I normally do by planning the whole thing as one big route. I generally find this easiest as I don't plan where we'll stay at any particular night in the first drafts, & if I do, then it's a right pain to make subsequent days match up correctly, especially when you're looking at the map of an unfamiliar place.
The main negative I find with the one big route approach is that on my bike computer (Wahoo Elemnt Bolt), it struggles with larger files & you lose a bit of the sense of scale on the elevation page. What might be a significant (but smaller) rise can be dwarfed by an upcoming mountain which perhaps is to be tackled in a few days time.
Komoot does provide tooling to break routes down into days with a nice UI, but you have to pay for that, & being a software engineer who knew that GPX files were just XML, I figured I could just do it myself. Wrote a little script before the holiday to break down our big route into ten sections & it worked out well for our trip. Had a few quiet hours on a Friday afternoon & figured I'd make it a GUI so ended up with this little util.
It's quite hacked together (I'm generally more BE-focused) & only tested manually with GPX files from Strava & Komoot, so it's likely not perfect. Any feedback - be it issues, UI suggestions or features - is welcome! I've used loads of random utils for GPX stuff on the web over the years so nice to be able to contribute something back.
Things I'd like to do:
Add option for splitting by certain length.
Add an interpolated track point when splitting to get more evenly-sized split files.
Possibly handle TCX files so can do routes with waypoints also.
Don't know exactly where to post this, here seems appropriate.
GPX splitter - a tool for splitting GPX route files into several separate files, based either on the number of track points or distance.
Was plotting the route for a tour a few months back, & was doing it the way I normally do by planning the whole thing as one big route. I generally find this easiest as I don't plan where we'll stay at any particular night in the first drafts, & if I do, then it's a right pain to make subsequent days match up correctly, especially when you're looking at the map of an unfamiliar place.
The main negative I find with the one big route approach is that on my bike computer (Wahoo Elemnt Bolt), it struggles with larger files & you lose a bit of the sense of scale on the elevation page. What might be a significant (but smaller) rise can be dwarfed by an upcoming mountain which perhaps is to be tackled in a few days time.
Komoot does provide tooling to break routes down into days with a nice UI, but you have to pay for that, & being a software engineer who knew that GPX files were just XML, I figured I could just do it myself. Wrote a little script before the holiday to break down our big route into ten sections & it worked out well for our trip. Had a few quiet hours on a Friday afternoon & figured I'd make it a GUI so ended up with this little util.
It's quite hacked together (I'm generally more BE-focused) & only tested manually with GPX files from Strava & Komoot, so it's likely not perfect. Any feedback - be it issues, UI suggestions or features - is welcome! I've used loads of random utils for GPX stuff on the web over the years so nice to be able to contribute something back.
Things I'd like to do:
1 Attachment