Hi Guillaume,

  There is a function called for every node:

    
https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201 
<https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201>

  however, it doesn't feed back any specific per-node penalties.  It's used to 
flag barriers and traffic lights right now.
  
  It could be adapted to do per-node penalty values, you would probably need to 
modify the existing light penalty functionality and add a lookup for your 
values, rather than using the global light penalty we have currently.

daniel

> On Oct 21, 2015, at 11:46 AM, Guillaume Barreau <[email protected]> wrote:
> 
> Hello,
> 
> I would like to OSRM for a research project but I have this unusual 
> requirement. I would want to be able to add time penalties at some sets of 
> vertices (defined by their id) that would be used to compute the fastest 
> routes in a table calculation. My input would therefore be a list of 
> (node_id,delays) to be added to the underlying graph. Is this feasible? I am 
> prepared to modify the code if needs be, I don't expect to be able to do this 
> with a config file. If it is feasible, could someone point me in the right 
> direction?
> 
> Thank you very much for your help,
> 
> Guillaume
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk

_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to