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 The assertion fails on Linux, but it behaves correctly on Windows and on 64-bit Mac OS X 10.6. I verified that using GEOS directly in a C++ test program works. It seems like this could be a ctypes problem since the Shapely code is the same in these cases. Has anyone else encountered this or similar misbehavior between platforms? Thanks in advance for any insight on this issue. -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
