If your data is already in postgres you may wish to use pgRouting.

The graph module in geotools has a section in the user guide. If you are 
willing to load your data into memory you may wish to use the normal geotools 
featuresource api to access the information out of PostGIS, load it into a 
graph, and then use the graph to perform a shortest route calculation.

Can you try the following:
1. review how to connect to postgis and read features
- http://geotoolsnews.blogspot.com/2009/11/foss4g-geotools-tutorials.html
2. review how to load features into a graph
- http://docs.codehaus.org/display/GEOTDOC/Graphs
3. review how to perform a shortest path
- http://docs.codehaus.org/display/GEOTDOC/Graphs

Jody

On 04/06/2010, at 4:23 PM, laura siewe wrote:

> Hello world. 
> 
> I am currently doing my graduation project which is to create a navigation 
> system with search of the optimal path. I used the tool mapnik and PostGIS 
> database to generate a map. I am very interested in the implementation of 
> Djikstra  when using Geotools but I confess I do not know how to use it in my 
> case.
> 
> How can we interact with the PostGIS database where all data generated map.
> 
> Pending your response,  receive express my deepest respect.
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to