You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Blocking Edges/Areas pluggable like TurnWeighting #958
Blocking Edges/Areas is currently only possible with the GenericWeighting. It should be possible to extract that behavior into a pluggable weighting, like the TurnWeighting. This could be used for non ch requests for fastest or shortest weighting.
Implementing this should be straight forward. Move the blocking code from the GenericWeighting into a new class. It might be a good idea to extend the AbstractAdjustedWeighting.
changed the title [-]Make Blocking Edges/Areas pluggable like Turn Costs[/-][+]Make Blocking Edges/Areas pluggable like TurnWeighting[/+]on Feb 21, 2017
I want to get started with graphhopper development, so I'm going to implement this improvement.
I've implemented class BlockedWeighting that extends AbstractAdjustedWeighting, but I'm doubting about its name. Doesn't "forbidden" have more precise meaning than "blocked", so that the class is named ForbiddenWeighting?
Hi @asdzxcasd, I am happy to hear that you picked up this issue :). I think blocked is a better match than forbidden. For example a road is blocked by an traffic accident or a road is blocked by flooding.
Activity
[-]Make Blocking Edges/Areas pluggable like Turn Costs[/-][+]Make Blocking Edges/Areas pluggable like TurnWeighting[/+]asdzxcasd commentedon Apr 12, 2017
I want to get started with graphhopper development, so I'm going to implement this improvement.
I've implemented class
BlockedWeightingthat extendsAbstractAdjustedWeighting, but I'm doubting about its name. Doesn't "forbidden" have more precise meaning than "blocked", so that the class is namedForbiddenWeighting?boldtrn commentedon Apr 19, 2017
Hi @asdzxcasd, I am happy to hear that you picked up this issue :). I think blocked is a better match than forbidden. For example a road is blocked by an traffic accident or a road is blocked by flooding.
karussell commentedon May 31, 2017
Fixed via #1078