laura siewe wrote:

> I want to use Djikstra module in geotools. I have readed the informations
> which are in this link http://docs.codehaus.org/display/GEOTDOC/Graphs.
> 
> But I don't understand very well how to use that in my context because I
> have displayed a map of my geographic area with geotools from PostGIS
> database. Please I want a kind of example which can help me to start and
> show me how to use a graph with a geographic data which are in the PostGIS
> database.

The most critical part is actually how you store the topological data in 
your database. Having only geometries is not enough for routing (Unless you 
assume that touching geometries are connected).

Do you have Nodes and Edges in your database where you can build a graph 
from?


Jan
-- 
>From address is valid until 01.06.2010
Please don't reply by mail. Reply to the list.


------------------------------------------------------------------------------
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