mapbox / mapbox/mapbox-navigation-android
Which-road-am-I-on is picking up footways when in driving mode
Nobody has claimed this yet.
- 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.

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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