[OSRM-talk] [pgrouting-dev] Making progress on dumping pgRouting tables to OSRM

Dennis Luxen luxen at kit.edu
Thu Nov 14 02:10:42 UTC 2013


Daniel,

> To be able to use the route for further processing, it would be also nice, if OSRM would return a list of original network link ID's instead of a more or less simplified route geometry and a few via points.

Yes, we throw these IDs away. As a workaround you can adapt the LUA based profile to use the way ID instead of the road name and take it from there.

> This is not an issue for distance matrices, where you only need to total distance or cost, but too much generalized routes was the reason, why I couldn't make use of OSRM once. And especially if the OSRM routing result could be later used again in PostgreSQL/PostGIS, having the original road network ID's would be very helpful.

You can control the level of generalization with the zoom level parameter.

> So far I couldn't find anything else than this JSON output format: https://github.com/DennisOSRM/Project-OSRM/wiki/Output-json

Yep, it is not in there.

—Dennis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20131113/54a1e914/attachment.html>


More information about the OSRM-talk mailing list