Easy to use Python GPX library
Project description
🗺️ ezGPX
🔎 Description
Easy to use Python GPX library.
- PyPi: https://pypi.org/project/ezgpx/
- Documentation: https://ezgpx.readthedocs.io/en/latest/
- Source code: https://github.com/FABallemand/ezGPX
- Bug reports: https://github.com/FABallemand/ezGPX/issues
🛠️ 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(elevation_color=True,
start_stop_colors=("green", "red"),
way_points_color="blue",
title=gpx.name(),
duration=(0, 0),
distance=(0.5, 0),
ascent=None,
pace=(1, 0),
speed=None,
file_path="img_1")
# 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
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
ezgpx-0.1.4.tar.gz
(36.6 kB
view details)
Built Distribution
ezgpx-0.1.4-py3-none-any.whl
(43.3 kB
view details)
File details
Details for the file ezgpx-0.1.4.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.4.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ebc73bd91f17427b3678dbc5de9dc3833a363af885268e5650cc62cc961863 |
|
MD5 | 817fc4431c10cc80ea068cb21ae2f508 |
|
BLAKE2b-256 | 0f7e9f8ac6d5dc32233ce46ecc8e7b7039085a849177061f842746e286d68fbd |
File details
Details for the file ezgpx-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.4-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f21c42481b58a6ac6d671b83175f5f9e9b51774a8cfbf8e2dc8ad1a96e02f8b |
|
MD5 | e7c6499ff433e7fb0b53e9e213ddf0a2 |
|
BLAKE2b-256 | 68dfc6324dc328a0d2ebcd987470fe488e5fa6385bc1f9434a38ab25a60bb19d |