[Community] confusion with convex hull w/ shapely
hobu.inc at gmail.com
Fri Mar 26 20:49:40 EET 2010
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 : line.wkt
> Out: 'LINESTRING (-0.5000000000000000 0.5000000000000000, -1.5000000000000000 1.2000000000000000, -1.0000000000000000 1.0000000000000000, -0.5000000000000000 0.5000000000000000)'
> In : line.boundary.is_empty
> Out: 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 :)
More information about the Community