On 01/22/2010 05:26 PM, Sean Gillies wrote:
> On Jan 22, 2010, at 1:12 AM, Roy Hyunjin Han wrote:
>
>> Sean, is it possible to apply Paul Balomiri's patch to Shapely-1.2a1-
>> py2.6
>> as well?
>> http://lists.gispython.org/pipermail/community/2009-October/
>> 002281.html
>>
>> Shapely-1.2a1-py2.6 fails on the following code after I enlarged the
>> swap
>> space partition from 5GB to 12GB on Fedora 12 64-bit.  I tried
>> running the
>> same code using an earlier version of Shapely (Shapely-1.0.14-
>> py2.6.egg)
>> and the code ran without error.
>>
>>
>> In [1]: from shapely.geometry import asLineString
>> In [2]: from numpy import array
>> In [3]: a = array([[1.0, 2.0], [3.0, 4.0]])
>> In [4]: line = asLineString(a)
>> In [5]: line.wkt
>> python: geos_ts_c.cpp:196: void GEOSFree_r(GEOSContextHandle_HS*,
>> void*):
>> Assertion `0 != extHandle' failed.
>> Aborted (core dumped)
>>
>>
>> Thanks, Sean for maintaining this library.
>> Thanks, Paul for the patch.
>
> Roy,
>
> We've got Paul's fix in 1.2. Are you willing to try 1.2a2? Can you
> tell me which GEOS version you're using?
>
> Thanks for helping us shake the bugs out,
>
> --
> Sean
>
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community

Hi Sean,

I tried Shapely-1.2a5 just now and the wkt problem seems to have been 
fixed in Fedora 12 32-bit and 64-bit.  The system is using GEOS 3.2.0

Thanks,
RHH

-- 
Roy Hyunjin Han
http://invisibleroads.com
Empowering people to create since 2008
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to