Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
-
smfollen
- Subscriber
- Posts: 276
- Joined: Wed Jan 10, 2024 8:31 pm
- Location: Boston Area
- Has liked: 137 times
- Been liked: 127 times
- Contact:

Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
Many of us are familiar with the pros and cons of tracks and of routes. We sometimes use both while riding to take advantage of what each does best.
Tracks are stable but inflexible because they are made up of very large numbers of points.
Routes are flexible, but unstable on recalculation, because they are made up of a small number of points.
They are at the two extreme ends on a spectrum, which leaves lots of room for improvement in between.
Trk2Rt can easily generate enhanced routes throughout that spectrum while converting among waypoints, tracks and routes. It turns out that a small number of properly placed additional shaping points can significantly improve route stability while minimizing a reduction in flexibility.
Trk2Rt offers several additional features. It is entirely free.
There are four modes of operation: simple, intermediate, advanced and command line.
A windows pc build and simple installer can be downloaded from here https://github.com/SteveFollen/Trk2Rt/t ... r/Download
@FrankB deserves credit for an excellent exchange of ideas, and for some testing.
If any errors or shortcomings remain, they are entirely mine.
The download includes a user’s manual. For anything that doesn’t answer, reach out here.
Improvement ideas, problem reports, constructive feedback, etc. is encouraged.
Tracks are stable but inflexible because they are made up of very large numbers of points.
Routes are flexible, but unstable on recalculation, because they are made up of a small number of points.
They are at the two extreme ends on a spectrum, which leaves lots of room for improvement in between.
Trk2Rt can easily generate enhanced routes throughout that spectrum while converting among waypoints, tracks and routes. It turns out that a small number of properly placed additional shaping points can significantly improve route stability while minimizing a reduction in flexibility.
Trk2Rt offers several additional features. It is entirely free.
There are four modes of operation: simple, intermediate, advanced and command line.
A windows pc build and simple installer can be downloaded from here https://github.com/SteveFollen/Trk2Rt/t ... r/Download
@FrankB deserves credit for an excellent exchange of ideas, and for some testing.
If any errors or shortcomings remain, they are entirely mine.
The download includes a user’s manual. For anything that doesn’t answer, reach out here.
Improvement ideas, problem reports, constructive feedback, etc. is encouraged.
- Peobody
- Subscriber
- Posts: 2124
- Joined: Tue Apr 20, 2021 1:33 pm
- Location: North Carolina USA
- Has liked: 195 times
- Been liked: 560 times

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
Wow Steve. Trk2Rt looks impressive based my initial read of it Users Guide. Surprisingly (indicates very well written and detailed), only one question came to mind during that read. It pertains to the "Remove Previous Numbering" function. When I create routes in Basecamp I number the route points with number followed by hyphen (eg: 01-ShapingPoint01, 02-ViaPoint01, 03-ShapingPoint02). If the route is part of a multi-day trip then I will also add a day number reference (eg: D1-01-ShapingPoint01, D1-02-ViaPoint01, D1-03-ShapingPoint02). This is important to me in BC for the purpose of displaying the route points sequentially in the lower left pane. If I replaced the hyphen following the route point number with a colon (eg: D1-01:ShapingPoint01, D1-02:ViaPoint01, D1-03:ShapingPoint02), would the "Remove Previous Numbering" function replace the manual numbering with Trk2Rt numbering? If so, the day number reference would be lost, right?
There is a section in Users Guide about route point numbering style that contained images showing a day number prefix but I could not tell how Trk2Rt would determine the appropriate day number. Your thoughts on how I could best achieve sequential listing in BC while taking advantage of Trk2Rt reliability enhancements would be appreciated.
There is a section in Users Guide about route point numbering style that contained images showing a day number prefix but I could not tell how Trk2Rt would determine the appropriate day number. Your thoughts on how I could best achieve sequential listing in BC while taking advantage of Trk2Rt reliability enhancements would be appreciated.
2008 Honda GL1800 Goldwing
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
-
smfollen
- Subscriber
- Posts: 276
- Joined: Wed Jan 10, 2024 8:31 pm
- Location: Boston Area
- Has liked: 137 times
- Been liked: 127 times
- Contact:

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
@Peobody I'm glad to hear that you like it so far.
Trk2Rt can optionally add a prefix and numbering to the route points. The prefix is user specified text - e.g. "Day 1 ". The numbering is sequential with a couple of optional forms. All of that, if any is followed by a colon and a space, that is ": ".
The remove previous numbering button is designed to remove that. If clicked, it removes anything at the beginning of route point names up to, and including the ": ". For example
would become
A new prefix and number could be added from there if desired.
if your "D1-03:ShapingPoint02" had a space after the colon - that is "D1-03: ShapingPoint02" - then the remove previous button would strip that to "ShapingPoint02".
You could then use the numbering feature to renumber your points as desired.
To add the day prefix:
Trk2Rt has the ability to split a route into two or more. You could split the route at each day and then add the day prefix.
Here's an example.
On import of your initial route would look something like this (note that I set numbering style to none for clarity here) After removing previous numbering And after setting numbering style, splitting the route, and adding prefixes for each day. Note that I also set starting number values for each route.
EDIT: I should also note that you do not have to do any of this. The remove previous, the prefix and numbering are all optional. You can keep your original manual prefix and numbering if you would like.
Trk2Rt can optionally add a prefix and numbering to the route points. The prefix is user specified text - e.g. "Day 1 ". The numbering is sequential with a couple of optional forms. All of that, if any is followed by a colon and a space, that is ": ".
The remove previous numbering button is designed to remove that. If clicked, it removes anything at the beginning of route point names up to, and including the ": ". For example
Code: Select all
prefix 123: point nameCode: Select all
point nameif your "D1-03:ShapingPoint02" had a space after the colon - that is "D1-03: ShapingPoint02" - then the remove previous button would strip that to "ShapingPoint02".
You could then use the numbering feature to renumber your points as desired.
To add the day prefix:
Trk2Rt has the ability to split a route into two or more. You could split the route at each day and then add the day prefix.
Here's an example.
On import of your initial route would look something like this (note that I set numbering style to none for clarity here) After removing previous numbering And after setting numbering style, splitting the route, and adding prefixes for each day. Note that I also set starting number values for each route.
EDIT: I should also note that you do not have to do any of this. The remove previous, the prefix and numbering are all optional. You can keep your original manual prefix and numbering if you would like.
- Peobody
- Subscriber
- Posts: 2124
- Joined: Tue Apr 20, 2021 1:33 pm
- Location: North Carolina USA
- Has liked: 195 times
- Been liked: 560 times

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
Thanks @smfollen . That is helpful. Unfortunately I create one route per day in Basecamp so would not be splitting any routes with Trk2Rt. As I understand it, this would mean the loss of my Day number reference if I removed previous numbers then allowed Trk2Rt to add its own number prefixes. I need to give this some thought and do some testing.
A question that came to mind while you were replying is whether an export from Trk2Rt needs to be 'RUT fixed' either by using Frank's Trip Manager to transfer it to the device, or by modifying the import-created trip file with one of the other tools at our disposal.
Edit Regarding leaving the numbering as created in BC, what about the route points added by Trk2Rt? I assume they are un-prefixed.
A question that came to mind while you were replying is whether an export from Trk2Rt needs to be 'RUT fixed' either by using Frank's Trip Manager to transfer it to the device, or by modifying the import-created trip file with one of the other tools at our disposal.
Edit Regarding leaving the numbering as created in BC, what about the route points added by Trk2Rt? I assume they are un-prefixed.
2008 Honda GL1800 Goldwing
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
-
smfollen
- Subscriber
- Posts: 276
- Joined: Wed Jan 10, 2024 8:31 pm
- Location: Boston Area
- Has liked: 137 times
- Been liked: 127 times
- Contact:

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
@Peobody
If you set the numbering style to none and leave the prefix blank, then yes, in that case, the additional points added by Trk2Rt would not be prefixed, nor numbered. (They do get a post-fix number to keep each name unique. That number is increasing but not sequential, and unrelated to any other numbering.)
The prefix is available at the start of each route, even if there is only one route. Just import the route for each day and enter that day's prefix....I create one route per day in Basecamp so would not be splitting any routes with Trk2Rt. As I understand it, this would mean the loss of my Day number reference if I removed previous numbers...
Trk2Rt has no effect on RUT. I continue to use Trip Manager with great success....whether an export from Trk2Rt needs to be 'RUT fixed' either by using Frank's Trip Manager...
If you use Trk2Rt's prefixing and or numbering feature, then all points, including the additional points are numbered accordingly.Regarding leaving the numbering as created in BC, what about the route points added by Trk2Rt? I assume they are un-prefixed.
If you set the numbering style to none and leave the prefix blank, then yes, in that case, the additional points added by Trk2Rt would not be prefixed, nor numbered. (They do get a post-fix number to keep each name unique. That number is increasing but not sequential, and unrelated to any other numbering.)
- Peobody
- Subscriber
- Posts: 2124
- Joined: Tue Apr 20, 2021 1:33 pm
- Location: North Carolina USA
- Has liked: 195 times
- Been liked: 560 times

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
I have tested. Maybe should have done that first but having feedback allowed my to target my testing to my concerns. The image below will explain where I'm at. Something that surprised me is that the .gpx resulting from a Trk2Rt export containing only the route could not be imported into Basecamp. Is this normal?
BTW, I love the Blue Ridge Parkway route used as an example route in the Users Guide. I've ridden that route a time or ten.
BTW, I love the Blue Ridge Parkway route used as an example route in the Users Guide. I've ridden that route a time or ten.
2008 Honda GL1800 Goldwing
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
zūmo XT linked to Cardo Packtalk Bold and iPhone SE.
-
smfollen
- Subscriber
- Posts: 276
- Joined: Wed Jan 10, 2024 8:31 pm
- Location: Boston Area
- Has liked: 137 times
- Been liked: 127 times
- Contact:

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
@Peobody
Good to hear that the prefix and numbering will work for you.
I'll add the export file naming option to the V3.1 candidate list. It's a reasonable idea. Thanks for that.
Right now the export file name is based on the import file name. Page 6 of the user's guide provides details.
The Track / Route Name field only edits the name given to an exported track or route within the file.
Definitely not normal. I do it regularly. I suspect that the & character in your route name is the issue. See Avoid special characters on page 22 of the user's manual.the .gpx resulting from a Trk2Rt export containing only the route could not be imported into Basecamp. Is this normal?
Good to hear that the prefix and numbering will work for you.
I'll add the export file naming option to the V3.1 candidate list. It's a reasonable idea. Thanks for that.
Right now the export file name is based on the import file name. Page 6 of the user's guide provides details.
The Track / Route Name field only edits the name given to an exported track or route within the file.
Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
Clearly, I am doing something wrong. When I get to the github site and click on the .zip file to download, nothing happens.
Help, please.
Help, please.
Grant Wilkinson
Ottawa ON Canada
Ottawa ON Canada
-
smfollen
- Subscriber
- Posts: 276
- Joined: Wed Jan 10, 2024 8:31 pm
- Location: Boston Area
- Has liked: 137 times
- Been liked: 127 times
- Contact:

Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
@gwilki After clicking on the zip file, click the small down arrow toward the upper right to download.
Re: Improved Track <-> Route Conversion and Enhanced, Stable, Sharable Routes
Thank you. Got it. For me, it wasn't th down arrow. It was the "download raw file" icon that I completely missed.smfollen wrote: Mon Jan 05, 2026 10:32 pm @gwilki After clicking on the zip file, click the small down arrow toward the upper right to download.
Untitled.png
Grant Wilkinson
Ottawa ON Canada
Ottawa ON Canada

