On Mar 26, 2010, at 1:48 PM, Kurt Schwehr wrote: > Since I'm parsing the original data, is seams a shame to have to leave python > to do a convex hull. > > Either way, it looks to me like there is a bug with boundary: > > In [10]: line.wkt > Out[10]: 'LINESTRING (-0.5000000000000000 0.5000000000000000, > -1.5000000000000000 1.2000000000000000, -1.0000000000000000 > 1.0000000000000000, -0.5000000000000000 0.5000000000000000)' > > In [13]: line.boundary.is_empty > Out[13]: True > > From the manual, it looks like boundary of a line shouldn't be empty.
This line has coincident points (-0.5 0.5) , maybe that's the problem. Given my attempts at doing so, I think my assertion about doing multi-million point hulls in Python or GEOS still stands :) _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
