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.6.tar.gz
(26.0 kB
view hashes)
Built Distribution
gpxplotter-0.2.6-py3-none-any.whl
(35.0 kB
view hashes)
Close
Hashes for gpxplotter-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43d0f8b9ce09d43f7bf178bbf9663aac810dde5ab3b0a4e5afcab994f9f5e11 |
|
MD5 | d87ad12cfb9a8562185e2a3340690a9b |
|
BLAKE2b-256 | b3b39a05300d97a2dca0679d7fdd545affc3b630d9214e1f424e5756f97d34a9 |