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.10.tar.gz
(69.6 kB
view details)
Built Distribution
ezgpx-0.1.10-py3-none-any.whl
(78.9 kB
view details)
File details
Details for the file ezgpx-0.1.10.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.10.tar.gz
- Upload date:
- Size: 69.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 | 5e5725954d83b016d61cf8d0759a3e0881a8cc49ce5bf82862911a77807fdf7e |
|
MD5 | 293c9563951ea31f21eba9bc2021148f |
|
BLAKE2b-256 | 8674f86ec1e641c39acd7a707d2e59811164d0ea77d457e1b3bcf1a8e2d4f634 |
File details
Details for the file ezgpx-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.10-py3-none-any.whl
- Upload date:
- Size: 78.9 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 | 1b9aaabca7ce81b9137c61887ec9ba9f8fb518a5102a298a565c2c6e868ec393 |
|
MD5 | 7fb62c6ea3edc8fa078a0b6047f341c7 |
|
BLAKE2b-256 | 2429bccd3f2e8b25da9a909c2cc1fd00dcab60eb95e34f790cf7112b5cfdbc75 |