[postgis-users] pgrouting 0.7 and a*
Sandeep Kumar Jakkaraju
sandeepkumar.jakkaraju at gmail.com
Sun Nov 5 09:19:58 PST 2006
I have one query ..how do you test if that pg_routing is giving
correct results or not ??
Thanks
-
sandeep
On 11/5/06, Ville Antti Ensio Leinonen <levian00 at students.oamk.fi> wrote:
Hi. Im working with routing. I allready have tryed with pgdijsktra cmodule
> and that worked somewhat right, now i found pgrouting 0.9.7 module. I got
> dijkstra to works sameway as in pgdijsktra, but i cant find any howto or
> tutorial to get A* work.
>
> for dijkstra i have
> l table with data
> l.edges has id,source,targer,cost,reverse_cost
> l.vertices has id,the_geom
> works fine after little modification to _internal_id() function, and
> actually looks like pgrouting works better that pgdijkstra when using
> dijsktra.
>
> Now what i need to do to get A* work, i assume that i need x1,x2,y1,y2
> columns to l.edges table? but what data and how i populate those values?
> maybe something to do with long/lat?
>
> shortest_astar_path_as_geometry('l', source_id, target_id, delta);
> And what is delta, README.INSTALL file dosen't talk to me.
>
> Thanks You for help
>
>
>
> ---------------------------------
> -- Ville Leinonen --
> ----------------------------------
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
--
Sandeep Kumar Jakkaraju
WeBlog:
http://jakkarajus.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061105/2280c650/attachment.html>
More information about the postgis-users
mailing list