<div dir="ltr"><div><div><div><div><div>Thank you for this input,<br><br></div>Understood the lack of dynamic costing in OSRM. I'll adapat my profile<br></div>Would it be preferable to lower the rate or the speed of specific way I want to limit ? Maybe both ?<br></div><div>I'm not sure to be able to set a rate on a given node isn't it ?<br></div><div><br></div>This have to be necessarily relative to rest of my graph<br><br></div>All the best<br><br></div>Francois<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>François Lacombe</b><br><br>fl dot infosreseaux At gmail dot com<br><a href="http://www.infos-reseaux.com" target="_blank">www.infos-reseaux.com</a><br><a href="http://www.twitter.com/InfosReseaux" target="_blank">@InfosReseaux</a></div></div></div>
<br><div class="gmail_quote">2018-03-28 17:59 GMT+02:00 Daniel Patterson <span dir="ltr"><<a href="mailto:daniel@mapbox.com" target="_blank">daniel@mapbox.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey François,<div><br></div><div> The only way to achieve this with OSRM would be to apply large penalties to barriers/tolls. You'll have to pick a penalty value that's *just right* - enough that 0 or 1 will be acceptable, but 2 would force the engine to find another route.</div><div><br></div><div> Because OSRM doesn't have dynamic costing options, you can't do something like "penalize the first toll with 0, penalize the second toll with 1000" - for that, you'd need to be able to run a more customizable routing algorithm.</div><div><br></div><div> We have muttered about implementing A* on the edge-based-graph which would make this possible, but so far, nobody has put the time in to implement it.</div><div><br></div><div>daniel</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 28, 2018 at 8:31 AM, François Lacombe <span dir="ltr"><<a href="mailto:fl.infosreseaux@gmail.com" target="_blank">fl.infosreseaux@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>Another question I have while I continue to build a routing system dedicated to industrial networks in parallel of roads we get from osm.<br><br></div>I'd be interested to get osrm result with a limited amount of particular ways or nodes in the route.<br></div>Something like "Get me from A to B with only 0 or 1 toll barrier on the route", is this possible ?<br><br></div>I know the exclude URL parameter to exclude some pre-processed classes of object, but don't know if we can actually limit them.<br><br></div>Thanks in advance for any hint, all the best<span class="m_3217558863325769696HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_3217558863325769696HOEnZb"><font color="#888888"><div>François<br></div></font></span></div></div>
<br></div></div>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://lists.openstreetmap.or<wbr>g/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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.<wbr>org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>