A CLI tool to export Biketerra routes as GPX files.
Requires Python 3.10+.
pip install gpxpy requestspython btroute.py <route_id> [-o output.gpx]| Argument | Description |
|---|---|
route_id |
The Biketerra route ID (from the URL) |
-o, --out |
Output filename (default: <route_id>.gpx) |
-v, --version |
Show version and exit |
Export route 8771 to the default filename:
python btroute.py 8771
# Creates 8771.gpxExport with a custom filename:
python btroute.py 8771 -o my-route.gpxThe generated GPX file includes:
- Track points with latitude, longitude, and elevation
- Route name and description
- Location, distance, and elevation gain metadata