fossgis-routing-server / cbf-routing-profiles

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

Barrier penalties #11

Open iaroslavzif opened 1 year ago

iaroslavzif commented 1 year ago

In many cases we have barriers for which we can't set the type of access due to the lack of the ground true evidence. And even for the highways that are inside the area guarded by barriers we can't set the type of access. In this situations we kind of know that the routing through that area should not happen but we can't edit the map without evidence (signs etc. ). This situations leads to allow routing in many similar areas as described. Many cases could be resolved by adding a penalty when having a barrier. It's obvious that when cars are waiting at a barrier there is time consumption and this time should be taken in consideration when routing.

209783902-d62cad1c-2994-4439-9193-70dc208345fa

datendelphin commented 1 year ago

I think this is currently not possible to implement in the profile due to https://github.com/Project-OSRM/osrm-backend/issues/1490

iaroslavzif commented 1 year ago

So what would be the best approach to penalise this barriers? The barriers are there, it take time from the routing path it has to be someway to be taking in consideration when computing the path. Thank you!