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.12.tar.gz
(25.8 kB
view details)
Built Distribution
File details
Details for the file gpxplotter-0.2.12.tar.gz
.
File metadata
- Download URL: gpxplotter-0.2.12.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 920d81ad9ae358173a9c1013d9ce2b7db21e157893260127acfcac2af4ed4949 |
|
MD5 | db3d9a5787b854ef05d3fc10e6f408b1 |
|
BLAKE2b-256 | 8a774af2d5b61775b0bcc88204a3350ad68e0ec820898f690eae4d13bc111e2b |
File details
Details for the file gpxplotter-0.2.12-py3-none-any.whl
.
File metadata
- Download URL: gpxplotter-0.2.12-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd4b2370abd689275c38d1f32c16b1f66113156caffa89116ff5ea48223c3bb |
|
MD5 | 784711dfff56e34a68797b68f87fd570 |
|
BLAKE2b-256 | 72bae0ac285a8762763c6cecc95f430877742ed0489ea3e6306a7362ebe13b66 |