Merging GPX files

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

Merging GPX files

Post by climo »

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: 13106
Joined: 21 Jan 2007, 12:31am
Location: Derby
Contact:

Re: Merging GPX files

Post by PH »

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: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 1277
Joined: 19 Jul 2010, 2:51pm
Location: Swadlincote, South Derbyshire

Re: Merging GPX files

Post by tykeboy2003 »

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: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 1306
Joined: 24 Jan 2010, 10:08pm
Location: Hitchin

Re: Merging GPX files

Post by sjs »

Gpsbabel would work. Very flexible but might be considered a bit fiddly.
climo
Posts: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 235
Joined: 15 Sep 2013, 9:58am

Re: Merging GPX files

Post by Tinnishill »

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: 131
Joined: 9 Jan 2014, 8:31pm

Re: Merging GPX files

Post by tempsperdu »

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: 1093
Joined: 13 May 2009, 6:07pm

Re: Merging GPX files

Post by geomannie »

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: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 1093
Joined: 13 May 2009, 6:07pm

Re: Merging GPX files

Post by geomannie »

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: 590
Joined: 29 Apr 2009, 8:08am
Location: Warminster

Re: Merging GPX files

Post by climo »

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: 8444
Joined: 20 Oct 2011, 4:57pm
Location: London

Re: Merging GPX files

Post by Sweep »

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
Post Reply