Skip to content

fredj/hiking-pace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiking-pace

Visualise your actual hiking pace vs slope from GPX tracks, compared to the theoretical Tobler hiking function.

Live demo →

What it does

Drop one or more .gpx files onto the chart. For each track the app:

  • Segments the route into chunks of at least 25 m
  • Plots your actual pace (min/km) against slope (%) for each segment
  • Fits a polynomial regression curve to your data
  • Shows the theoretical Tobler curve in grey for reference

Useful for understanding your personal pace model or comparing multiple hikes.

hiking-pace screenshot

Usage

  1. Open the live demo
  2. Drop one or more .gpx files onto the chart area
  3. Hover a track name to highlight its data points
  4. Click Save as PNG to export the chart

Run locally

npm install
npm start

Then open http://localhost:5173.

Stack

JavaScript · D3.js · lit-html · Turf.js · Vite

About

Plot your personal pace model from GPX hikes and compare it to the Swiss hiking formula

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors