[Community] Shapely is_empty fails on Linux

Howard Butler hobu.inc at gmail.com
Thu Jan 21 18:16:18 EET 2010


On Jan 21, 2010, at 9:30 AM, Patrick Hartling wrote:

> We have run into a strange problem with the is_empty property on Shapely
> goemetry objects failing on Linux. We are using r1485 from the Shapely 1.2
> branch with GEOS 3.1.1 and Python 2.6.2 on 64-bit Ubuntu Linux 9.04. The
> code below demonstrates the problem:
> 
> import shapely.geometry
> assert shapely.geometry.Point(1,1).is_empty == False

What about this?  Maybe the chaining is causing the reference to go bad.

p = shapely.geometry.Point(1,1)
p.is_empty






More information about the Community mailing list