Merging GPX files

General cycling advice ( NOT technical ! )
climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Merging GPX files

Postby climo » 19 Jan 2019, 11:05am

Can't for the life of me find a simple way to merge (join) 2 or more GPX files then export them to Osmand or other similar program. Online programs don't work or are stupidly complex. The alternative is to edit files in a text editor. Tried Garmin Basecamp and yes it does do it but importing into Komoot produces a real mess of conflicting routes with loops and spurs off which didn't exist in the original. Cycle.travel won't import the file.
The only Mac program that claims to do this is Adze and that is so slow that I've given up on it.
Surely there's a simpler way.

PH
Posts: 7584
Joined: 21 Jan 2007, 12:31am
Location: Derby
Contact:

Re: Merging GPX files

Postby PH » 19 Jan 2019, 2:59pm

I use gotoes
https://gotoes.org/strava/Combine_GPX_TCX_FIT_Files.php

For Audax, I always record and save in sections and join afterwards to upload to Strava, it's worked with Garmin Etrex, Touring and 200, plus with a simple logger. Although it's promoted as a utility for Strava,you get a GPX file which you can do whatever you want with. I've never had a problem, but to avoid any possible issues I've copied them off the device to the PC first so I still have the original files.

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 19 Jan 2019, 3:20pm

PH wrote:I use gotoes
https://gotoes.org/strava/Combine_GPX_TCX_FIT_Files.php

For Audax, I always record and save in sections and join afterwards to upload to Strava, it's worked with Garmin Etrex, Touring and 200, plus with a simple logger. Although it's promoted as a utility for Strava,you get a GPX file which you can do whatever you want with. I've never had a problem, but to avoid any possible issues I've copied them off the device to the PC first so I still have the original files.

Tried this and the resulting track wouldn't open in cycle.travel, Basecamp ( said it wasn't a valid file) or Komoot. It sounds like you're talking about tracks you've recorded. I'm talking about routes I've planned or download from other sources.

User avatar
tykeboy2003
Posts: 1040
Joined: 19 Jul 2010, 2:51pm
Location: Swadlincote, South Derbyshire

Re: Merging GPX files

Postby tykeboy2003 » 19 Jan 2019, 3:28pm

I use MapSphere GPX Track Editor which allows you to open any number of tracks which can then be selected and merged. Download it here;-https://download.cnet.com/GPS-Track-Editor/3000-20422_4-75720240.html

Just noticed that you use MAC, don't know if they support it....

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 19 Jan 2019, 3:44pm

tykeboy2003 wrote:I use MapSphere GPX Track Editor which allows you to open any number of tracks which can then be selected and merged. Download it here;-https://download.cnet.com/GPS-Track-Editor/3000-20422_4-75720240.html

Just noticed that you use MAC, don't know if they support it....

Windows only I'm afraid. Apart from that it looks like it would do the job.

sjs
Posts: 737
Joined: 24 Jan 2010, 10:08pm
Location: Hitchin

Re: Merging GPX files

Postby sjs » 19 Jan 2019, 4:25pm

Gpsbabel would work. Very flexible but might be considered a bit fiddly.

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 19 Jan 2019, 5:16pm

Was searching under "merge GPX files", searching for "edit GPS files" brought up GPS Editor on the Apple Itunes store which claims it'll do this but then so did Adze. Worth a punt at £5 but I'm not holding my breath.

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 19 Jan 2019, 5:18pm

sjs wrote:Gpsbabel would work. Very flexible but might be considered a bit fiddly.

Tried that and yes it's very fiddly. I'm hoping for a no brainer solution.

User avatar
Tinnishill
Posts: 145
Joined: 15 Sep 2013, 9:58am

Re: Merging GPX files

Postby Tinnishill » 19 Jan 2019, 11:39pm

GPSPrune is an interface which uses GPSBabel in the background

https://wiki.openstreetmap.org/wiki/GpsPrune

https://activityworkshop.net/software/gpsprune/
Agitate, educate, organise.

tempsperdu
Posts: 109
Joined: 9 Jan 2014, 8:31pm

Re: Merging GPX files

Postby tempsperdu » 20 Jan 2019, 12:56pm

I use Garmin BaseCamp but its a knife and fork edit.
You have to cut and splice by hand and the menus are not intuitive.
Also if the files were generated from ride data you lose that as well.
Other than that it can be done.

User avatar
geomannie
Posts: 542
Joined: 13 May 2009, 6:07pm

Re: Merging GPX files

Postby geomannie » 20 Jan 2019, 7:38pm

If you want to get techy, try QGIS, a very powerful, open source GIS program. Hours of fun, but you really have to want to use it.

https://www.qgis.org/en/site/
geomannie

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 21 Jan 2019, 10:24am

geomannie wrote:If you want to get techy, try QGIS, a very powerful, open source GIS program. Hours of fun, but you really have to want to use it.

https://www.qgis.org/en/site/


eek! or should I say geek!

User avatar
geomannie
Posts: 542
Joined: 13 May 2009, 6:07pm

Re: Merging GPX files

Postby geomannie » 21 Jan 2019, 11:39am

climo wrote:
geomannie wrote:If you want to get techy, try QGIS, a very powerful, open source GIS program. Hours of fun, but you really have to want to use it.

https://www.qgis.org/en/site/


eek! or should I say geek!

Guilty as charged :D
geomannie

climo
Posts: 499
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Postby climo » 21 Jan 2019, 11:48am

Perhaps you could open a business joining gps routes as there's a dearth of simple software to use.
Often I find that on a trip I get to the end of the plotted route without knowing it and miss a turning. Once went 8 miles further down a French cyclepath when I should have turned off. No alternative but to go back - I wasn't popular with swimbo. :(

User avatar
Sweep
Posts: 5775
Joined: 20 Oct 2011, 4:57pm
Location: London

Re: Merging GPX files

Postby Sweep » 21 Jan 2019, 6:26pm

Can I ask why you need to get into the complexities of merging two gpx's OP?

I quite often on longer rides switch to a different pre-prepared gpx.

If I'm concerned that I might ride past the point on the first where I want to switch to a new route I can always make a copy and then just chop the end off. The garmin will then tell me when I am "arriving".

Do be careful if doing any gpx tinkering that you syntax check it.
Sweep