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.12.tar.gz
(72.4 kB
view details)
Built Distribution
ezgpx-0.1.12-py3-none-any.whl
(79.5 kB
view details)
File details
Details for the file ezgpx-0.1.12.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.12.tar.gz
- Upload date:
- Size: 72.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800959eab8b9bb08bec383941590ed157abbc45866afaa833fb6655c8e2a1cd3 |
|
MD5 | b72a386a2dbd39f1ff4d6273450598ad |
|
BLAKE2b-256 | cc9436be5507751314c44cc170f302c270d4c61c8cba2a9e94788409d330b87f |
File details
Details for the file ezgpx-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.12-py3-none-any.whl
- Upload date:
- Size: 79.5 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 | 713b2fbd5dd35bb59d40f3db6473cb0bed4a7a68e2b24e2abf03e3227d4ae36f |
|
MD5 | a9213640142ac6184af8067cf8d04d2f |
|
BLAKE2b-256 | 620de876120652387647b316b66b464dd52456142ff204141711aae1f6d391df |