Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Walking profile with walkway/alleyBias=1 create 3x longer routes than expected

Open
#1,159 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java
Domain
api, mobile

Research direction

Start by reproducing the walking and cycling examples from the linked CodePen pages with the Mapbox Directions API on Android. Compare the behavior with the linked OpenStreetMap route and verify whether walkwaybias=1 and alleybias=1 are being applied. Done means identifying an actionable cause or confirmed limitation and documenting the expected routing behavior.

Written by the indexing model from the issue text.

Description

Hi all-

I am using turn-by-turn navigation with the Mapbox DirectionsAPI on Android and explore strange routing behavior when selecting the "walking" profile. Some routes are 3x longer than a comparable cycling route, especially highway=path and =footway seem to be avoided at all cost. I also pass walkwaybias=1 and alleybias=1 but it does not change the behavior.

An example here:

  1. Walking Route: https://codepen.io/ulnn/pen/RwrYbja
  2. Cycling Route (better route, but still mediocre): https://codepen.io/ulnn/pen/eYJLOKb
  3. Best Route (desired outcome): https://www.openstreetmap.org/directions?engine=graphhopper_foot&route=50.13981%2C8.69852%3B50.13825%2C8.69507#map=18/50.13921/8.69745

Any idea?

Dominant language
Java
Stars
438
Forks
117
PR merge metrics
No merged PRs in 30d

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.

More from mapbox/mapbox-java

All issues in mapbox/mapbox-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.