[GIS] way to add turn restrictions in A* and Dijkstra

osm2pgroutingpgroutingrouting

We are currently working with pgRouting and found that there's no way of implementing turn restrictions (e.g. banned right or left turns). While it is possible to assign "to_cost" and "rule" in Shooting * algorithm… I couldn't find a way of implementing these restrictions using A star and Dijktra algorithms.

Is there a way of implementing special turn restrictions in A star and Dijkstra methods ?

Best Answer

Yes, we have just implemented a turn restricted shortest path (trsp). I think it has been checked into a git branch at origin/trsp. It is not documented yet. If you have questions or need help ask on the pgrouting list, because that is where I hangout.

-Steve

Related Question