Skip to main content

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

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 gpxmap

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:

https://gpx.bsdworld.org/

License

GPX Map is released under the BSD 3-Clause License.

Release files for gpx-openmap 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gpx-openmap 0.1.1
File Interpreter ABI Platform
gpx_openmap-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / gpx_openmap-0.1.1-py3-none-any.whl

Download URL gpx_openmap-0.1.1-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8eadcaa12f8cd83be89ab85bb7140c5db0ef086749623a096829e3872f341a79
BLAKE2b-256 checksum
How to use checksums
75d45eba5c0d955893a18c6ead2ba05d1a0c4a49ba25ce2cb1b29da524dc660e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page