<div dir="ltr"><div>There's an alternatives=n option you can use to request up to n alternatives (if available).<br><br></div>Here are the constants for pruning alternative candidate paths:<br><div><br><a href="https://github.com/Project-OSRM/osrm-backend/blob/02712cd513bca1b49d867085e80c608a53b7bb03/src/engine/routing_algorithms/alternative_path_mld.cpp#L37-L52">https://github.com/Project-OSRM/osrm-backend/blob/02712cd513bca1b49d867085e80c608a53b7bb03/src/engine/routing_algorithms/alternative_path_mld.cpp#L37-L52</a></div><div><br></div><div>you can tune them to trade off between quality and quantity.</div><div><br></div><div>More insights here:<br></div><div><br></div><div>- <a href="https://github.com/Project-OSRM/osrm-backend/issues/3905">https://github.com/Project-OSRM/osrm-backend/issues/3905</a></div><div>- <a href="https://github.com/Project-OSRM/osrm-backend/pull/4047">https://github.com/Project-OSRM/osrm-backend/pull/4047</a></div><div><br></div><div>HTH,</div><div>Daniel J H<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 21, 2018 at 4:27 PM, Behizz <span dir="ltr"><<a href="mailto:behizz@gmail.com" target="_blank">behizz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello guys<br><br></div>I'm using the latest OSRM version and I use the partition-customize chain for building the model and getting more alternatives. But OSRM suggests alternative routes a few times although there are so many good alternative routes based on weights.<br><br></div>Is there any way to force it to return more alternatives? <br><br></div>Thanks<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>