Walking profile with walkway/alleyBias=1 create 3x longer routes than expected
未关闭
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 438
- 派生
- 117
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi all-
I am using turn-by-turn navigation with the Mapbox DirectionsAPI on Android and explore strange routing behavior when selecting the "walking" profile. Some routes are 3x longer than a comparable cycling route, especially highway=path and =footway seem to be avoided at all cost. I also pass walkwaybias=1 and alleybias=1 but it does not change the behavior.
An example here:
- Walking Route: https://codepen.io/ulnn/pen/RwrYbja
- Cycling Route (better route, but still mediocre): https://codepen.io/ulnn/pen/eYJLOKb
- Best Route (desired outcome): https://www.openstreetmap.org/directions?engine=graphhopper_foot&route=50.13981%2C8.69852%3B50.13825%2C8.69507#map=18/50.13921/8.69745
Any idea?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 Android 上使用 Mapbox Directions API 重现链接的 CodePen 页面中的步行和骑行示例。将其行为与链接的 OpenStreetMap 路线进行比较,并验证是否正在应用 walkwaybias=1 和 alleybias=1。完成的标准是确定一个可采取行动的原因或已确认的限制,并记录预期的路由行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, java
- 领域
- api, mobile
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 18/100