<div dir="ltr">Yes, this behaviour is baked into the dataset during the "pre-processing" step - you can't currently modify it at query time on the demo server.<div><br></div><div>If you need this behaviour, you have two options:</div><div><br></div><div>  1) Remove HOV lanes from the avoid list here: <a href="https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L119">https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L119</a> and process your own dataset</div><div><br></div><div>  2) With a bit of work, you could possibly make this query-time selectable by adding support for a new "hov-only" road class here: <a href="https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/lib/guidance.lua#L63">https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/lib/guidance.lua#L63</a>, then adding an exclude capability for that class here: <a href="https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L107">https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L107</a></div><div><br></div><div>Both of these options require you to generate your own datasets and run your own server.</div><div><br></div><div>daniel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 9:04 AM, Jason Dalton <span dir="ltr"><<a href="mailto:jason.dalton@azimuth1.com" target="_blank">jason.dalton@azimuth1.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"><br clear="all"><div>the OSRM demos all avoid I66E during the HOV period.   Is that how the demo is specifically set up, and is there a config that allows HOV travel?</div><div><br></div><div><a href="https://www.mapbox.com/get-directions/#12.18/38.8522/-77.1488?coordinates=-77.26192144623029,38.86860868389613;-77.05189,38.848834" target="_blank">https://www.mapbox.com/get-<wbr>directions/#12.18/38.8522/-77.<wbr>1488?coordinates=-77.<wbr>26192144623029,38.<wbr>86860868389613;-77.05189,38.<wbr>848834</a><br></div><div><br></div><div><a href="http://map.project-osrm.org/?z=15&center=38.876150%2C-77.219124&loc=38.871690%2C-77.261438&loc=38.848625%2C-77.051612&hl=en&alt=0" target="_blank">http://map.project-osrm.org/?<wbr>z=15&center=38.876150%2C-77.<wbr>219124&loc=38.871690%2C-77.<wbr>261438&loc=38.848625%2C-77.<wbr>051612&hl=en&alt=0</a><br></div><div><br></div><div><br></div><div class="m_7762388487384230249gmail_signature"><div dir="ltr"></div></div>
<img src="http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LCQdN7fK6fjdnqPlW5v79ms2zlZNzW3S43fg1k1H6H0?si=6413164020498432&pi=bcd02bba-535c-45d0-a6a1-bba788c57b90&ti=undefined" style="display:none!important" height="1" width="1"></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>