mapbox / mapbox/mapbox-java

WALKING MapMatching issue

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

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

jira-sync-complete
主要言語
Java
スター
438
フォーク
117
PR マージ指標
30日以内にマージされた PR はありません

説明

We are working on a app that uses the mapmatching api. We seem to have some problems when it comes to walking matchings/steps. Many of the roads dont seem to be included when matching with this profile. Is there any way that I can add these roads to the walking profile so it matches the points correctly like in the example Directions demo?

This behaviour only seems to be an issue when using the WALKING profile.

Some additional info:

    Point point1 = Point.fromLngLat(6.525440, 52.115350);
    Point point2 = Point.fromLngLat(6.526132, 52.115345);

    waypoints.add(point1);
    waypoints.add(point2);
    
    Locale locale = new Locale("nl_NL");
    Arrays.fill(radiuses, 50.0);
    
    MapboxMapMatching client = MapboxMapMatching.builder()
            .accessToken(Objects.requireNonNull(Mapbox.getAccessToken()))
            .geometries(DirectionsCriteria.GEOMETRY_POLYLINE)
            .profile(DirectionsCriteria.PROFILE_WALKING)
            .overview(DirectionsCriteria.OVERVIEW_FULL)
            .coordinates(waypoints)
            .language(locale)
            .steps(true)
            .roundaboutExits(true)
            .bannerInstructions(true)
            .tidy(false)
            .radiuses(radiuses)
            .build();

Result:

Expected result:
directions-correct

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

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

はじめの一歩

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

調査の方向性

まず、Issue に示されている Java リクエストを、PROFILE_WALKING を指定した MapboxMapMatching.builder、提供された座標、記載されたオプションを使って再現します。そのマッチングとステップを Directions デモと比較し、次に、その差異が Java API によって露呈するのか、基盤となるサービスで発生するのかを追跡します。原因が確認され、実行可能な解決策が文書化されれば完了です。

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

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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