A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files
I made this tool to make it easier to perform calculations on large amounts of GPX data collected from a GPS. Rather than manually copy and paste files into an Excel spreadsheet this module simple inputs the GPX file (as a string, for now) and exports a nicely-formatted CSV file.
For now the module exports the following GPX tags to the CSV file:
- Date
- Time
- Latitude
- Longitude
- Elevation
- Heart Rate
- Install module using pip
pip install gpx-csv-converter
- Import module within Python file
from gpx_csv_converter import Converter
- Currently the module takes two inputs: the GPX string itself and the desired file name (file parsing coming soon)
Converter(my_gpx_string, 'my_csv_file.csv')
This will output a CSV file to the current directory
If you have any questions or concerns please shoot me an email at ethan.houston@gmail.com