[pgrouting-dev] redundant core sql functions

Mario Basa mario.basa at gmail.com
Mon Jul 2 00:02:21 PDT 2012


Hello,

The core wrapper functions have

dijkstra_sp_delta_directed
astar_sp_delta_directed

with "length" hard coded as cost for some reason.

While astar_sp_delta_cc has a cost column parameter, but all it does
is call astar_sp_delta_cc_directed  with
reverse_cost=false,directed=false.

There is also no dijkstra_sp_delta_cc with a cost column parameter, so
a user has to rename the column containing the cost value to "length"
to use this clipping function. Etc....

Personally I am getting confused with all these functions and would
like to just trim it down to dijkstra_sp_delta and astar_sp_delta with
a cost column parameter along with reverse_cost and directed
parameters.

Opinions?

Mario.


More information about the pgrouting-dev mailing list