Skip to content

Exclude highway=road from foot and bicycle profiles#7424

Merged
DennisOSRM merged 2 commits intomasterfrom
fix/highway-road-exclude-foot-bicycle
Mar 23, 2026
Merged

Exclude highway=road from foot and bicycle profiles#7424
DennisOSRM merged 2 commits intomasterfrom
fix/highway-road-exclude-foot-bicycle

Conversation

@DennisOSRM
Copy link
Copy Markdown
Collaborator

@DennisOSRM DennisOSRM commented Mar 22, 2026

highway=road denotes a way with unknown classification and implies fixme=*. Per the OSM wiki it is an error marker and should not be routed over. The car profile already excluded it; this commit brings the foot and bicycle profiles in line.

Changes:

  • Remove 'road' from the speeds table in profiles/foot.lua
  • Remove 'road' from bicycle_speeds in profiles/bicycle.lua
  • Update cucumber tests to expect highway=road to be non-routable

Fixes #7039

highway=road denotes a way with unknown classification and implies
fixme=*. Per the OSM wiki it is an error marker and should not be
routed over. The car profile already excluded it; this commit brings
the foot and bicycle profiles in line.

Changes:
- Remove 'road' from the speeds table in profiles/foot.lua
- Remove 'road' from bicycle_speeds in profiles/bicycle.lua
- Update cucumber tests to expect highway=road to be non-routable

Fixes #7039

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@DennisOSRM
Copy link
Copy Markdown
Collaborator Author

@copilot add a line to the change log in the style of the existing entries

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

@DennisOSRM I've opened a new pull request, #7425, to work on those changes. Once the pull request is ready, I'll request review from you.

…profiles (#7425)

* Initial plan

* Add CHANGELOG entry for highway=road exclusion from foot and bicycle profiles

Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Project-OSRM/osrm-backend/sessions/fce3880b-4118-49a2-8934-baf96e29ee9b

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
@DennisOSRM DennisOSRM merged commit 4c97bac into master Mar 23, 2026
23 checks passed
@DennisOSRM DennisOSRM deleted the fix/highway-road-exclude-foot-bicycle branch March 23, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

highway=road should be excluded from all routing profiles

2 participants