Re: [Community] Why does lgeos.GEOSProject fail but lgeos.GEOSInterpolate succeed?

2010-01-22 Thread Sean Gillies
Great! I've started to add this to 1.2, but won't in 1.0. One change I've made is to consolidate the project method, adding a 'normalized' keyword arg. http://trac.gispython.org/lab/changeset/1525/Shapely/branches/1.2 On Jan 22, 2010, at 6:46 PM, Roy Hyunjin Han wrote: > Hi Sean Gilles, > >

Re: [Community] Segmentation fault for 64 Bit platforms in to_wkb function

2010-01-22 Thread Sean Gillies
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 >

Re: [Community] Why does lgeos.GEOSProject fail but lgeos.GEOSInterpolate succeed?

2010-01-22 Thread Roy Hyunjin Han
Hi Sean Gilles, I created a patch against Shapely-1.0.14 that exposes the GEOS linear referencing methods GEOSProject and GEOSInterpolate. I also created a basic test case. There is no error-checking though. Please tell me if you need more information. Thanks for creating this package. I

Re: [Community] Why does lgeos.GEOSProject fail but lgeos.GEOSInterpolate succeed?

2010-01-22 Thread Roy Hyunjin Han
When I use novalis's patch from http://code.djangoproject.com/attachment/ticket/11948/contrib-gis-linearref.patch on Django 1.1.1, projection and interpolation seem to work properly, including on MultiLineStrings for multiple line segments. I will try to figure out why the same code isn't work

[Community] Why does lgeos.GEOSProject fail but lgeos.GEOSInterpolate succeed?

2010-01-22 Thread Roy Hyunjin Han
I have been trying to use the GEOS linear referencing functions through the base geometry class as Sean suggested in an earlier email, and although interpolation works, projection does not (lgeos.GEOSProject gives a return code of 0 instead of 1). Do you have any idea why this is happening?