A package for reading gpx files and creating simple plots
Project description
gpxplotter
gpxplotter is a Python package for reading gpx files and creating simple predefined plots using matplotlib and maps using folium.
Please see https://gpxplotter.readthedocs.io/en/latest/ for the latest documentation and the Binder notebooks for examples.
Installation
pip install gpxplotter
Examples
Interactive examples can be explored via Binder.
Simple example for showing a track in a map, colored by heart rate
from gpxplotter import read_gpx_file, create_folium_map, add_segment_to_map
the_map = create_folium_map()
for track in read_gpx_file('ruten.gpx'):
for i, segment in enumerate(track['segments']):
add_segment_to_map(the_map, segment, color_by='hr')
# To display the map in a Jupyter notebook:
the_map
Further examples
Please see the gallery in the documentation for further examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpxplotter-0.2.11.tar.gz
(25.7 kB
view details)
Built Distribution
File details
Details for the file gpxplotter-0.2.11.tar.gz
.
File metadata
- Download URL: gpxplotter-0.2.11.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4b42cc5e8d874ce3f887f21511d838cb240f8826fc79f300c58633f53fa3ab |
|
MD5 | 4058a6c922806be525b2c1918d54503e |
|
BLAKE2b-256 | 6611a6bb61730e25f20c2f5e562297630c1029ad7045a94313f890f8f77b9aa5 |
File details
Details for the file gpxplotter-0.2.11-py3-none-any.whl
.
File metadata
- Download URL: gpxplotter-0.2.11-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f88f5a753084683f9a6041b3d90e6481e89d7ea9ede8f24e87ba811a3426070 |
|
MD5 | f2157e05938d65435ac18e4037efd71a |
|
BLAKE2b-256 | 1747f64449a1197210f6cef17251568cd2f82ea815b2948169d432eefa8f265b |