https://github.com/ethanzh/gpx-csv-converter
A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files
https://github.com/ethanzh/gpx-csv-converter
csv gpx gpx-parser python
Last synced: about 2 months ago
JSON representation
A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files
- Host: GitHub
- URL: https://github.com/ethanzh/gpx-csv-converter
- Owner: ethanzh
- License: mit
- Created: 2018-06-17T02:01:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T20:03:32.000Z (about 5 years ago)
- Last Synced: 2025-11-05T14:13:42.667Z (7 months ago)
- Topics: csv, gpx, gpx-parser, python
- Language: Python
- Size: 48.8 KB
- Stars: 13
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GPX to CSV Converter
[](https://pepy.tech/project/gpx-csv-converter)
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.
### Format
For now the module exports the following GPX tags to the CSV file:
* Timestamp
* Latitude
* Longitude
* Elevation
* Heart Rate
### Usage
1. Install module using pip
```python
pip install gpx-csv-converter
```
2. Import module within Python file
```python
from gpx_csv_converter import Converter
```
3. Converter takes two keyword arguments, 'input_file' and 'output_file'
```python
Converter(input_file="input.gpx", output_file="output.csv")
```
This will output a CSV file to the current directory
### Support
If you have any questions or concerns please shoot me an email at
[ethan.houston@gmail.com](ethan.houston@gmail.com)
https://pypi.org/project/gpx-csv-converter/