[pgrouting-users] Restriction cost in pgr_trsp results

Daniel Urda daniel.urda.ct at gmail.com
Mon Feb 15 07:54:03 PST 2016


Hello,

As far as I understand, when using TRSP, the cost column in the results
only includes the cost for traversing the respective edge, without taking
into account the cost for actually arriving on that edge (e.g. the cost of
a restriction which has the current edge as to and the previous one as
from).

 Is there a way to get such costs (besides the obvious, but rather
inefficient way, of querrying the restriction table for each pair of
consecutive edges in the computed way) ?

Best regards,
Daniel U
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20160215/28832b2a/attachment.html>


More information about the Pgrouting-users mailing list