How to Join GPX Files
GPX is the file type for the GPS Exchange Format, the format used for GPS data logging. Most GPS units will output data to either the GPX file format or a similar file format that can easily be converted to GPX. When working with GPX files, you may want to join two files to make one unified GPS log. Basic knowledge of GPX tags is helpful, though not essential, for joining two files. Joining GPX files can be done in a basic text editor. Joining is different from merging, because merging removes duplicate entries and joining does not.
Open your first GPX file in a text editor such as Notepad in Windows or TextEdit in Mac OS X.
Identify the data between the opening tag, "
Highlight the data between the "
Select "Copy" from the "Edit" menu.
Open the second GPX file in your text editor.
Identify the closing tag, "," and click your cursor in the spot just before the "<."
Select "Paste" from the "Edit" menu. The data you selected from the first file should now be part of the second file.
Perform a "Save As" operation for your second file and name the file to reflect that it contains two joined files. "GPX1GPX2Joined.gpx" could be an appropriate file name.
Tips & Warnings
- Practice joining GPX files using sample data in the resources section.
- When saving your joined file, be sure not to choose "Save," or you may lose your original file.
- Always keep backups of your files.