Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It's a bit tedious to enter four params and values on the command line when creating a map:
stravavis activities --lon_min 23.516665 --lat_min 60.000467 --lon_max 26.390877 --lat_max 61.360291
This PR adds a
--bbox
shortcut for those, that takes a bounding box of comma-separated values of lon_min, lat_min, lon_max, lat_max:stravavis activities --bbox 23.516665,60.000467,26.390877,61.360291
It's quite easy to find bounding boxes online, for example: http://bboxfinder.com/#60.000467,23.516665,61.360291,26.390877
I also noticed that these lat/lon values are not actually passed from the CLI to the plotting function, and neither are
alpha
orlinewidth
, so let's fix that too :)Finally, bump some GitHub Actions versions for the CI.