mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 15:51:00 +00:00
feat(client): route every day through Valhalla where the TREK services or an own Valhalla answer
With the TREK services or an own Valhalla, the day plan, the road trip and the other ways of a leg are routed by Valhalla on foot, by bike and by car, twenty locations a request. A day it cannot answer (relay refusal, time out, no way for a leg) goes to OSRM whole and without a word; it is never handed to FOSSGIS unless it avoids something only Valhalla can avoid. With FOSSGIS nothing changes: OSRM routes the days and Valhalla the avoidances. A Valhalla answer is cached under its own key beside the OSRM one, so switching engines never serves a day from the other engine. The Valhalla day routing moves out of RouteCalculator into valhallaDayRoute.ts.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
"src/components/Map/MapView.tsx": 1385,
|
||||
"src/components/Map/MapViewGL.test.tsx": 2919,
|
||||
"src/components/Map/MapViewGL.tsx": 2218,
|
||||
"src/components/Map/RouteCalculator.ts": 1063,
|
||||
"src/components/PDF/TripPDF.tsx": 1082,
|
||||
"src/components/Planner/DayDetailPanel.test.tsx": 2333,
|
||||
"src/components/Planner/DayPlanSidebar.test.tsx": 5349,
|
||||
|
||||
Reference in New Issue
Block a user