Animations of bike exploration in various cities
- Inspired by this this post and this tutorial
- Time range: 2020-04-05 to 2021-04-23 (383 days)
- Num routes: 223
- Total distance: 3,757 miles
- Time range: 2021-08-06 to 2022-11-14 (465 days)
- Num routes: 179
- Total distance: 2,605 miles
- Time range: 2023-03-06 to 2024-11-15 (619 days)
- Num routes: 300
- Total distance: 5,643 miles
conda create -c conda-forge -n strava python=3.12 pandas jupyterlab geopandas
pip install gpxpy fitparse tqdm
pip install "rich[jupyter]"
Bulk download all the strava data and put it somewhere, like data/strava
.
Run main.py
So that only the code is saved in the notebook, and not the output,
I added to .git/config:
[filter "strip-notebook-output"]
clean = "jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR"
And created .gitattributes:
*.ipynb filter=strip-notebook-output