[Cartoweb-users] Questions about about pgdijkstra

Sylvain Pasche sylvain.pasche at camptocamp.com
Tue Jan 17 04:55:11 EST 2006

Le lundi 16 janvier 2006 à 14:05 -0500, Fay Du a écrit :

> > 
> -- What I trying to see is, if I set directed=ture, if there is a
> segment S, which start point is A, end point is true, can a shortest
> pass goes from point B to A when it passes Segment S? Do I have to
> physical set Segment S start point to point B, and end point to A? ie. 
>    When I use following select command:
> Select astext(the_geom) from graphy where id=Sid;
> In return "MULTILINESTRING", the first point has to be Point B's
> coordinate, and last point has to be A's coordinate?
> If it is not necessary, how program know from Point B to A is allowed
> and Point A to B is not allowed?
> Hope I explain myself clearly this time.
> Fay

Pgdijsktra does not use geometry. Geometries are only used for instance
with the assign_vertex_id() and shortest_path_as_geometry() functions.

Is your issue related to the use of one of these functions ?

More information about the Cartoweb-users mailing list