Go for it; pg routing you can call and it will do the work inside the database.
Using the graph module you need to pull the features out of the database; into
a graph structure and then find the shortest path.
Both work; use whatever one you get working.
Jody
On 28/06/2010, at 5:51 AM, laura siewe wrote:
> I want to calculate the optimal route between two points on a map. I use
> PostgresSQL / PostGIS and GeoTools. I am wondering if it is possible to use
> Pgrouting with 2 tools or if I must use the module of Djisktra Geotools? If
> possible how can I use PgRouting that seems simpler than the Djisktra module
> of Geotools?
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first --
> http://p.sf.net/sfu/sprint-com-first_______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users