Russell Duhon wrote:
> Hi,
> 
> While working on a recent project I ran into a problem in doing  
> anything with the .centroid.coords of an geometry. I can get the  
> coords object, but if I try to index, iterate, or do much of anything  
> else, I get major errors.
> 
> If running as a script, I get
> 
> pure virtual method called
> terminate called without an active exception
> Abort trap
> 
> If running in an interactive session, I get a segmentation fault.
> 
> This happens with GEOS 3.0.0 or 2.2.3.
> 
> I've found a workaround (actually, a much better way of doing what I  
> want to) in this case, and there's always .centroid.x and .centroid.y,  
> which both work fine, but this seemed to be a bug.
> 
> Shapely is an excellent library, and it has greatly simplified several  
> of my recent projects.
> 
> Thanks,
> Russell

Hi Russell,

This sounds like bug #159

http://trac.gispython.org/projects/PCL/ticket/159

which I thought to be fixed in version 1.0.3. Which version are you
using now?

Sean

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to