I needed a way to generate heatmap for all my rides
- This is a fork of https://github.com/TomCasavant/GPXtoHeatmap
- I modified the code to include the abiity to filter GPX files by year(s)
- Added Click command option for --year. Please see examples below
Install Dependencies
$ python3 -m pip install -r requirements.txtShow help:
$ python3 heatmap.py --help
Usage: heatmap.py [OPTIONS]
Options:
--output TEXT Specify the name of the output file. Defaults to `map`.
--input TEXT Specify an input folder - this is where all your GPX files should be. Defaults to `gpx`.
--filter [running|cycling|walking]
Specify a filter type. Defaults to no filter
--help Show this message and exit.
--year Specify a year to filter the GPX files. Defaults to no year. Multiple years can be acceptedExamples:
$ python3 heatmap.py
$ python3 heatmap.py --input gpx --output map
$ python3 heatmap.py --input gpx --output map2 --year 2019
$ python3 heatmap.py --input gpx --output map3 --year 2019 --year 2020- Garmin exports garminexport
- Strava exports Strava's instructions
- Covert FIT files to GPX fit2gpx