[Cartoweb-users] postGIS & dijkstra

Sylvain Pasche sylvain.pasche at camptocamp.com
Tue Dec 6 11:53:58 EST 2005


Hello,

What is the version of PostgreSQL you are using ? Pgdijkstra is only
compatible with >8.0 and there may be problems with older version not
recognizing the MODULE_PATHNAME constant.

Regards,

Sylvain

Le mardi 06 décembre 2005 à 16:46 +0100, Eggenschwiler Raphael a écrit :
> 
> 
> Hello everyone !
> 
> 
> I try to install dijkstra.sql :
> 
> CREATE OR REPLACE FUNCTION shortest_path(sql text, source_id integer,
> target_id integer,  
>                                          directed boolean,
> has_reverse_cost boolean)
>         RETURNS SETOF path_result
>         AS 'MODULE_PATHNAME'
>         LANGUAGE 'C' IMMUTABLE STRICT;
> 
> ERROR:  could not access file "MODULE_PATHNAME": No such file or
> directory
> 
> Can someone understand this error ? What is exactly this
> MODULE_PATHNAME ?
> 
> Thanks 
> 
> Raphael
> 
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users



More information about the Cartoweb-users mailing list