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

+8
View File
@@ -145,6 +145,14 @@ serving swaps the tiles in, and a truck route with dimensions comes back.
(3.0 m, 2.3 m, 7 m, 3.5 t; an older single `vehicle.json` becomes the
camper). The route panel picks one per browser (localStorage) and sends
its id with `/api/route` and `/api/isochrone`; Edit shows the fields.
* A profile's `type` is `car` (also when missing), `bicycle` or `foot`.
Bicycle uses Valhalla's `bicycle` costing (`bicycle_type`
Road/Hybrid/Cross/Mountain, `speed` as `cycling_speed`, `hills` as
`use_hills`); foot uses `pedestrian` (`speed` as `walking_speed`, `sac`
as `max_hiking_difficulty`, the hardest SAC grade, `hills`). The same
tiles serve both, no rebuild. Defaults: Bicycle, Mountain bike, Run
(10 km/h, T2), Hike (4.5 km/h, T3); a list saved before types existed
gets them once. Avoid and the per-country summary are car-only.
* Avoid tolls / motorways (`"avoid": {"tolls": true, "highways": true}`)
sets Valhalla's `use_tolls` / `use_highways` to 0 for the whole route.
Per country isn't possible in one Valhalla request.