mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +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:
@@ -798,5 +798,34 @@ const admin: TranslationStrings = {
|
||||
'数据 © OpenStreetMap 贡献者(ODbL),区域提取数据由 Geofabrik 提供。每月 3 日重新读取。',
|
||||
'admin.paddleRegions.toast.added': '区域已添加。TREK 正在后台读取。',
|
||||
'admin.paddleRegions.toast.removed': '区域已移除',
|
||||
'admin.paddleRegions.phase.build': '正在构建水路网络',
|
||||
'admin.paddleRegions.network.km': '{km} km 水域',
|
||||
'admin.paddleRegions.network.lakes': '{count} 个湖泊',
|
||||
'admin.paddleRegions.network.portages': '{count} 个已标注搬运点',
|
||||
'admin.paddleRegions.network.inferred': '{count} 处推定搬运',
|
||||
'admin.paddleRegions.network.locks': '{count} 座船闸',
|
||||
'admin.paddleRegions.network.gaps': '{count} 处已连接缺口',
|
||||
'admin.paddleRegions.network.missing': '无水路网络',
|
||||
'admin.paddleRegions.network.missingHint': '重新读取该区域以构建划桨路线所用的网络。',
|
||||
'admin.paddleRegions.auto.title': '自动加载区域',
|
||||
'admin.paddleRegions.auto.mode.auto': '自动',
|
||||
'admin.paddleRegions.auto.mode.ask': '按申请',
|
||||
'admin.paddleRegions.auto.mode.off': '关闭',
|
||||
'admin.paddleRegions.auto.modeHint.auto':
|
||||
'当有人在还没有水域数据的地方规划划桨行程时,TREK 会立即加载最小的合适区域,不超过大小上限,每天只加载几个。更大的区域会作为申请在这里等待。发送给 Geofabrik 的只有区域名称,从不包括地点。',
|
||||
'admin.paddleRegions.auto.modeHint.ask': '每个新区域都在这里等待,直到管理员放行。管理员自己规划时会立即加载。',
|
||||
'admin.paddleRegions.auto.modeHint.off': 'TREK 不会自行加载任何内容,也不会发出申请。请在这里手动添加区域。',
|
||||
'admin.paddleRegions.auto.maxSize': '自动加载的最大区域',
|
||||
'admin.paddleRegions.auto.maxSizeHint': '更大的区域会作为申请在这里等待。读取一个区域需要几分钟,期间会占用内存。',
|
||||
'admin.paddleRegions.requests.title': '已申请',
|
||||
'admin.paddleRegions.requests.reason.ask': '按申请',
|
||||
'admin.paddleRegions.requests.reason.too_large': '过大',
|
||||
'admin.paddleRegions.requests.reason.limit': '每日上限',
|
||||
'admin.paddleRegions.requests.declined': '已拒绝',
|
||||
'admin.paddleRegions.requests.by': '来自 {user}',
|
||||
'admin.paddleRegions.requests.approve': '加载',
|
||||
'admin.paddleRegions.requests.decline': '拒绝',
|
||||
'admin.paddleRegions.origin.auto': '自动',
|
||||
'admin.paddleRegions.origin.autoHint': 'TREK 为在此规划的划桨行程自行加载了这个区域。',
|
||||
};
|
||||
export default admin;
|
||||
|
||||
Reference in New Issue
Block a user