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
+32
View File
@@ -877,5 +877,37 @@ const admin: TranslationStrings = {
'Data © kontributor OpenStreetMap (ODbL), ekstrak regional dari Geofabrik. Dibaca ulang setiap tanggal 3 tiap bulan.',
'admin.paddleRegions.toast.added': 'Wilayah ditambahkan. TREK membacanya di latar belakang.',
'admin.paddleRegions.toast.removed': 'Wilayah dihapus',
'admin.paddleRegions.phase.build': 'Membangun jaringan perairan',
'admin.paddleRegions.network.km': '{km} km perairan',
'admin.paddleRegions.network.lakes': '{count} danau',
'admin.paddleRegions.network.portages': '{count} tempat angkut terpetakan',
'admin.paddleRegions.network.inferred': '{count} angkutan perkiraan',
'admin.paddleRegions.network.locks': '{count} pintu air',
'admin.paddleRegions.network.gaps': '{count} celah dijembatani',
'admin.paddleRegions.network.missing': 'Tanpa jaringan perairan',
'admin.paddleRegions.network.missingHint': 'Baca ulang wilayah untuk membangun jaringan yang diikuti rute dayung.',
'admin.paddleRegions.auto.title': 'Muat wilayah otomatis',
'admin.paddleRegions.auto.mode.auto': 'Otomatis',
'admin.paddleRegions.auto.mode.ask': 'Atas permintaan',
'admin.paddleRegions.auto.mode.off': 'Mati',
'admin.paddleRegions.auto.modeHint.auto':
'Saat seseorang merencanakan tur dayung di tempat yang belum punya data air, TREK langsung memuat wilayah terkecil yang cocok, sampai batas ukuran dan hanya beberapa per hari. Yang lebih besar menunggu di sini sebagai permintaan. Hanya nama wilayah yang dikirim ke Geofabrik, tidak pernah lokasinya.',
'admin.paddleRegions.auto.modeHint.ask':
'Setiap wilayah baru menunggu di sini sampai admin mengizinkannya. Saat admin sendiri merencanakan, wilayah langsung dimuat.',
'admin.paddleRegions.auto.modeHint.off':
'TREK tidak memuat apa pun sendiri dan tidak meminta apa pun. Tambahkan wilayah di sini secara manual.',
'admin.paddleRegions.auto.maxSize': 'Wilayah terbesar yang dimuat otomatis',
'admin.paddleRegions.auto.maxSizeHint':
'Wilayah yang lebih besar menunggu di sini sebagai permintaan. Membaca wilayah butuh beberapa menit dan memakai memori selama berjalan.',
'admin.paddleRegions.requests.title': 'Diminta',
'admin.paddleRegions.requests.reason.ask': 'Atas permintaan',
'admin.paddleRegions.requests.reason.too_large': 'Terlalu besar',
'admin.paddleRegions.requests.reason.limit': 'Batas harian',
'admin.paddleRegions.requests.declined': 'Ditolak',
'admin.paddleRegions.requests.by': 'oleh {user}',
'admin.paddleRegions.requests.approve': 'Muat',
'admin.paddleRegions.requests.decline': 'Tolak',
'admin.paddleRegions.origin.auto': 'Otomatis',
'admin.paddleRegions.origin.autoHint': 'TREK memuat wilayah ini sendiri untuk tur dayung yang direncanakan di sana.',
};
export default admin;