fossgis-routing-server / cbf-routing-profiles

Experimental routing profiles for OSRM.
11 stars 6 forks source link

Incorrect Bicycle Profile #13

Open Langlaeufer opened 1 year ago

Langlaeufer commented 1 year ago

bug is already listed here: https://github.com/Project-OSRM/osrm-backend/issues/6552

The choosen parameters does not fit to how the way handling is working. From bicycle_speed, tracktype_speeds, and surface_speeds always the minimum rate and speed is choosen! But speed_path is a factor not an absolut value!

see https://github.com/fossgis-routing-server/cbf-routing-profiles/blob/master/bike.lua and https://github.com/fossgis-routing-server/cbf-routing-profiles/blob/master/lib/way_handlers_weight.lua

Discostu36 commented 1 year ago

I am not sure if this is the same issue, but fossgis_osrm_bike is calculating ETA with an average speed of 40 km/h

grafik

https://www.openstreetmap.org/directions?engine=fossgis_osrm_bike&route=54.3258%2C10.1861%3B54.3016%2C10.1131#map=14/54.3136/10.1494

Langlaeufer commented 1 year ago

Na klar, 64 km/h auf den Radwegen https://map.project-osrm.org/debug/bike.html#14.25/54.3144/10.1575

buttercookie42 commented 1 year ago

I guess this explains some weird routings I've seen, too: OSRM bike routing Probably those routes with those detours to the west have more of those magic 64 km/h bike paths…

Whereas the routes proposed by GraphHopper are much more reasonable and almost 10 km (!) shorter than OSRM's preferred route: GraphHopper bike routing

Langlaeufer commented 1 year ago

https://map.project-osrm.org/debug/bike.html#12.55/49.0842/8.4588 There are also highway=path bicycle=designated with 64 km/h