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.4.tar.gz
(25.1 kB
view details)
Built Distribution
File details
Details for the file gpxplotter-0.2.4.tar.gz
.
File metadata
- Download URL: gpxplotter-0.2.4.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a191694991e5d9027d7c4527a125b85ecede23d268e17e89f8c95b01d4d5a01d |
|
MD5 | e35848884c22b8168a04b8e9294ad8bb |
|
BLAKE2b-256 | 35c6a6afadf607c1c74d6e5572b24d1b10c49604276a060aab1433d4dcbfa2b9 |
File details
Details for the file gpxplotter-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: gpxplotter-0.2.4-py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a0495e1c8ba0346c694d111a2d258a1d396ddc19a16a5660fd1c4fbf27a6e7 |
|
MD5 | 25383d7669a03a018aee76d93d6a66a0 |
|
BLAKE2b-256 | 8ac6e03c0e210344e5f15b88fce4b927595041108b432fb77939c5b75320525e |