mapbox / mapbox/mapbox-navigation-android

Which-road-am-I-on is picking up footways when in driving mode

Open
#2,227 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

archived
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Android API:** Unknown
**Mapbox Navigation SDK version:** Unknown

### Steps to trigger behavior

When navigating, the "current road" label can sometimes show the name of a nearby footway.

![image (6)](https://user-images.githubusercontent.com/1892250/67032754-1e5cc600-f0c9-11e9-9e2d-461c7b57331b.png)

In this example, "100 Steps" is referring to this path: https://www.openstreetmap.org/way/166468142 which is adjacent to the road.

### Expected behavior

When navigating using a Driving profile, foot-accessible paths should not be considered for detecting the current road name.

### Actual behavior

Looks like we're simply picking the name of the nearest map feature to the current position - if there's position error, the displayed name can be incorrect.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the current-road label and the navigation road-name lookup, then reproduce driving-mode navigation near the adjacent OpenStreetMap footway described in the issue. Trace how the nearest map feature is selected and verify the result excludes foot-accessible paths while preserving the actual road name.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.