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.7.tar.gz
(41.1 kB
view details)
Built Distribution
ezgpx-0.1.7-py3-none-any.whl
(47.6 kB
view details)
File details
Details for the file ezgpx-0.1.7.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.7.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4bf8eb49eff8d38536c1fe7e13cf1bbdd4ed7272b58466afb65944cafe9ba1f |
|
MD5 | 20e7abead830cfff4306b3499a2af0df |
|
BLAKE2b-256 | 3da157524c50fb2a385e8bbf885648f3fd63cbcc6afc785aae97136829c98742 |
File details
Details for the file ezgpx-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.7-py3-none-any.whl
- Upload date:
- Size: 47.6 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 | b7255e1810e97c35f75cdf1e90c415f0fa5df1c729f066791fdaf68dfe2491e6 |
|
MD5 | 46f490775815af3c378e5236d01e18b1 |
|
BLAKE2b-256 | a006109bcb94d53c86ccd1c60fc408a8d26463aa8f254c6ede7a2ea7e4adad2e |