Skip to content

A small Python script to merge the tracks from multiple GPX files into a single GPX and single Geopackage file.

Notifications You must be signed in to change notification settings

lostmapper/gpx-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPX Tracks Merge

A small Python script to merge the tracks from multiple GPX files into a single GPX and single GeoPackage file.

Setup

To check out and run the project, do the following:

$ git clone [email protected]:lostmapper/gpx-merge.git
$ cd gpx-merge
$ python -m venv .venv
$ source .venv/bin/activate
$ python -m pip install -r requirements.txt
$ ./gpx-merge.py

Usage

  1. Place your GPX files in the input folder.
  2. Run the script.
  3. Find your combined tracks in output/merged.gpkg and output/merged.gpx.

Downloading Bulk Data from Strava

If you're looking to download all your GPX files from Strava at once:

  1. Head to https://www.strava.com/athlete/delete_your_account
  2. Click on Request Your Archive
  3. Don't delete your account!
  4. Wait for an email from Strava
  5. Unzip the archive
  6. Copy the GPX files from the archive into the input directory of this project.
  7. Follow the instructions in Usage

About

A small Python script to merge the tracks from multiple GPX files into a single GPX and single Geopackage file.

Topics

Resources

Stars

Watchers

Forks

Languages