[pgrouting-users] Direction for path

Stephen Woodbridge woodbri at swoodbridge.com
Mon Oct 12 22:32:46 EDT 2009


poonam jalwan wrote:
> Hi All,
> 
> I am using pgrouting functions for finding  shortest path from point A 
> to point B,Now i want to find the direction of shortest path and 
> multiple path from point A to point B.Please anyone help which function 
> of pgrouting i have to use.

When you say "direction of shortest path" are you referring to human 
readable text driving directions?

If so there currently is no function in pgRouting that does that. I have 
discussed this in some detail on the list (check the archives), and how 
it can be implemented. I have implemented this:
http://imaptools.com:8080/maps/dd2.html?lat=34.53886&lon=69.15786&zoom=13&layers=B00TFTTTF&start=69.144741%2034.547085&stop=69.172264%2034.531735&method=STS&lang=eng
but is dependent on the structure of the data tables you load and use. 
There is a lot more information in the archives explain how this was done.

-Steve



More information about the Pgrouting-users mailing list