Bicycle and foot route profiles (Valhalla bicycle/pedestrian costing); hiking trail colours in the elevation profile; power, splits and best efforts in the profile; TCX import; FIT course export
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-16 12:18:06 +01:00
1 parent 4c704045c5
commit f8755ea65a
21 files changed
+634 -40

No files matched your search

+15 -2
View File
@@ -208,7 +208,7 @@ phone can't skip a change.
in `properties` — what the map draws.
| `POST /api/library/import`
| Multipart upload (GPX/FIT/GeoJSON/ZIP) into a folder: stores the
| Multipart upload (GPX/FIT/TCX/GeoJSON/ZIP) into a folder: stores the
source, extracts items, skips items whose `fingerprint` already exists
in that folder (re-sharing the same track from OsmAnd doesn't
duplicate it).
@@ -235,7 +235,20 @@ phone can't skip a change.
`osmand:icon` → `color`/`icon` (already parsed by `Gpx.waypoint_style`).
* Folder: the one picked in the import dialog; a GPX's own waypoint
groups (OsmAnd's per-folder favorites export) become subfolders.
* FIT → one track. GeoJSON → items by geometry type.
* FIT → one track; TCX → one track per `<Activity>` (`Tcx`).
GeoJSON → items by geometry type.
* Heart rate, cadence, speed and power (FIT field 7, GPX `power` /
`PowerInWatts`, TCX `Watts`) go into the profile; the profile panel
computes splits and best efforts (fastest distances, best power over
5 s–60 min, biggest climb) from it in the browser.
=== FIT course out
`GET /api/library/node/:key?download=fit` writes the node's first line
as a FIT course (`FitCourse`) for Garmin/Wahoo devices: one record per
point with distance and a timestamp spread over the line's duration (a
4 m/s guess without one); the sport comes from the route's bicycle/foot
profile or the track's activity type.
=== Locus