feat(tours): plan ski tours on the piste router in the planner

A ski tour with a discipline now sends its legs to the piste router and
takes back runs, lifts and trails: each stretch is coloured by its grade
in the area's scheme, links and lift rides down are dotted, and a leg the
router cannot plan stays straight and unrouted with its reason and the one
change that would plan it. Snowshoe and winter hike legs off the piste
data follow summer paths instead, said so. The router's time and heights
are used once every leg is planned, and the options, the build and the
time are saved with the tour.

- skiRouteRepo and api: one request per tour, batched, remembered unless
  the answer may change, offline legs failed as offline
- planner: router options per discipline, leg steps and failure rows with
  fixes, a piste route summary, draft and reopen keep the options
- admin: switch for the piste router under Tours
- i18n: new ski keys in all 27 locales, ski info and time texts rewritten
This commit is contained in:
Maurice
2026-10-20 20:32:01 +02:00
parent a85a50e186
commit 2d0c0597b3
91 changed files with 4183 additions and 257 deletions
+3
View File
@@ -667,6 +667,9 @@ const admin: TranslationStrings = {
'admin.toursCycleMap.title': 'Cyklomapa (CyclOSM)',
'admin.toursCycleMap.subtitle':
'Nabízí CyclOSM jako podkladovou mapu pro cyklotúry v plánovači. OpenStreetMap France ji poskytuje pro přiměřené používání; silně využívaná nebo komerční instalace ji vypne, nebo se nejprve dohodne s provozovatelem',
'admin.toursSkiRouting.title': 'Router sjezdovek',
'admin.toursSkiRouting.subtitle':
'Plánuje lyžařské túry po sjezdovkách, lanovkách a stopách na datech sjezdovek serveru Places. Vypnutý kreslí úseky lyžařské túry rovně',
'admin.addons.noAddons': 'Žádné doplňky nejsou k dispozici',
'admin.addons.catalog.mcp.name': 'MCP',
'admin.addons.catalog.mcp.description': 'Model Context Protocol pro integraci AI asistentů',