Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.08 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.08 KB

GaiaGPS Stravafier

Convert a GPX file exported from GaiaGPS to a Strava-friendly format.

Background

  • I don't like wearing fitness trackers, but I do like tracking my general activity (routes/milleage) on Strava.
  • I use GaiaGPS for planning routes.
  • GaiaGPS will export a route as GPX file, and Strava will import GPX files, but the files from GaiaGPS aren't compatible with Strava.

Usage

  • Plan your route in GaiaGPS and go hike (or run, if you're into that).
  • Don't wear a fitness tracker, but keep track of your start and end times.
  • When you get home, export the route as a GPX file from GaiaGPS, then run this script with your start and end times to generate a new GPX file.
  • Upload that new file to Strava.
python3 gaiagps-stravafier.py -file data/seki-redwood-canyon-loop.gpx -start '2020/9/5 8:30' -end '2020/9/5 15:30'

Notes

All GPX files imported by Strava require each segment to include a <time>. This script adds approximated times by dividing the duration of your activity by the number of segments.