aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index deaa9fb..8744938 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,12 @@ The Strava v3 API (OAuth2) is the platform's public access point; scopes gate ea
Standard apps are rate-limited to 100 calls per 15 minutes and 1,000 per day.
+## OSM
+
+Passes are French OSM PBF nodes with `mountain_pass=yes` (or legacy `natural=mountain_pass`), stored with name, elevation and coordinates.
+
+An OSM way is an ordered list of nodes; its `highway` tag describes the road type. For each pass we collect the ways containing its node ID and map `highway` road values (`primary`/`secondary`/…/`service`) → `road`, `track` → `track`, `path`/`footway` → `path` (plus `natural=rock`/`sport=climbing` → `hiking`, no way → `unknown`), coloured distinctly on the ride detail map.
+
## Architecture
- Go 1.27; SQLite via `mattn/go-sqlite3`
@@ -159,6 +165,9 @@ go tool pprof -http=:8081 http://localhost:8080/debug/pprof/heap # allocs
## TODO
+- Garmin GPX: elevation, time, temp, HR, cadence
+- Garmin TCX: stats (cal, HR, time, cadence) + pos, alt, distance, HR, cadence, speed
+- Garmin FIT: time, sport, lap/split, gps, sensor, events
- screaming archi + hexagon
- Compute estimated power, speed
- For a ride, scatter, one point per 100m segment. Slope vs speed
@@ -174,8 +183,6 @@ go tool pprof -http=:8081 http://localhost:8080/debug/pprof/heap # allocs
- Profile - Adaptative to show ramps
- Record ride times on official climbs
- Destination via Start
-- Mountain pass
- - issue: many passes are pedestrian (cf Marseille Calanques, http://localhost:8080/rides/397)
- Ride planning
- Road quality (Arbois = 2/5, Roquefavour = 4/5)
- Blog with pictures and markdown