Skip to content

Download Komoot tracks and highlights as GPX files (including metadata). Supports bulk-download

License

Notifications You must be signed in to change notification settings

bjrnwnklr/KomootGPX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KomootGPX

This is a fork of KomootGPX by ThePBone.

Differences to the main repo:

  • refactored into a Python package so it can be installed and the very useful functions can be used in other projects, without use of the command line utility.

Original README

Download Komoot tracks and highlights as GPX files with metadata

Python 3 or later is required.

Preparation

Install dependencies

pip install -r requirements.txt

Usage

Run script in interactive mode

python komoot-gpx.py
Enter your mail address (komoot.de)
>[email protected]

Enter your password (input hidden)
Password:

Logging in...
Logged in as 'thepbone'

3331210XX => Example trip A (hike; 20.766km; tour_recorded)
3331214XX => Example trip B (hike; 13.863km; tour_planned)

Enter a tour id to download
>3331210XX

Fetching tours of user '153434028XXX'...
Fetching tour '3331210XX'...
Fetching highlight '2635XX'...
Fetching highlight '15840XX'...
Fetching highlight '20981XX'...
Fetching highlight '875XX'...
GPX file written to 'D:\Development\KomootGPX\Example trip A-3331210XX.gpx'

Display advanced usage information

python komoot-gpx.py --help
komoot-gpx.py [options]
[Authentication]
        -m, --mail=mail_address            Login using specified email address
        -p, --pass=password                Use provided password and skip interactive prompt
[Tours]
        -l, --list-tours                   List all tours of the logged in user
        -d, --make-gpx=tour_id             Download tour as GPX
        -a, --make-all                     Download all tours
[Filters]
        -f, --filter=type                  Filter by track type (either "planned" or "recorded")
[Generator]
        -o, --output                       Output directory (default: working directory)
        -e, --no-poi                       Do not include highlights as POIs

About

Download Komoot tracks and highlights as GPX files (including metadata). Supports bulk-download

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%