# 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": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "gpx gps",
"author": "Anders Lervik",
"author_email": "andersle@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/66/11/a6bb61730e25f20c2f5e562297630c1029ad7045a94313f890f8f77b9aa5/gpxplotter-0.2.11.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.11",
"project_urls": {
"Homepage": "https://github.com/andersle/gpxplotter"
},
"split_keywords": [
"gpx",
"gps"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1747f64449a1197210f6cef17251568cd2f82ea815b2948169d432eefa8f265b",
"md5": "f2157e05938d65435ac18e4037efd71a",
"sha256": "2f88f5a753084683f9a6041b3d90e6481e89d7ea9ede8f24e87ba811a3426070"
},
"downloads": -1,
"filename": "gpxplotter-0.2.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f2157e05938d65435ac18e4037efd71a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 35536,
"upload_time": "2023-09-18T07:51:52",
"upload_time_iso_8601": "2023-09-18T07:51:52.722448Z",
"url": "https://files.pythonhosted.org/packages/17/47/f64449a1197210f6cef17251568cd2f82ea815b2948169d432eefa8f265b/gpxplotter-0.2.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6611a6bb61730e25f20c2f5e562297630c1029ad7045a94313f890f8f77b9aa5",
"md5": "4058a6c922806be525b2c1918d54503e",
"sha256": "8a4b42cc5e8d874ce3f887f21511d838cb240f8826fc79f300c58633f53fa3ab"
},
"downloads": -1,
"filename": "gpxplotter-0.2.11.tar.gz",
"has_sig": false,
"md5_digest": "4058a6c922806be525b2c1918d54503e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25670,
"upload_time": "2023-09-18T07:51:54",
"upload_time_iso_8601": "2023-09-18T07:51:54.468119Z",
"url": "https://files.pythonhosted.org/packages/66/11/a6bb61730e25f20c2f5e562297630c1029ad7045a94313f890f8f77b9aa5/gpxplotter-0.2.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-18 07:51:54",
"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"
}