Schnurber / gpx-csv-converter

A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPX to 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 (as a string, for now) and exports a nicely-formatted CSV file.

Format

For now the module exports the following GPX tags to the CSV file:

  • Date
  • Time
  • Latitude
  • Longitude
  • Elevation
  • Heart Rate

Usage

  1. Install module using pip
pip install gpx-csv-converter
  1. Import module within Python file
from gpx_csv_converter import Converter
  1. 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

Support

If you have any questions or concerns please shoot me an email at ethan.houston@gmail.com

https://pypi.org/project/gpx-csv-converter/

About

A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files

License:MIT License


Languages

Language:Python 100.0%