How can I merge two GPX files into one? On a recent ride, my GPS stopped functioning about half way through. From other sources I have approximate times for the missing data and I know the route, so (in principle, though I'm really not sure how) I could manually create a track for the second half of the ride. But how do I combine this data with the GPS data from the first half of my ride?

Is there a way to take two separate GPX tracks and combine them into a single one? What issues arise in "syncing" overall times, speeds, etc.? Are there tools that assist in reconciling them?
GPX files are XML files, which means you can edit them in a text editor. I use Notepad++ on Windows and TextWrangler on OSX, but you should be able to use the built-in Notepad or TextEdit. Don't use a word processor like Word or OpenOffice.


Open the second GPX file in a text editor. Copy all the stuff between &lt;trk&gt; and &lt;/trk&gt; inclusive.
Open the first GPX file in a text editor. Paste the copied stuff after the &lt;/trk&gt; line near the end of the first file and save.
If you have more files, repeat.