Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.42k stars 3.4k forks source link

uncomment "cyclability" weight name #7043

Open szymon-szym opened 1 month ago

szymon-szym commented 1 month ago

Issue

It looks like in profile/bicycle.lua the weight_name in properties was unintentionally commented out

Without it set to cyclability the safety_check is committed when using this profile. Turns' weights are also calculated differently

Tasklist

Requirements / Relations

frodrigo commented 1 month ago

From the introduction of the concept weight in bicycle profile, it always be duration as default.

https://github.com/Project-OSRM/osrm-backend/commit/279f8aabfb#diff-c4b120b8978b0193746a4accb230bf085b89bca0fdda9f17920e056ddaee820fR58

I see this PR as a possible breaking change.

Nevertheless can can still use cyclability on you side if you prefer it.