[Cartoweb-users] postGIS & dijkstra

Sarawut Ninsawat sarawut.map at gmail.com
Fri Dec 9 09:40:34 EST 2005


Dear All,

I have a problem with pgdijkstra

I try to install dijkstra.sql with

"psql -d demo_ins -f dijkstra.sql "

and I got this error

ERROR:  could not access file "MODULE_PATHNAME": No such file or
directory

but

"psql -d demo_ins -f dijkstra_postgis.sql "

is no problem.

I use Linux mandriva with PostgreSQL 8.04 and latest postGIS

Any idea about this error.

Sarawut
> 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;
>



More information about the Cartoweb-users mailing list