<div dir="ltr"><div><div><div><div><div><div>The edge-expanded graph already gets written to disk; this was introduced in the following commit:<br><br><a href="https://github.com/Project-OSRM/osrm-backend/commit/e45656e5bfb0b61a2859f0c754e66322996f1640">https://github.com/Project-OSRM/osrm-backend/commit/e45656e5bfb0b61a2859f0c754e66322996f1640</a><br><br></div>which is not yet in the latest release, so you have to build from the develop branch.<br><br><br></div>If you search for ebg you will see related files:<br><br><a href="https://github.com/Project-OSRM/osrm-backend/search?utf8=%E2%9C%93&q=ebg">https://github.com/Project-OSRM/osrm-backend/search?utf8=%E2%9C%93&q=ebg</a><br><br></div><br></div>Word of caution: the serialization in OSRM is done by just dumping internal datastructures in binary format.<br></div>This is neither a portable between operating systems, compilers or even standard libraries, nor a stable format, and in particular not intended to be read from other programs.<br></div><div>You would have to get the data structure layout right, in order to make use of the ebg file from other programs.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 4:15 PM, Sotorrio, Pedro <span dir="ltr"><<a href="mailto:sotorrio1@llnl.gov" target="_blank">sotorrio1@llnl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hello,</div>
<div><br>
</div>
<div>I’m new in OSRM but my understanding is that the graph output file in OSRM is a binary file, correct?</div>
<div><br>
</div>
<div>Is there a way to write out the edged expanded graph (with turns) to a readable file?</div>
<div><br>
</div>
<div>Thanks a lot in advance,</div>
<div><br>
</div>
<div>Pedro</div>
<div><br>
</div>
<div><br>
</div>
</div>
<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>
<br></blockquote></div><br></div>