WALKING MapMatching issue
未关闭
还没有人认领这个 Issue。
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:

贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用带有 PROFILE_WALKING、所提供坐标和所述选项的 MapboxMapMatching.builder,复现 issue 中展示的 Java 请求。将其匹配结果和步骤与 Directions demo 进行比较,然后追踪该差异是由 Java API 暴露出来的,还是发生在底层 service 中。确认原因并记录一项可执行的解决方案后,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100