<div dir="ltr"><div><div><div>Hi Daniel,<br><br></div>Thanks a lot for this very fast reply. The url you sent appears to be broken. Could you please double-check it for me?<br><br></div>Thanks again,<br><br></div>Guillaume<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 October 2015 at 14:56, Daniel Patterson <span dir="ltr"><<a href="mailto:daniel@mapbox.com" target="_blank">daniel@mapbox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Guillaume,</div><div><br></div><div>  There is a function called for every node:</div><div><br></div><div>    <a href="https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201" target="_blank">https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201</a></div><div><br></div><div>  however, it doesn't feed back any specific per-node penalties.  It's used to flag barriers and traffic lights right now.</div><div>  </div><div>  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.</div><div><br></div><div>daniel</div><br><div><blockquote type="cite"><div><div class="h5"><div>On Oct 21, 2015, at 11:46 AM, Guillaume Barreau <<a href="mailto:g.barreau@gmail.com" target="_blank">g.barreau@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div><div><div>Hello,<br><br></div>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?<br><br></div>Thank you very much for your help,<br><br></div>Guillaume<br></div></div></div>
_______________________________________________<br>OSRM-talk mailing list<br><a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br></div></blockquote></div><br></div><br>_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>