[postgis-devel] intersects also seems to have problem with CircularStrings

Ken Southerland southerland at samsix.com
Fri Oct 10 12:22:54 PDT 2008


Again, postgres 8.2 and postgis 1.3.1.

select st_intersects( geom, buffer(setsrid('BOX(601361.4700644684 
355218.2141958948, 601668.4150596277 355416.58465439035)'::box2d, 
32015), 5.0)) from features where geom && setsrid('BOX(601361.4700644684 
355218.2141958948, 601668.4150596277 355416.58465439035)'::box2d, 32015);

...gives...

ERROR:  Exception in LWGEOM2GEOS: curved geometry not supported.

... if the geom column in features has a curved geometry in it, but 
confusingly the following query works...

select st_intersects( 'BOX(0 0, 3 3)'::box2d, 
GeomFromText('CIRCULARSTRING(1 1, 2 2, 1.5 1.5)'));

... so i'm not sure if it's the intersects method or some other deeper 
method that get's called in the former.  Is there a way to show more of 
a stack trace with the error message?

Ken


-- 
------s----a----m----s----i----x------
--

Ken Southerland
Senior Consultant
Sam Six, Inc.

503-358-6542
http://www.samsix.com



More information about the postgis-devel mailing list