Metadata-Version: 2.5
Name: gpx-openmap
Version: 0.1.5
Summary: Analyse and display your gps tracks on a map.
Project-URL: Homepage, https://github.com/0x9900/gpxmap
Project-URL: Repository, https://github.com/0x9900/gpxmap
Author-email: "Fred C." <github-fred@hidzz.com>
License: BSD 3-Clause License
        
        Copyright (c) 2025-2026, Fred C - W6BSD
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
           list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
           this list of conditions and the following disclaimer in the documentation
           and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Keywords: antenna,ham radio,wspr
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: folium
Requires-Dist: gpxpy
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: pyproj
Requires-Dist: simplekml
Requires-Dist: tzlocal
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: geo-ham; extra == 'dev'
Requires-Dist: isort; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pylint; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown


# GPX to OpenMap

**GPX Map** is a Python command-line tool that turns a GPX track into an interactive HTML map with statistics and graphs.

It can also generate a KML file for use with applications such as Google Earth.

![GPX Map example](docs/example.png)

## Features

* Interactive map of the GPX track
* Track statistics and graphs
* WayPoints and markers
* Trim unwanted points from a track
* Support for trek, sailing and flying tracks
* Optional KML export
* Generated HTML can be opened directly in a browser

## Installation

```bash
pip install gpx-openmap
```

Or install the latest development version:

```bash
git clone https://github.com/0x9900/gpxmap.git
cd gpxmap
pip install .
```

## Usage

```bash
$> gpxmap --output /tmp/track.html track.gpx
2026-09-24 15:21:05 INFO 660:  Trace type: trek
2026-09-24 15:21:07 INFO 220:  Total number of points: 5208
2026-09-24 15:21:07 INFO 227:  Displayed points: 5204
2026-09-24 15:21:07 INFO 292:  Save /tmp/track.png
2026-09-24 15:21:08 INFO 707:  Writing: /tmp/track.html
```

This generates an HTML file containing the map and track information.

To also generate a KML file:

```bash
$> gpxmap --output /tmp/track.html track.gpx --kml
2026-09-24 15:22:23 INFO 660:  Trace type: trek
2026-09-24 15:22:24 INFO 220:  Total number of points: 5208
2026-09-24 15:22:24 INFO 227:  Displayed points: 5204
2026-09-24 15:22:25 INFO 292:  Save /tmp/track.png
2026-09-24 15:22:25 INFO 707:  Writing: /tmp/track.html
2026-09-24 15:22:25 INFO 173:  Number of segments: 1278
2026-09-24 15:22:26 INFO 264:  File /tmp/track.kmz saved
```

See `gpxmap --help` for all available options.

## Examples

Generated examples are available at:

**https://gpx.bsdworld.org/**

## License

GPX Map is released under the [BSD 3-Clause License](LICENSE).
