mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
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:
@@ -862,5 +862,42 @@ const admin: TranslationStrings = {
|
||||
'Data © OpenStreetMap contributors (ODbL), regional extracts by Geofabrik. Read again on the 3rd of every month.',
|
||||
'admin.paddleRegions.toast.added': 'Region added. TREK reads it in the background.',
|
||||
'admin.paddleRegions.toast.removed': 'Region removed',
|
||||
'admin.paddleRegions.phase.build': 'Building the water network',
|
||||
'admin.paddleRegions.network.km': '{km} km of water',
|
||||
'admin.paddleRegions.network.lakes': '{count} lakes',
|
||||
'admin.paddleRegions.network.lakes.one': '{count} lake',
|
||||
'admin.paddleRegions.network.portages': '{count} mapped portages',
|
||||
'admin.paddleRegions.network.portages.one': '{count} mapped portage',
|
||||
'admin.paddleRegions.network.inferred': '{count} assumed carries',
|
||||
'admin.paddleRegions.network.inferred.one': '{count} assumed carry',
|
||||
'admin.paddleRegions.network.locks': '{count} locks',
|
||||
'admin.paddleRegions.network.locks.one': '{count} lock',
|
||||
'admin.paddleRegions.network.gaps': '{count} bridged gaps',
|
||||
'admin.paddleRegions.network.gaps.one': '{count} bridged gap',
|
||||
'admin.paddleRegions.network.missing': 'No water network',
|
||||
'admin.paddleRegions.network.missingHint': 'Read the region again to build the network paddle routing follows.',
|
||||
'admin.paddleRegions.auto.title': 'Load regions automatically',
|
||||
'admin.paddleRegions.auto.mode.auto': 'Automatic',
|
||||
'admin.paddleRegions.auto.mode.ask': 'On request',
|
||||
'admin.paddleRegions.auto.mode.off': 'Off',
|
||||
'admin.paddleRegions.auto.modeHint.auto':
|
||||
"When someone plans a paddle tour where there is no water data yet, TREK loads the smallest matching region right away, up to the size limit and only a few a day. Anything larger waits here as a request. Only the region's name goes to Geofabrik, never the place.",
|
||||
'admin.paddleRegions.auto.modeHint.ask':
|
||||
'Every new region waits here until an admin lets it through. When an admin plans, it loads right away.',
|
||||
'admin.paddleRegions.auto.modeHint.off':
|
||||
'TREK loads nothing by itself and asks for nothing. Add regions here by hand.',
|
||||
'admin.paddleRegions.auto.maxSize': 'Largest region loaded automatically',
|
||||
'admin.paddleRegions.auto.maxSizeHint':
|
||||
'Larger regions wait here as a request. Reading a region takes a few minutes and memory while it runs.',
|
||||
'admin.paddleRegions.requests.title': 'Requested',
|
||||
'admin.paddleRegions.requests.reason.ask': 'On request',
|
||||
'admin.paddleRegions.requests.reason.too_large': 'Too large',
|
||||
'admin.paddleRegions.requests.reason.limit': 'Daily limit',
|
||||
'admin.paddleRegions.requests.declined': 'Declined',
|
||||
'admin.paddleRegions.requests.by': 'by {user}',
|
||||
'admin.paddleRegions.requests.approve': 'Load',
|
||||
'admin.paddleRegions.requests.decline': 'Decline',
|
||||
'admin.paddleRegions.origin.auto': 'Automatic',
|
||||
'admin.paddleRegions.origin.autoHint': 'TREK loaded this region by itself for a paddle tour planned there.',
|
||||
};
|
||||
export default admin;
|
||||
|
||||
Reference in New Issue
Block a user