Open datendelphin opened 4 years ago
Hi, please allow routing over kerbs for bicycles (this has already been fixed in the upstream osrm routing profiles by changing to a less restrictive blacklist instead).
Kerbs are extensively mapped in my area and blocking on kerbs makes major cycling routes unroutable because they include crossings with kerbs.
Example with silly routing:
You can make a pull request or wait until someone else has time for it
What exactly is the reason for not simply using the upstream osrm profiles?
The server got its own profiles because the cycling and walking profiles in the osrm-backend repository were back then inexistent or too crude.
So PR simply replacing them by the current - AFAIK much better - one would be acceptable way of resolving this issue?
I simply added kerb to the bicycle barrier whitelist for now (along with some other barrier types): https://github.com/fossgis-routing-server/cbf-routing-profiles/pull/7
@matkoniecz I don't think the two profiles are that far removed. And they both have some plus points. The profile here has for example the advantage, that it separates duration and weight, which I think is quite important. So I would rather merge them.
I am not satisfied by how either of them handles barriers. At least a penalty should be added depending on the barrier. The current state seems to largely ignore barriers, unless bicycle=no is explicitly tagged. Even more in the bicycle.lua from osrm-backend which seems to always have had a black list only (The barrier=kerb was an issue for the car profile which got recently fixed in the car profile only)
see https://lists.openstreetmap.org/pipermail/talk-gb/2019-December/023920.html kerb should be whitelisted, maybe a bit penalized