[Cartoweb-users] Pgdijkstra Directed Map
    Aileen Baylon 
    aileen at mapcentral.ph
       
    Thu Aug 17 21:01:34 EDT 2006
    
    
  
Thanks Sylvain for yor quick reply.
1. What I meant by the directed route is the roads being one-way or two way
or the roads being major roads or minor roads. How do return a postgis path?
Currently I'm using the shortest_path_as_geometry() function but I read in 
the readme
that I can pass to the shortest_path function if the road is directed or not 
(true/false)
2. How do I tell my query that I already have a "distance" column in my 
table?
How does pgDijkstra compute the shortest path using the distance?
3. So if I have existing source_id & target_id in my table, I do not need to 
call the
assign_vertex_id function right? But I should still call the 
create_graph_tables? This is
what I did but if I don't use the assign_vertex_id function before the 
create_graph_tables function I
get an error. :(
Much help will be appreciated.
Regards,
Aileen
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.1/421 - Release Date: 8/16/2006
    
    
More information about the Cartoweb-users
mailing list