Files
osmWorkflow/.trellis/tasks/08-05-vehicle-turn-routes/implement.md

11 lines
731 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 实施计划:车辆连续巡航与转弯
1. 重构 `vehicle-route.js` 的 OSM 读取和纯几何 helper构造有向 road graph、动作分类与
`turn:lanes` 过滤。
2. 枚举稳定的端点间道路路径、选择不重复且覆盖三种动作的至多 5 条路线;在端点添加
平滑调头并生成路口连接。
3. 扩展 route JSON保留 `segments` 兼容字段预览优先消费新路线数组UI 标识路线及动作。
4.`test-preview-assets.js` 增加单行、标签过滤、左直右分类、闭环和曲线连续性夹具。
5. 运行 Node 语法检查、预览测试、现有箭头测试和目标区域 `preview` 重建;在浏览器观察
普通与压缩预览的多车转弯。