pgrouting calculate length of shortest travel time route

المشرف العام

Administrator
طاقم الإدارة
I currently use the pgr_kdijkstraCost() function to calculate the travel times of a few origins and destinations. But I would also like to return the distance length of these trips. Is this possible? If so, how would you go about it?

If it is not possible for a k matrix, is it possible for a single origin and destination?

And as a bonus question, I have multiple origins, but the function only supports one. Is there a way to check for an array of origins, similar to how you can check for an array of destinations.

Thanks



أكثر...
 
أعلى