pgRouting

Forum #18 - Topic #114 - Message List

Missing First EdgeID?

Hi, im doing Route from 14859 to 13361 on my own map data. Why 14859 doesnt appear on the route? Instead the route start on the next segment 14860. Both should be on the route.

gid | x1 | y1 | x2 | y2

14859 |-66.8191 | 10.4868 | -66.8188 | 10.486

14860 |-66.8188 | 10.486 | -66.8191 | 10.486

SELECT vertex_id, edge_id, cost FROM shortest_path_shooting_star( 'SELECT gid as id, source, target, cost, reverse_cost, x1, y1, x2, y2, rule, to_cost FROM ccsroad order by gid' , 14859 , 13361 , false , true);

vertex_id | edge_id | cost

21417 | 14860 | 14.7951

21414 | 14857 | 40.0213

21413 | 14856 | 17.5932

21410 | 14855 | 62.5005

21411 | 16841 | 150.658

19386 | 16842 | 127.036

23950 | 16843 | 15.6602

6703 | 28269 | 69.5884

19413 | 28711 | 94.3868

23611 | 28381 | 69.2953

19410 | 13358 | 43.9747

19411 | 13360 | 175.517

7069 | 13361 | 241.474

  • Message #423

    Are you using the latest version of pgrouting? If so, please file a bug.

    • Message #424

      Well, I'm using the version installed on the foos4g image. How can i know what version is and which one is the latest version?

      • Message #425

        Ah, I see. So, please file a bug.