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(color="elevation",
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")
👤 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.9.tar.gz
(49.9 kB
view details)
Built Distribution
ezgpx-0.1.9-py3-none-any.whl
(68.8 kB
view details)
File details
Details for the file ezgpx-0.1.9.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.9.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbdd0452e53df6091c1297145a492c0ef3443f175ec60c41033acc815e79582f |
|
MD5 | 55088136f81808e71d064ff1b4c4c26f |
|
BLAKE2b-256 | 2ee44eb2e7fd3eff1dfb6c9405ae0dfea9c8a9116b10dcb91db5813534132b3e |
File details
Details for the file ezgpx-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.9-py3-none-any.whl
- Upload date:
- Size: 68.8 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 | c73ba959893a87c080f7d62276a3c73abe6393f1e1cbe90f439176a89eb0cb6f |
|
MD5 | dbff9f62f1a8ee8ef0e458396a297cd6 |
|
BLAKE2b-256 | 420b4b87823dbb00722adafd0364f9681fd7cc02d7daf7385e8b9c5b2e85941b |