Re: [OSRM-talk] Shortest path post-processing

2015-12-14 Thread Patrick Niklaus
Hey Franics! the naming is a little bit unfortunate in that code path. I started refactoring this a little bit but got caught up in other tasks. What UnpackPath() actually does it to unpack (remove shortcut edges) _and_ decompress (translate it to a geometry). That means the node ids you get

[OSRM-talk] Shortest path post-processing

2015-12-13 Thread Francis Giraldeau
Hello! I would like to do some post-processing on the resulting shortest path using edges from the graph. In ViaRoutePlugin, I tried to iterate on the raw_route.unpacked_path_segments, but the BeginEdges(node) and EndEdges(node) returns an empty range as if the a segment is not connected to the