<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Guillaume,</div><div class=""><br class=""></div><div class="">  There is a function called for every node:</div><div class=""><br class=""></div><div class="">    <a href="https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201" class="">https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201</a></div><div class=""><br class=""></div><div class="">  however, it doesn't feed back any specific per-node penalties.  It's used to flag barriers and traffic lights right now.</div><div class="">  </div><div class="">  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 class=""><br class=""></div><div class="">daniel</div><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 21, 2015, at 11:46 AM, Guillaume Barreau <<a href="mailto:g.barreau@gmail.com" class="">g.barreau@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hello,<br class=""><br class=""></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 class=""><br class=""></div>Thank you very much for your help,<br class=""><br class=""></div>Guillaume<br class=""></div>
_______________________________________________<br class="">OSRM-talk mailing list<br class=""><a href="mailto:OSRM-talk@openstreetmap.org" class="">OSRM-talk@openstreetmap.org</a><br class="">https://lists.openstreetmap.org/listinfo/osrm-talk<br class=""></div></blockquote></div><br class=""></body></html>