Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-18 12:39:04 +01:00
1 parent 6aa7b34f92
commit 4265421457
10 files changed
+354 -20

No files matched your search

+15
View File
@@ -247,6 +247,21 @@ phone can't skip a change.
car 10) and laps; the segments are shaded in the charts, listed in the
table and marked as numbered posts on the map.
=== Points in a track or route
A track/route is a container for points (`parent_id`), like a GPX's own
waypoints: shown, moved, deleted and exported with it. `POST
/api/library/node/:key/points` adds one (the popup's "Add to …" copies a
point into any shown track/route); the tree lists them under the
track, collapsed. In a FIT course they become course points, placed at
the nearest point of the line, the type (water, food, summit, danger,
first aid, valley) guessed from the name/category/icon.
Points get in three ways: "Add to …" in a point's popup (a copy), a new
note saved "Into a track / route", and the route planner's 📍 points
(on by default for named places): saving the route syncs those as
points marked `from_route`, leaving hand-added ones alone.
=== FIT course out
`GET /api/library/node/:key?download=fit` writes the node's first line