[postgis-users] Σχετ: postgis-users Digest, Vol 135, Issue 16

Tina Musa timuso at yahoo.gr
Wed Sep 25 07:52:13 PDT 2013


hello, 

i want to use the k shortest paths algorithm i see in https://github.com/pgRouting/pgrouting/tree/master/src/ksp/src
i must to bind to postgis the C fucstion before?
if yes how can do this?

thank you so much


This is already implemented in pgRouting, look in branch sew-devel-2_0 which is our 2.0 development branch.
https://github.com/pgRouting/pgrouting/tree/sew-devel-2_0

-Steve
------------------------------
You can implement any functions you want using stored procedures with plpsql.  Alternatively, you can write functions in C and bind them to
postgis.

plpgsql guide: http://www.postgresql.org/docs/9.1/static/plpgsql.html
c functions guide: http://www.postgresql.org/docs/9.1/static/xfunc-c.html

best of luck.
-Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130925/dea64395/attachment.html>


More information about the postgis-users mailing list