Have a look at the graph page in the wiki; you can define your own relationship 
test when building the graph; and in this case you may want to use 
geometry.touches( geometry2 ) ?
On 23/03/2010, at 3:55 PM, Ahmed Abdeen Hamed wrote:

> Hello friends,
> I am composing a graph from a shapefile and trying to connect the nodes via 
> edges that represent "adjacent_to" or "neighbor_of" relationships. I believe 
> this information is already built-in the map but do I have to infer it to 
> compose the graph? Are there some examples that can be looked at? My features 
> are read as MultiPolygon.
> Thanks very much!
> Ahmed
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to