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.
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
pip install gpx-openmap
Or install the latest development version:
git clone https://github.com/0x9900/gpxmap.git
cd gpxmap
pip install .
Usage
$> 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:
$> 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:
License
GPX Map is released under the BSD 3-Clause License.
Release files for gpx-openmap 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpx_openmap-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gpx_openmap-0.1.6-py3-none-any.whl
| Download URL | gpx_openmap-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
004fb89c414f18f6234da2dd773a65fc5aeb3f1f384ead16a734e18da8ed2c04
|
|
BLAKE2b-256 checksum How to use checksums |
ddceb2f6e7f4447b680052b9e534652663b9d694bb829b17a372f427e48cf277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|