Hi Ahmed, The problem is your data. You are reading a polygon shapefile in which geometries are stored as MultiPolygons. But the LineStringGraphGenerator is expecting, well, LineStrings :-)
There is a PolygonGraphGenerator class. Michael ------------------------------------------------------------------------------ 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
