[pgrouting-users] Shortest Path Shooting-Star Ignore Reverse Cost
Jorge Eliécer Osorio Caro
jorgeliecer.osorio at gmail.com
Mon Jan 30 14:30:19 EST 2012
Im having a issue when try to calculate the shortest path using turn
restricctions this functions ignores the reverse_cost param.
here the SQL:
routing.network.segment as id,
routing.network.length as cost,
routing.network.reverse_length as reverse_cost,
-- node_from, node_to
false, -- directed
true -- reverse_cost
this generate that route:
that method generate the route but it ignores the one_way restriction , the
restriction is ok, but take a route where ignores that.
now in the next image i need the marked red lines are the correct route
because the 15229 and 15228 has both ways.
here how look my table:
id source target cost reverse:cost rule to_cost x1, y1, x2, y2
15245 9082 9150 0.02 100.00021 15214 101.00021 -74.79981 10.94605 -74.7996
how i cant fix that i compiled the last version of pgrouting from git repo.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pgrouting-users