[Cartoweb-users] pgdijkstra
Eggenschwiler Raphael
raphael.eggenschwiler at gmail.com
Fri Jan 27 08:48:03 EST 2006
Hi everyone.
Can you say me why this example don't run ?
create table test_arc_2(
id INTEGER,
source INTEGER,
target INTEGER,
cost FLOAT
);
INSERT INTO test_arc_2(id,source,target,cost) VALUES(10685,13889,13890,10);
INSERT INTO test_arc_2(id,source,target,cost) VALUES(10686,13891,13892,10);
INSERT INTO test_arc_2(id,source,target,cost) VALUES(10687,13893,13894,10);
INSERT INTO test_arc_2(id,source,target,cost) VALUES(10688,13889,13893,10);
SELECT * from shortest_path('SELECT source,id,target,cost FROM
test_arc_2',13889,13894,false,false);
ERROR: Error computing path: Source vertex not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060127/1579680e/attachment.html
More information about the Cartoweb-users
mailing list