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.6.tar.gz
(39.7 kB
view details)
Built Distribution
ezgpx-0.1.6-py3-none-any.whl
(46.2 kB
view details)
File details
Details for the file ezgpx-0.1.6.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.6.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb7be983754336c557179cceff6e69edd97bbdbe548a710370d80b10765a0b9 |
|
MD5 | 8bbe4848e8d75840e3a5fd9e748cfc03 |
|
BLAKE2b-256 | a6e25aa3166ded42a5bb7bc878be7858aac0cda09d868b5bdfeb7ad9ea7f0de7 |
File details
Details for the file ezgpx-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.6-py3-none-any.whl
- Upload date:
- Size: 46.2 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 | a358b9969f7b4bb339222ca951b2c82c0866255839af01e440f88823cbc3d89f |
|
MD5 | 103a53089b6c7dabc845bb71eae4abd6 |
|
BLAKE2b-256 | d372544ea4ea8037fde4ae142f9d2e197e7d242d864971d7df91e9eec1064abe |