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")
📚 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.8.tar.gz
(44.2 kB
view details)
Built Distribution
ezgpx-0.1.8-py3-none-any.whl
(56.4 kB
view details)
File details
Details for the file ezgpx-0.1.8.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.8.tar.gz
- Upload date:
- Size: 44.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb63c83e07af1a047350c4fe230ed96817874a414f03fe4134e7cc9c54464579 |
|
MD5 | 64e44f1883102cb551f396501ff59aeb |
|
BLAKE2b-256 | 127c855cc500e0304c3d78220e0e5dd9ffd3373f2fd6ea57f722d02711e734a3 |
File details
Details for the file ezgpx-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.8-py3-none-any.whl
- Upload date:
- Size: 56.4 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 | 8e015c5a2c37fcb89208e0c15b765c50c518c412c93c213321625d34ecd909f0 |
|
MD5 | 46ad272716fdbaa3f481d7d37ce3edfe |
|
BLAKE2b-256 | c803ccec3a3c29d7fefc1a0c0714fc163fe9b86fab176401cdc69c3ed39614cb |