mapbox / mapbox/mapbox-navigation-android
MapMatchingAPI.requestMapMatching() with POST
まだ誰も着手していません。
- 主要言語
- 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
- 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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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