mapbox / mapbox/mapbox-java

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

オープン
#1,159 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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:

  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?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、リンクされたCodePenページの徒歩および自転車の例を、Android上でMapbox Directions APIを使って再現します。リンクされたOpenStreetMapのルートと動作を比較し、walkwaybias=1 と alleybias=1 が適用されているか確認します。実行可能な原因または確認済みの制限を特定し、期待されるルーティング動作を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, java
領域
api, mobile
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
18/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。