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 and exports a CSV file.
For now the module exports the following GPX tags to the CSV file:
- Timestamp
- 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
- Converter takes two keyword arguments, 'input_file' and 'output_file'
Converter(input_file="input.gpx", output_file="output.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