Ticket #159 (closed task: invalid)
shortest path result not in order.
Reported by: | shafeer | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | pgRouting package | Version: | |
Keywords: | Cc: |
Description
SELECT rd_network.* FROM my_road rd_network, (SELECT edge_id as gid FROM shortest_path('SELECT gid AS id, source, target,length as cost,length AS reverse_cost FROM my_road',1878,1490, false, false) ) as rt WHERE rt.gid=rd_network.gid;
I am trying to execute this query in 2 different Server one is of red hat and another of centOS. But I ends up in two different output(I mean the order) while executing in both. But my inner Query output was same for both the server. (i.e) SELECT edge_id as gid FROM shortest_path('SELECT gid AS id, source, target,length as cost,length AS reverse_cost FROM my_road',1878,1490, false, false)