shootingstar (#18) - Start edge was not found (#268) - Message List

Start edge was not found

I am getting this message when i get this command,

SELECT * FROM shortest_path_shooting_star('SELECT id, source, target, cost,reverse_cost, "x1", "y1", "x2", "y2", rule, to_cost FROM routing',603758,470694,true,true)

When i do a SELECT * FROM routing where id=603758 or id=470694, i get a valid record back.

Am i missing something fundamental? Problem with costs?

thanks

  • Message #953

    "Start edge was not found" probably means that the start edge was not found. ;-)

    What is your ID? A vertex ID or an edge ID?
    For Dijkstra and A* algorithm you need vertex ID's as start and end point because the algorithm routes from vertex to vertex. For Shooting* algorithm you need edge ID's as start and end, because the graph only cares about links.