Yet Another Cycling Forum

General Category => The Knowledge => GPS => Topic started by: quixoticgeek on December 23, 2020, 09:23:52 pm

Title: Reverse route
Post by: quixoticgeek on December 23, 2020, 09:23:52 pm

If I have a GPX track, what's the easiest way to reverse it?

J
Title: Re: Reverse route
Post by: Feanor on December 23, 2020, 09:27:20 pm
Depends what tools you have at your disposal.

For me, load it into Garmin's Mapsource, double-click the track, and select the Invert option.
Done.
Title: Re: Reverse route
Post by: quixoticgeek on December 23, 2020, 09:29:49 pm
Depends what tools you have at your disposal.

For me, load it into Garmin's Mapsource, double-click the track, and select the Invert option.
Done.

Strava, Komoot, GPSbabel, Free ridewithGPS

J
Title: Re: Reverse route
Post by: fuaran on December 23, 2020, 09:39:17 pm
GPSBabel has a reverse filter.
Title: Re: Reverse route
Post by: quixoticgeek on December 23, 2020, 09:56:27 pm


The gpsbabel documentation is poor... and the man page on debian is awful...

I just tried:

gpsbabel -t -i gpx -x reverse -f in.gpx -o gpx -F out-reverse.gpx

It's not reversing, just padding digits on every trkpt...

Fnnnngh

J
Title: Re: Reverse route
Post by: Lightning Phil on December 23, 2020, 10:11:58 pm
Can’t you just do it on your Wahoo?
Title: Re: Reverse route
Post by: fuaran on December 23, 2020, 10:12:28 pm
The command should have the input file before the reverse filter. Otherwise it doesn't have anything to process.
ie
gpsbabel -t -i gpx -f in.gpx -x reverse -o gpx -F out-reverse.gpx

Or try using the GUI?
Title: Re: Reverse route
Post by: quixoticgeek on December 23, 2020, 10:34:18 pm
The command should have the input file before the reverse filter. Otherwise it doesn't have anything to process.
ie
gpsbabel -t -i gpx -f in.gpx -x reverse -o gpx -F out-reverse.gpx

Or try using the GUI?

That did it!

Thank you.

J
Title: Re: Reverse route
Post by: Pingu on December 23, 2020, 10:44:12 pm
...Free ridewithGPS...

...will do it, FYI.
Title: Re: Reverse route
Post by: JonBuoy on December 23, 2020, 10:49:50 pm
My choice would be:

Bikehike.co.uk
Load Route
Reverse Route
Save Route

Title: Re: Reverse route
Post by: quixoticgeek on December 23, 2020, 10:52:34 pm
My choice would be:

Bikehike.co.uk
Load Route
Reverse Route
Save Route

Does that require signing up for an account?

J
Title: Re: Reverse route
Post by: JonBuoy on December 23, 2020, 10:59:43 pm
Nope.
Title: Re: Reverse route
Post by: αdαmsκι on December 24, 2020, 04:40:31 pm
https://www.gpxeditor.co.uk/map will also reverse routes without needing an account.