[postgis-users] Intersects(geometry,geometry) fails

Paul Ramsey pramsey at refractions.net
Tue Jan 13 14:17:47 PST 2004


Could you try this "reduced" test case on your machine?

select intersects(GeometryFromText('POLYGON((2 0,5 0,5 3,2 3,2 
0))',54001),'SRID=54001;POLYGON((0 0,2 0,7 5,2 5,0 0))');

We found a memory alignment problem on Solaris and fixed it, but it was 
not in the execution path for this example, so it probably did not fix 
your problem. Still, try the latest CVS of postgis and see if things 
have improved.

Paul Ramsey wrote:

> Well, my compile under Solaris 2.6 did not have any problems, but I *am* 
> turning up some other issues. Some of the OGC tests cause segfaults, so 
> we are onto something here.
> 
> More l8r.
> 
> P.
> 
> David Valentine wrote:
> 
>>
>> On Jan 12, 2004, at 4:17 PM, Paul Ramsey wrote:
>>
>>> Werks fer me.
>>> What GEOS version? Operating system, compiler?
>>>
>> solaris8
>> both GCC 2.95.3, and 3.3.2 (packages from sunfreeware.com)
>> standard solaris tools (/usr/ccs/bin) and GNU binutils
>>
>> GCC3.3.2
>> Had to use 'CFLAGS=-fPIC' to get postgis-0.80 (and 0.81) to compile
>>
>> Under 2.95.3 I could not get geos-1.0 to compile with LDFLAGS=-lstdc++
>>
> 
> 
> 


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the postgis-users mailing list