feat(tours): route paddle tours on the water, shaping points and auto-loaded regions

Paddle tours are planned on the water by TREK's own router: a water network
per paddle region, built from the same Geofabrik extract as the obstacles and
searched in a worker thread of the server (no sidecar). Rivers, canals and
lakes (direct or along the shore), portages round weirs, locks by policy,
whitewater by boat, gaps marked. Found portages and locks become points of
their own; an unplannable leg says why and offers a way out.

- Shaping points: a click on the line sets a point that steers the route
  without being a stop (hikes and paddle tours); recompute a single leg.
- Lake style direct/shore, suggested from the wind forecast.
- Regions load by themselves where a paddler plans (admin setting: automatic,
  on request, off; size cap and a daily count), with requests for the admins,
  a notification, and the load followed on the leg.
- Portage from the last point, portages follow footways via the walking
  router (or stay straight), "put in here" on slipways and put-ins.
- MCP plan_paddle_route with the REST route's rules.
This commit is contained in:
Maurice
2026-10-18 01:13:24 +02:00
parent b76a298bb3
commit 1bc82f97fd
321 changed files with 14675 additions and 471 deletions
+38
View File
@@ -894,5 +894,43 @@ const admin: TranslationStrings = {
'Dati © contributori di OpenStreetMap (ODbL), estratti regionali di Geofabrik. Riletti il 3 di ogni mese.',
'admin.paddleRegions.toast.added': 'Regione aggiunta. TREK la legge in background.',
'admin.paddleRegions.toast.removed': 'Regione rimossa',
'admin.paddleRegions.phase.build': 'Costruzione della rete delle acque',
'admin.paddleRegions.network.km': '{km} km di acque',
'admin.paddleRegions.network.lakes': '{count} laghi',
'admin.paddleRegions.network.lakes.one': '{count} lago',
'admin.paddleRegions.network.portages': '{count} trasbordi mappati',
'admin.paddleRegions.network.portages.one': '{count} trasbordo mappato',
'admin.paddleRegions.network.inferred': '{count} trasbordi presunti',
'admin.paddleRegions.network.inferred.one': '{count} trasbordo presunto',
'admin.paddleRegions.network.locks': '{count} chiuse',
'admin.paddleRegions.network.locks.one': '{count} chiusa',
'admin.paddleRegions.network.gaps': '{count} lacune colmate',
'admin.paddleRegions.network.gaps.one': '{count} lacuna colmata',
'admin.paddleRegions.network.missing': 'Nessuna rete delle acque',
'admin.paddleRegions.network.missingHint':
'Rileggi la regione per costruire la rete che segue il percorso in pagaia.',
'admin.paddleRegions.auto.title': 'Carica le regioni automaticamente',
'admin.paddleRegions.auto.mode.auto': 'Automatico',
'admin.paddleRegions.auto.mode.ask': 'Su richiesta',
'admin.paddleRegions.auto.mode.off': 'Spento',
'admin.paddleRegions.auto.modeHint.auto':
"Quando qualcuno pianifica un giro in canoa dove non ci sono ancora dati sull'acqua, TREK carica subito la regione più piccola adatta, fino al limite di dimensione e solo poche al giorno. Quelle più grandi aspettano qui come richiesta. A Geofabrik arriva solo il nome della regione, mai il luogo.",
'admin.paddleRegions.auto.modeHint.ask':
'Ogni nuova regione aspetta qui finché un amministratore non la approva. Se pianifica un amministratore, si carica subito.',
'admin.paddleRegions.auto.modeHint.off':
'TREK non carica nulla da solo e non chiede nulla. Aggiungi le regioni qui a mano.',
'admin.paddleRegions.auto.maxSize': 'Regione più grande caricata automaticamente',
'admin.paddleRegions.auto.maxSizeHint':
'Le regioni più grandi aspettano qui come richiesta. Leggere una regione richiede qualche minuto e occupa memoria nel frattempo.',
'admin.paddleRegions.requests.title': 'Richieste',
'admin.paddleRegions.requests.reason.ask': 'Su richiesta',
'admin.paddleRegions.requests.reason.too_large': 'Troppo grande',
'admin.paddleRegions.requests.reason.limit': 'Limite giornaliero',
'admin.paddleRegions.requests.declined': 'Rifiutata',
'admin.paddleRegions.requests.by': 'da {user}',
'admin.paddleRegions.requests.approve': 'Carica',
'admin.paddleRegions.requests.decline': 'Rifiuta',
'admin.paddleRegions.origin.auto': 'Automatico',
'admin.paddleRegions.origin.autoHint': 'TREK ha caricato questa regione da solo per un giro in canoa pianificato lì.',
};
export default admin;