<div dir="ltr">Hi,<div><br></div><div> Unfortunately no - OSRM is designed to perform very fast route calculation, at the expense of flexibility. Whether private roads are allowed is decided during the "pre-processing" step, and you cannot alter that decision when you query a route.</div><div><br></div><div> You would need to run your own OSRM server and modify the `car.lua` profile to include the road classes you want. The demo server at <a href="http://router.project-osrm.org">router.project-osrm.org</a> uses the default car.lua profile (which you can find in the GitHub repository).</div><div><br></div><div>daniel</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 28, 2017 at 7:03 AM, Chuan Li (C) <span dir="ltr"><<a href="mailto:chuan.li@gm.com" target="_blank">chuan.li@gm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_4466812157279746782m_-1210388438074768554WordSection1">
<p class="MsoNormal">Hello all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there a parameter that I can specify to allow OSRM to route through private (proprietary) roads? I wish to use this URL to send request for test purpose. (<a href="http://router.project-osrm.org/route/v1/driving/" target="_blank">http://router.project-osrm.or<wbr>g/route/v1/driving/</a>)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal">Chuan Li<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<br>
Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.
<br>
<br>
Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this
message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.
</div>
<br>______________________________<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></div>