<div dir="ltr">Hi Francois,<div><br></div><div>  In theory, yes, you could route on powerlines, gas lines, or any other linear feature.  Ensuring connectivity could be problematic - often rivers are not connected to paths in OSM.</div><div><br></div><div>  Waterways are a bit problematic as they're often modeled as areas - if you modify the Lua script to include them in the routing graph, OSRM will route around the edges of the polygon.</div><div><br></div><div>  Getting proper connectivity between all the elements you want to route between can be problematic as well - very often, rivers/rail are not connected to roads or paths inside OSM.</div><div><br></div><div>  The turn-by-turn instructions might also be a bit weird if you don't route on roads/paths - the guidance code has been mostly focused on sensible instructions for drivers.</div><div><br></div><div>daniel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 24, 2017 at 6:27 AM, François Lacombe <span dir="ltr"><<a href="mailto:fl.infosreseaux@gmail.com" target="_blank">fl.infosreseaux@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>Hi all,<br><br></div>Since there is not only roads but many other topological networks mapped on OSM, I'm wondering how osrm may be usable on them.<br><br></div><div>Example : a power route used to establish a link between two substations<br><a href="http://www.openstreetmap.org/relation/6694740" target="_blank">http://www.openstreetmap.org/<wbr>relation/6694740</a><br></div><div><br></div>I know pretty well how lua profiles are built, for cars, bike, pedestrian... but is there any profile available for power or gas pipelines?<br></div>Let's say we have proper data, is the profile the only thing to change to use osrm on pipelines or rivers exclusively ?<br><div><div><br></div><div>Many thanks for any answer regarding this question<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>François</div></font></span></div></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>