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.11.tar.gz
(51.8 kB
view details)
Built Distribution
ezgpx-0.1.11-py3-none-any.whl
(57.3 kB
view details)
File details
Details for the file ezgpx-0.1.11.tar.gz
.
File metadata
- Download URL: ezgpx-0.1.11.tar.gz
- Upload date:
- Size: 51.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c96dbcf267609378de2d7bd0e4b83cdd40d886bbb9912f5485d49c841bfe59 |
|
MD5 | c9ada4040ac36fb7f322c89b309c1a4a |
|
BLAKE2b-256 | 73224cb3e59e2c7f7ae26ba73668ebb5d7fc57bd286d5ce0b008a3d97287b051 |
File details
Details for the file ezgpx-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.11-py3-none-any.whl
- Upload date:
- Size: 57.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 | 1fc9019df9425558483514814ef8c014ba6a5172321ed43cf925e96871babf2c |
|
MD5 | 4260cdd445733e42f313a69673fec782 |
|
BLAKE2b-256 | 69fe19dc32b0595d4e7fc56360d3a8ad57c6ff27c72150aa37146dd496ec9f80 |