[OSRM-talk] Extended graph output file

Sotorrio, Pedro sotorrio1 at llnl.gov
Wed Nov 11 21:32:43 UTC 2015


Thanks a lot, Daniel!

—Pedro

From: Daniel Hofmann <hofmann at mapbox.com<mailto:hofmann at mapbox.com>>
Reply-To: Mailing list to discuss Project OSRM <osrm-talk at openstreetmap.org<mailto:osrm-talk at openstreetmap.org>>
Date: Wednesday, November 11, 2015 at 1:26 PM
To: Mailing list to discuss Project OSRM <osrm-talk at openstreetmap.org<mailto:osrm-talk at openstreetmap.org>>
Subject: Re: [OSRM-talk] Extended graph output file

The edge-expanded graph already gets written to disk; this was introduced in the following commit:

https://github.com/Project-OSRM/osrm-backend/commit/e45656e5bfb0b61a2859f0c754e66322996f1640

which is not yet in the latest release, so you have to build from the develop branch.


If you search for ebg you will see related files:

https://github.com/Project-OSRM/osrm-backend/search?utf8=%E2%9C%93&q=ebg


Word of caution: the serialization in OSRM is done by just dumping internal datastructures in binary format.
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.
You would have to get the data structure layout right, in order to make use of the ebg file from other programs.

On Wed, Nov 11, 2015 at 4:15 PM, Sotorrio, Pedro <sotorrio1 at llnl.gov<mailto:sotorrio1 at llnl.gov>> wrote:
Hello,

I’m new in OSRM but my understanding is that the graph output file in OSRM is a binary file, correct?

Is there a way to write out the edged expanded graph (with turns) to a readable file?

Thanks a lot in advance,

Pedro



_______________________________________________
OSRM-talk mailing list
OSRM-talk at openstreetmap.org<mailto:OSRM-talk at openstreetmap.org>
https://lists.openstreetmap.org/listinfo/osrm-talk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20151111/7db86865/attachment.html>


More information about the OSRM-talk mailing list