aboutsummaryrefslogtreecommitdiff
path: root/mountain_pass/detection.go
Commit message (Collapse)AuthorAge
* Lint & fixMartin Kagamino Lehoux2026-08-27
|
* Make mountain pass and web consumers take ride components instead of a whole ↵Martin Kagamino Lehoux2026-08-25
| | | | | | | | | | Ride rideBounds, nearestCrossing and DetectCrossings now accept the coordinate, distance and elevation component slices they read. LoadMountainPassesAroundRide takes the coords slice only. Web ride view builders and the official climb creation path iterate ride components (Coords, Distances, Elevations) rather than per-index accessors on Ride.
* refactor(ride,mountain_pass): remove dead code identified by deadcode analyzerMartin Kagamino Lehoux2026-08-21
|
* Use OSM as the single source of mountain passesMartin Kagamino Lehoux2026-08-21
| | | | | | | Replace the centcols CSV download/enrichment pipeline with OSM PBF extraction as the primary (only) source: merge osmpass into mountain_pass, drop the centcols table and model fields, filter to named passes with elevation, and remove the centcols CLI flags.
* feat(web): display nearby passes on ride mapsMartin Kagamino Lehoux2026-08-17
|
* refactor: Store rides in columnsMartin Kagamino Lehoux2026-08-07
|
* feat: Detect mountain pass crossings, name climbs after passes, render ride ↵Martin Kagamino Lehoux2026-08-03
charts - osmpass: extract mountain_pass=yes nodes from an OSM PBF, enrich centcols passes with OSM coordinates, resumable -fetch-osm download - mountain_pass: DetectCrossings for a ride, MatchClimb to name a climb after the pass it tops - ride: expose Points(), add Climb.Top() and Climb.Name - chart: -chart renders elevation profile with climb bands and pass markers - commands: -fetch-osm, -extract-osm, -import-cached, -enrich