Skip to main content

Easy to use Python GPX library

Project description

🗺️ ezGPX

🔎 Description

Easy to use Python GPX library.

🛠️ Installation

pip install ezgpx

🏁 Get started

import ezgpx

# Parse GPX file
gpx = ezgpx.GPX("file.gpx")

# Simplify (using Ramer-Dougle-Peucker algorithm)
gpx.simplify()

# Plot with Matplotlib
gpx.matplotlib_plot(title="Track", base_color="#FF0000",
                    start_stop=True, way_points=False, file_path="img_1")

# Plot with Matplotlib Basemap Toolkit
gpx.matplotlib_basemap_plot(title="Track", base_color="#00FF00",
                            start_stop=False, way_points=False, file_path="img_2")

# Plot with gmap (Google Maps)
gpx.gmap_plot(title="Track", base_color="#0000FF", start_stop=True,
              way_points=True, file_path="map_1.html", open=True)

# Plot with Folium
gpx.folium_plot(title="Track", tiles="OpenStreetMap", base_color="#000000", start_stop=True,
                way_points=True, minimap=True, coord_popup=True, file_path="map_2.html", open=True)

# Remove metadata
gpx.remove_metadata()

# Write new simplified GPX file
gpx.to_gpx("new_file.gpx")

📚 References:

🧭 Other Python GPX Library

👤 Author

  • Fabien ALLEMAND

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

ezgpx-0.1.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

ezgpx-0.1.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ezgpx-0.1.1.tar.gz.

File metadata

  • Download URL: ezgpx-0.1.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for ezgpx-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bbb4769bc180d8a3f587d1098d2e0e3ce3a39a7994ccc4e12065a68bb9dee7e8
MD5 4c843287c6d988b813f52a71831019f1
BLAKE2b-256 d15e284a4f91e14ea098d521ceba2802b5d991920d8d30df399ae645eb71678c

See more details on using hashes here.

File details

Details for the file ezgpx-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ezgpx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for ezgpx-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f2e8a662bf449343b5dc5819916c366d34f5b1aa44da80978e3147e255f24cc
MD5 2f715f05c0dc085798b9d5352b2faeec
BLAKE2b-256 dc0abfd11ede55865343c24832262dfd70d17fdf2285dbd53c316955fbba0997

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