<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2017-08-24 23:18 GMT+02:00 Daniel Patterson <span dir="ltr"><<a href="mailto:daniel@mapbox.com" target="_blank">daniel@mapbox.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Franccois,<div><br></div><div>  In the lua profiles, you can set the `result.is_startpoint` property in `process_way` (used to be `way_function`) to determine whether you can snap to them.  We currently use this for ferry routes - paths can use them, but can't start/end on them.</div><div><br></div><div>  Set `is_startpoint` to true for your substations way areas, and `is_startpoint` to false for the transmission lines.</div></div></blockquote><div><br></div><div>That's exactly what I need, thank you<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>  The route will start by following the outside edge of the substations area polygon, but it sounds like that doesn't matter too much to you.</div></div></blockquote><div><br></div><div>It doesn't matter indeed.</div><div>But it may be an issue that power lines aren't actually connected to substation perimeter ?</div><div><br></div><div>Like this one : <a href="https://www.openstreetmap.org/way/100500802">https://www.openstreetmap.org/way/100500802</a></div><div>The outside edge of the substation is the fence surrounding it and power lines goes above it without connection.</div><div><br></div><div>Should I preprocess my data to make it more accessible to osrm or there's other way ?</div><div><br></div><div>Francois<br></div></div><br></div></div>