Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Walking profile with walkway/alleyBias=1 create 3x longer routes than expected

未關閉
#1,159 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
18/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
android, java
領域
api, mobile

研究方向

首先,在 Android 上使用 Mapbox Directions API 重現連結的 CodePen 頁面中的步行和騎自行車範例。將其行為與連結的 OpenStreetMap 路線進行比較,並確認是否正在套用 walkwaybias=1 和 alleybias=1。完成的標準是找出可採取行動的原因或已確認的限制,並記錄預期的路由行為。

由索引模型根據 Issue 內容生成。

描述

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:

  1. Walking Route: https://codepen.io/ulnn/pen/RwrYbja
  2. Cycling Route (better route, but still mediocre): https://codepen.io/ulnn/pen/eYJLOKb
  3. 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?

主要語言
Java
星號
438
分支
117
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

mapbox/mapbox-java 的其他 Issue

查看 mapbox/mapbox-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。