Skip to main content

A package for reading gpx files and creating simple plots

Project description

gpxplotter

Documentation Status Binder

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


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

Uploaded Source

Built Distribution

gpxplotter-0.2.9-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpxplotter-0.2.9.tar.gz
  • Upload date:
  • Size: 26.3 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.5

File hashes

Hashes for gpxplotter-0.2.9.tar.gz
Algorithm Hash digest
SHA256 1967d922a83a004db1fe7dcb67a94daee594c1fd4e0d1ece444695b4db0a0912
MD5 2e0ee4f08b61375fba8b87f072a7ab7e
BLAKE2b-256 f2bdffd3bba833518202044be9eccc8b67f93226ec299dfe1bcad66ab69d42ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpxplotter-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 35.3 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.5

File hashes

Hashes for gpxplotter-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c501e207e7c8f9fb03c1aa3006afde41ce7838f36950f2e05bf3b8cf1521b341
MD5 e49c9ae35787577d0adb0b34ab89a11d
BLAKE2b-256 0179437ce45c6e2815f821527b34235203d8e5b5a6f06e9cd8cf1c72ca9e4778

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page