Skip to content

jsmattsonjr/btroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

btroute

A CLI tool to export Biketerra routes as GPX files.

Installation

Requires Python 3.10+.

pip install gpxpy requests

Usage

python btroute.py <route_id> [-o output.gpx]

Arguments

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

Examples

Export route 8771 to the default filename:

python btroute.py 8771
# Creates 8771.gpx

Export with a custom filename:

python btroute.py 8771 -o my-route.gpx

Output

The generated GPX file includes:

  • Track points with latitude, longitude, and elevation
  • Route name and description
  • Location, distance, and elevation gain metadata

About

Create a GPX file for a Biketerra route

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages