Skip to main content

gpxplotter is a Python package for reading .gpx [1] files and make some simple plots. It uses matplotlib to create some simple predefined plots and mplleaflet for making maps.

Examples

Simple example for plotting an elevation profile with heart rate

from gpxplotter import read_gpx_file
from gpxplotter.mplplotting import plot_elevation_hr_multi_dist, save_fig
from matplotlib import pyplot as plt
plt.style.use('seaborn-poster')


for track in read_gpx_file('test.gpx'):
    for i, segment in enumerate(track['segments']):
        fig = plot_elevation_hr_multi_dist(track, segment)
        save_fig(fig, 'test-{}.png'.format(i))
Example output

Simple example for showing a track in a map, colored by heart rate

from gpxplotter import read_gpx_file
from gpxplotter.mplplotting import plot_map, save_map


for track in read_gpx_file('test.gpx'):
    for i, segment in enumerate(track['segments']):
        fig = plot_map(track, segment, zcolor='pulse')
        save_map(fig, 'test-{}.html'.format(i))
Example output

Installation

gpxplot can be installed via pip:

pip install gpxplot

Note

The intended usage is for displaying heart rate information together with other information. If the gpx file does not comtain heart rate information, the source code will have to be modified accordingly.

References

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.0.2.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpxplotter-0.0.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file gpxplotter-0.0.2.tar.gz.

File metadata

  • Download URL: gpxplotter-0.0.2.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0b3

File hashes

Hashes for gpxplotter-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9e662f29e3c724496a5fbd555ad667ad0de45357e1ed1b8b0be71250a452c93a
MD5 12eab83117b51f608e29cbd8dc3c2f04
BLAKE2b-256 d5f91ee5d066796e5b7c0923b906d9614873f73a9b79b003bbfa8086b141530e

See more details on using hashes here.

File details

Details for the file gpxplotter-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gpxplotter-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0b3

File hashes

Hashes for gpxplotter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e158874d5d5ed455e659418f1291adcaf04ec6a2dda184066cf3da1655311368
MD5 07ad322d144d72ee3813e4e35755ebd8
BLAKE2b-256 f9785b79a9eb5b341c3328756b1de1ecb62b163f628ba4812c17d623f17aa31d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.4

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page