Easy to use Python GPX library
Project description
🗺️ ezGPX
🔎 Description
Easy to use Python GPX library.
🛠️ 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(title="Track", base_color="#FF0000",
start_stop=True, way_points=False, file_path="img_1")
# Plot with Matplotlib Basemap Toolkit
gpx.matplotlib_basemap_plot(title="Track", base_color="#00FF00",
start_stop=False, way_points=False, file_path="img_2")
# Plot with gmap (Google Maps)
gpx.gmap_plot(title="Track", base_color="#0000FF", start_stop=True,
way_points=True, file_path="map_1.html", open=True)
# Plot with Folium
gpx.folium_plot(title="Track", tiles="OpenStreetMap", base_color="#000000", start_stop=True,
way_points=True, minimap=True, coord_popup=True, file_path="map_2.html", open=True)
# 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.0.tar.gz
(15.5 kB
view details)
Built Distributions
ezgpx-0.1.0-py3-none-any.whl
(14.3 kB
view details)
ezGPX-0.1.0-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file ezGPX-0.1.0.tar.gz
.
File metadata
- Download URL: ezGPX-0.1.0.tar.gz
- Upload date:
- Size: 15.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 | 0d3899dff8311b689cb509f0dfe29a97fe64c32663fd22568c25e05af47f1da4 |
|
MD5 | 54097816d795b893243064016a34e3dd |
|
BLAKE2b-256 | 843e286cf12aeec8ef06b25392b0e98dd8c343ddbccd008ad8698ecf660ed0b2 |
File details
Details for the file ezgpx-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ezgpx-0.1.0-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 | f0fce3c0c072325fa9d1bcc97c3eef9af5c35e8cc89f86e81f07424850470db6 |
|
MD5 | e8e77aa22de2630ef6293c08b127c365 |
|
BLAKE2b-256 | 51ee8df638243b630920110980d58c01eb25d46921e0dea0ebda23552e4ae18d |
File details
Details for the file ezGPX-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ezGPX-0.1.0-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 | 34c9223e84628b534024410fc7cd3af3576a7f39e15f568cf2ae34df3199460c |
|
MD5 | c3b894a87b66d0e6049dd6d019b7ac1b |
|
BLAKE2b-256 | d121ca9373f5438b1d1b121608777497b0a579314ab7b6f78e11de23f37cc20f |