GPX Collection Viewer
A Python tool that generates beautiful static HTML pages with interactive Leaflet maps to visualize collections of GPX files. Perfect for organizing and sharing GPS tracks from hiking, cycling, running, or any GPS-recorded activities.
Features
- Interactive Maps: View GPX tracks and waypoints on beautiful interactive maps powered by Leaflet
- Collection Organization: Organize GPX files into collections using folder structure
- Multiple Map Layers: Support for Mapbox outdoor and satellite map layers (optional)
- Responsive Design: Mobile-friendly interface with collapsible sidebars
- Markdown Content: Add descriptions and content to collections using markdown files
- File Downloads: Direct download links for original GPX files
- Track Highlighting: Click on filenames to zoom and highlight specific tracks
- Overview Map: Master overview page showing all collection locations
Quick Start
-
Install dependencies:
pip install jinja2 markdown
-
Organize your GPX files:
input/ \x00\x00 hiking-trails/ \x00\x00 trail1.gpx \x00\x00 trail2.gpx \x00\x00 index.md (optional description) \x00\x00 cycling-routes/ \x00\x00 route1.gpx \x00\x00 route2.gpx \x00\x00 running-tracks/ \x00\x00 morning-run.gpx -
Generate the static site:
python run.py input/ output/
-
Open the result: Open
output/index.htmlin your web browser
Usage
Basic Usage
python run.py INPUT_DIR OUTPUT_DIR
With Mapbox Tokens (Recommended)
For enhanced map layers, obtain Mapbox access tokens and use:
python run.py input/ output/ --mapbox_outdoor_token YOUR_TOKEN --mapbox_satellite_token YOUR_TOKEN
Metadata
Release files for gpxcollection 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gpxcollection-0.1.0.tar.gz | 1.1 MB | Without provenance | Details for gpxcollection-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gpxcollection-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gpxcollection-0.1.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / gpxcollection-0.1.0.tar.gz
| Download URL | gpxcollection-0.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2184e17f893bc6c8d494ccd81520cd7ffbe7409928fbe35e49ccfa6d595c1340
|
|
BLAKE2b-256 checksum How to use checksums |
969eb2a5c22b19e1b861580615726d7a20697c6ce4004e4a4cdfb40d96d12c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|
Release files / gpxcollection-0.1.0-py3-none-any.whl
| Download URL | gpxcollection-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13f8f1bbccb778597c7a6bbd6c47d3c76a1c51b575d8c18a3d0364a071399bd7
|
|
BLAKE2b-256 checksum How to use checksums |
71b6942347f1cc7c8c5ed7f464a552c40b5c95be8dac8de75292b57bcdd2249e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|
Security for gpxcollection 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.