# gpxplotter
[![Documentation Status](https://readthedocs.org/projects/gpxplotter/badge/?version=latest)](https://gpxplotter.readthedocs.io/en/latest/?badge=latest)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F)
**gpxplotter** is a Python package for reading
[gpx](https://en.wikipedia.org/wiki/GPS_Exchange_Format)
files and creating simple predefined plots using
[matplotlib](http://matplotlib.org/)
and maps using
[folium](https://python-visualization.github.io/folium/).
Please see
[https://gpxplotter.readthedocs.io/en/latest/](https://gpxplotter.readthedocs.io/en/latest/)
for the latest documentation and the
[Binder notebooks](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F) for examples.
## Installation
```
pip install gpxplotter
```
## Examples
Interactive examples can be explored
via [Binder](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F).
#### Simple example for showing a track in a map, colored by heart rate
```python
from gpxplotter import read_gpx_file, create_folium_map, add_segment_to_map
the_map = create_folium_map()
for track in read_gpx_file('ruten.gpx'):
for i, segment in enumerate(track['segments']):
add_segment_to_map(the_map, segment, color_by='hr')
# To display the map in a Jupyter notebook:
the_map
```
### Further examples
Please see the [gallery in the documentation](https://gpxplotter.readthedocs.io/en/latest/auto_examples/index.html)
for further examples.
Raw data
{
"_id": null,
"home_page": "https://github.com/andersle/gpxplotter",
"name": "gpxplotter",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "gpx gps",
"author": "Anders Lervik",
"author_email": "andersle@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/8a/77/4af2d5b61775b0bcc88204a3350ad68e0ec820898f690eae4d13bc111e2b/gpxplotter-0.2.12.tar.gz",
"platform": null,
"description": "# gpxplotter\n\n[![Documentation Status](https://readthedocs.org/projects/gpxplotter/badge/?version=latest)](https://gpxplotter.readthedocs.io/en/latest/?badge=latest)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F)\n\n**gpxplotter** is a Python package for reading \n[gpx](https://en.wikipedia.org/wiki/GPS_Exchange_Format)\nfiles and creating simple predefined plots using\n[matplotlib](http://matplotlib.org/) \nand maps using\n[folium](https://python-visualization.github.io/folium/).\n\nPlease see\n[https://gpxplotter.readthedocs.io/en/latest/](https://gpxplotter.readthedocs.io/en/latest/)\nfor the latest documentation and the \n[Binder notebooks](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F) for examples.\n\n## Installation\n\n```\npip install gpxplotter\n```\n\n## Examples\n\nInteractive examples can be explored\nvia [Binder](https://mybinder.org/v2/gh/andersle/gpxplotter/main?filepath=examples%2Fjupyter%2F).\n\n\n#### Simple example for showing a track in a map, colored by heart rate\n\n```python\n\nfrom gpxplotter import read_gpx_file, create_folium_map, add_segment_to_map\n\nthe_map = create_folium_map()\nfor track in read_gpx_file('ruten.gpx'):\n for i, segment in enumerate(track['segments']):\n add_segment_to_map(the_map, segment, color_by='hr')\n\n# To display the map in a Jupyter notebook:\nthe_map\n```\n\n### Further examples\n\nPlease see the [gallery in the documentation](https://gpxplotter.readthedocs.io/en/latest/auto_examples/index.html)\nfor further examples. \n",
"bugtrack_url": null,
"license": "LGPLv2.1+",
"summary": "A package for reading gpx files and creating simple plots",
"version": "0.2.12",
"project_urls": {
"Homepage": "https://github.com/andersle/gpxplotter"
},
"split_keywords": [
"gpx",
"gps"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72bae0ac285a8762763c6cecc95f430877742ed0489ea3e6306a7362ebe13b66",
"md5": "784711dfff56e34a68797b68f87fd570",
"sha256": "1fd4b2370abd689275c38d1f32c16b1f66113156caffa89116ff5ea48223c3bb"
},
"downloads": -1,
"filename": "gpxplotter-0.2.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "784711dfff56e34a68797b68f87fd570",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 35702,
"upload_time": "2024-06-11T06:52:34",
"upload_time_iso_8601": "2024-06-11T06:52:34.729076Z",
"url": "https://files.pythonhosted.org/packages/72/ba/e0ac285a8762763c6cecc95f430877742ed0489ea3e6306a7362ebe13b66/gpxplotter-0.2.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8a774af2d5b61775b0bcc88204a3350ad68e0ec820898f690eae4d13bc111e2b",
"md5": "db3d9a5787b854ef05d3fc10e6f408b1",
"sha256": "920d81ad9ae358173a9c1013d9ce2b7db21e157893260127acfcac2af4ed4949"
},
"downloads": -1,
"filename": "gpxplotter-0.2.12.tar.gz",
"has_sig": false,
"md5_digest": "db3d9a5787b854ef05d3fc10e6f408b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25833,
"upload_time": "2024-06-11T06:52:35",
"upload_time_iso_8601": "2024-06-11T06:52:35.910843Z",
"url": "https://files.pythonhosted.org/packages/8a/77/4af2d5b61775b0bcc88204a3350ad68e0ec820898f690eae4d13bc111e2b/gpxplotter-0.2.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-11 06:52:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "andersle",
"github_project": "gpxplotter",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "gpxplotter"
}