I used osm2po to create a table for pgRouting. I notice a problem: for a route with dijkstra or a* the route is correct and respect the one ways. But with shooting*, it doesn't respect the one ways.
The route is from 11 baulacre geneve (46.2159082, 6.1394522) to coq inde cologny (46.2068106, 6.1919172).
Here are the queries: dijkstra/a*:
SELECT topo.id, topo.osm_name, topo.geom_way FROM Shortest_Path('SELECT * FROM ch_2po_4pgr', 263951, 271357, true, true) AS path, ch_2po_4pgr AS topo WHERE path.edge_id = topo.id;
SELECT topo.id, topo.osm_name, topo.geom_way FROM Shortest_Path_shooting_star( 'SELECT *, geom_way as rule, reverse_cost as to_cost FROM ch_2po_4pgr', 321089, 309056, true, true) AS path, ch_2po_4pgr AS topo WHERE path.edge_id = topo.id;
Did you notice the same problem with shooting* in others situations?
Here is a picture. The orange line is for a*. The red line is for shooting*. Since with shooting* with use edge_id instead vertex_id, maybe the algo starts at the beginning of the way (starting point is in pink), but the problem with the one ways is in the pink circle: the red line uses the "rue des Alpes" which is a one way.
Thanks to all for your help!