<html><head></head><body bgcolor="#FFFFFF"><div>By coincidence I was working through the lua scripts trying to understand them.</div><div><br></div><div>So what is the significance of the 1,2,3?  Just unique identifiers. As long as they're non-zero, they will be enabled?</div><div><br></div><div>Richard<br><br>On Nov 11, 2015, at 9:23 AM, Daniel Hofmann <<a href="mailto:hofmann@mapbox.com">hofmann@mapbox.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr">If you take a look at the car profile, you will see a ferry_mode variable, that sets the travel mode:<br><div><br><a href="https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/profiles/car.lua#L151">https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/profiles/car.lua#L151</a><br><br></div><div>If you set this to 0 (i.e. 'inaccessible") as defined here:<br></div><div><br><a href="https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/data_structures/travel_mode.hpp#L34-L35">https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/data_structures/travel_mode.hpp#L34-L35</a><br><br></div><div>then the extractor discards ferry routes because you marked them inaccessible.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 9:03 AM, Peter Becker <span dir="ltr"><<a href="mailto:floyd.net@gmail.com" target="_blank">floyd.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, i dont want any ferries in my routes. Is this possible?<br>
<br>
_______________________________________________<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.org/listinfo/osrm-talk</a><br>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OSRM-talk mailing list</span><br><span><a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a></span><br><span><a href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a></span><br></div></blockquote></body></html>