mapbox / mapbox/mapbox-navigation-android

MapMatchingAPI.requestMapMatching() with POST

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

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

主要言語
Kotlin
スター
651
フォーク
321
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently the MapMatchingAPI.requestMapMatching() is using a GET method to process the map matching request and it is not working if I try to send more than e.g. 330 coordinates. I understand that this is a GET method limitation, but there is no option to use POST method and additional problem is that NavigationRoute object cannot be initialised anymore, so we cannot use https://docs.mapbox.com/api/navigation/http-post/ mechanism and convert the result into List of NavigationRoute objects, to use it as a parameter of MapboxNavigation.setNavigationRoutes(navigationRoutes).

Is there any way to retrieve a list of NavigationRoutes and then use it in MapboxNavigation.setNavigationRoutes() ?

Android API: 34
Mapbox Navigation SDK version: 3.2.0

Steps to trigger behavior
  1. call MapboxNavigation.requestMapMatching with MapMatchingOptions.Builder() and more than 330 coordinates
Expected behavior

Retrieving the List of NavigationRoutes object

Actual behavior

Some kind of Http exception.

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

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

はじめの一歩

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

調査の方向性

MapMatchingAPI.requestMapMatching と MapMatchingOptions.Builder から始め、次に結果が NavigationRoute および MapboxNavigation.setNavigationRoutes とどのように関連するかを調べます。POST ベースの map matching が 330 を超える座標をサポートし、使用可能な NavigationRoutes のリストを生成できるかどうかを確認します。より大きな座標セットに対してリクエストが成功し、その結果を setNavigationRoutes に渡せれば完了です。

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

評価

技術スタック
kotlin
領域
api, mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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