[pgrouting-users] pgr_kdijkstraCost- how to use array with braces?

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Sep 17 09:25:31 PDT 2015


Hello,

I am trying to work with pgRouting's pgr_kdijkstraCost to find multiple paths.  The input requires an array of target nodes enclosed by brackets [].  But when I generate the array in Postgres, the array is enclosed in braces {}.  So I can't get the algorithm to work.

Can anyone suggest how to make this array work with the pgr_kdijkstraCost algorithm?

Thanks,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20150917/9acfbe4f/attachment.html>


More information about the Pgrouting-users mailing list