osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Wrong highway tag in bicycle.profile

Open davidmurray opened this issue 3 years ago • 1 comments

Hello,

In the bicycle OSRM profile, there is a check for the bicycle highway tag in the safety_handler function.

https://github.com/Project-OSRM/osrm-backend/blob/06b1b980bbdfc838c4f8e8cb370cba6dfb0329b0/profiles/bicycle.lua#L546-L560

However, unless I am mistaken, there is no highway=bicycle tag in OSM, but rather a highway=cycleway tag: https://wiki.openstreetmap.org/wiki/Key:highway

Therefore, shouldn't this code check for "cycleway" rather than "bicycle"?

Thanks!

davidmurray avatar Jul 28 '22 16:07 davidmurray

Related https://github.com/Project-OSRM/osrm-backend/pull/6296

SiarheiFedartsou avatar Aug 10 '22 21:08 SiarheiFedartsou

Closing as this code does not exist anymore.

SiarheiFedartsou avatar Aug 26 '22 22:08 SiarheiFedartsou