Implement exclude flags for CH #6821
Replies: 5 comments
-
Yes, it's supported by the CH algorithm. You need to make sure that https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L123-L128 That setting will cause OSRM to generate multiple versions of the CH graph, each graph will have those edges removed. At query time, you can do Every |
Beta Was this translation helpful? Give feedback.
-
But I set the excludable parameter in bicycle.profile and specified exclude = ferry when calling the interface, and the engine still returns a result containing ferry. What is the reason for this? |
Beta Was this translation helpful? Give feedback.
-
Did you re-run |
Beta Was this translation helpful? Give feedback.
-
yes,I already run osrm-contract with the bicycle.lua file. |
Beta Was this translation helpful? Give feedback.
-
Hi @hahaking119 , Did you manage to do this? Because i'm trying to exclude unpaved, but is not working. |
Beta Was this translation helpful? Give feedback.
-
Hello, I would like to know if the CH algorithm already supports the exclude parameter.
I set exclude = ferry when using it. If there is only one route and it contains a link with the ferry attribute, then this route will be recalled.
Is this normal? thank you.
Beta Was this translation helpful? Give feedback.
All reactions