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.3.tar.gz
(36.5 kB
view details)
Built Distribution
ezgpx-0.1.3-py3-none-any.whl
(43.2 kB
view details)
File details
Details for the file ezgpx-0.1.3.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.3.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caac75b4a80733d2c2584a7cad98efab9c2c0434f65d831c670f2e7fcc6ebebd |
|
MD5 | d7e9ed95d9321786d0a3e45c4eacde57 |
|
BLAKE2b-256 | 6a5620d25a742d5f919092d172da814c271e3d3bcbe77cfc995794008493f319 |
File details
Details for the file ezgpx-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.3-py3-none-any.whl
- Upload date:
- Size: 43.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 | 69795542300f406afc60279b80f5727505781af49eb2bd2217d245f202add9cc |
|
MD5 | 049b6c274f1e19e87517aa3c7b827159 |
|
BLAKE2b-256 | 3577639d95c62e469db7c8befeb2c7927d6c9a80a1b60c50d95ad66fd826edfe |