Thanks for the quick reply. I did try with different nodes sets, but still I get the same issue. Even when I tried from node 1 to node 3 (which has a connecting path), its still the same (no result).
I did attach the shape file. It would be greatly appreciated if you can help on this. http://www.nabble.com/file/p25801461/roads.zip roads.zip Anton Patrushev-2 wrote: > > Hi, > > It is difficult to say why you got empty result. Probably there is no > any way between nodes 1 and 14, or probably there is something wrong > with your data. If your data is not very big, you can post it here. > > Anton. > > On Thu, Oct 8, 2009 at 10:25 AM, Supunmali Ahangama > <[email protected]> wrote: >> >> Hi, >> >> I am doing an application to find the optimal path using Dijkstra >> function >> in pgrouting. I created the topology for the road data. It didnt give any >> exception and did work fine when i did it through pgAdmin111 (create >> source >> node, target node for each edge and vertices_tmp). >> >> But when i did run the >> >> >> DROP TABLE IF EXISTS dijsktra_result; >> >> CREATE TABLE dijsktra_result(gid int4) with oids; >> >> SELECT AddGeometryColumn('dijsktra_result', 'the_geom', '-1', >> 'LINESTRING', >> 2); >> >> INSERT INTO dijsktra_result(the_geom) >> >> SELECT the_geom FROM dijkstra_sp('edgesnew', 1, 14); >> >> >> This runs (without any error), but it don't affect any rows. There is >> nothing in the created table dijsktra_result. >> >> What should I need to do get the results? >> >> >> -- >> View this message in context: >> http://www.nabble.com/Issue-in-getting-Dijkstra-result-tp25797106p25797106.html >> Sent from the PostGIS - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> postgis-users mailing list >> [email protected] >> http://postgis.refractions.net/mailman/listinfo/postgis-users >> > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > > -- View this message in context: http://www.nabble.com/Issue-in-getting-Dijkstra-result-tp25797106p25801461.html Sent from the PostGIS - User mailing list archive at Nabble.com. _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
