The program will read your Strava file and run through the GPS coordinates of the route while showing the altitude, heart rate (if recorded), and speed on the right.
Author
Eric Yang
Files
- VisualizeBikeRide.py
- graphics.py
- compass.gif
- RacingSunsetFull.xml
How To Use
- Clone the directory to your local machine. It includes
RacingSunsetFull.xml
as an example - To get an XML of your own ride, go online to Strava.com and find the specific activity you want to export
- In the url, append
/export_original
to the end, and this will download the tcx file - To convert the TCX to XML, simply change the filetype from
.tcx
to.xml
- In
main()
, changefileName
to the full name of your downloaded xml file - (optional) You can change the size of the visualization by modifying
scale
inmain()
- (optional) Depending on the size of your file, you may want to go through it slower or faster. You can tweak
rfRate
andreadRate
inmain()
. DecreasingrfRate
and IncreasingreadRate
will make it faster. - Make sure you have all of the files in the same folder
- Run VisualizeBikeRide.py
The visualization uses the graphics.py
library which can be found at http://mcsp.wartburg.edu/zelle/python/graphics.py