<div dir="ltr">Hi Daniel,<div><br></div><div>Firstly, thank you for your quick response and I apologize for my late reply.</div><div><br></div><div>Your input on the speed-up graphs and the suggestion to use A* algorithm is valuable for me. I will start my work on it.</div><div><br></div><div>Thank you once again.</div><div><br></div><div>Best Regards,</div><div>Nida</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 16, 2018 at 5:00 PM Daniel Patterson <<a href="mailto:daniel@mapbox.com">daniel@mapbox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nida,<div><br></div><div>  Not out of the box.  OSRM focuses on fast route calculation by generating pre-calculated "speed up graphs" (either CH or MLD).  The pre-calculation locks in place many of the choices made for routing, and makes things like you describe impossible.</div><div><br></div><div>  Patrick has an experimental branch that implements A* which would unlock some of this flexibility (at the cost of query speed) here: <a href="https://github.com/Project-OSRM/osrm-backend/tree/algorihm/astar" target="_blank">https://github.com/Project-OSRM/osrm-backend/tree/algorihm/astar</a></div><div><br></div><div>  but it's incomplete.  It's likely a lot more work would need to be done to support the feature you describe.</div><div><br></div><div>daniel</div><div><br></div><div>  </div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 16, 2018 at 7:48 AM Nida Fathima <<a href="mailto:nida.fathima015@gmail.com" target="_blank">nida.fathima015@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am new to routing engines and trying to get familiar with OSRM.</div><div><br></div><div>I need a road segment editor for routing where I should be able to enter the percentage of the road types that I want to my route to have.</div><div>For example, let road types be Motorway, Urban and Rural and I enter [30%],[40%] and [30%]. The route should be calculated based on these 3 inputs.</div><div><br></div><div>My questions:</div><div>1. Is it possible to do this using OSRM?</div><div>2. If yes, How can this be done?</div><div><br></div><div>I request you to please give suggestions and guide me on this. </div><div><br></div><div>Thank you for your time.</div><div><br></div><div>Best Regards,</div><div>Nida</div><div><br></div><div><br></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" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></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" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>