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(elevation_color=True,
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.2.tar.gz
(15.6 kB
view details)
Built Distribution
ezgpx-0.1.2-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file ezgpx-0.1.2.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.2.tar.gz
- Upload date:
- Size: 15.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 | 1e02a2079fc29024d6340e3c3542dad5b46bd483285ae093cc25a8d26f3789cf |
|
MD5 | 8ebff482b9e8eb64f920c02284fbc803 |
|
BLAKE2b-256 | 28c576087f40edb87ebfebafc699d17b52d237572fb65b5130c86f1e6ac2d912 |
File details
Details for the file ezgpx-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.3 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 | a53b2e6634a052e6887cd24f9d0ff2424dc7cad07cd0bf3a72aad53d96afd9bd |
|
MD5 | f2ca655a48cfce58900411900219ad86 |
|
BLAKE2b-256 | 251786def586f824dd550250d8401207122b8bf9b7c6b7bc894856c18a4296a1 |