[geos-devel] Bug in GEOS not in JTS

Carl Anderson carl.anderson at vadose.org
Fri Apr 23 01:01:27 EDT 2004

the following snip (for PostGIS) always causes a SIGABRT.  I am sure  
that it is in GEOS.

select buffer(shape,0) from
select 'MULTIPOLYGON(((2170000 1350000,
2170000 1350176.60928587,2170055.96366235 1350000,2170000 1350000)))':: 
geometry as shape ) as a

actually any shape that is the left 1/2 of a north up oriented  
rectangle seems to cause the SIGABRT.  the error can be triggered by  
buffer(), difference(), intersection(), and symdifference().

buffer(shape,0.00001) does not SIGABRT in the above example.

I tested this and several similar shapes that bomb in PostGIS and they  
validate correct in JTS/JUMP.  Even the buffer(0) fcn works in JUMP.

does anyone have a working version of doc/example.cpp against CVS
that I can use to track this down?


Carl Anderson.

More information about the geos-devel mailing list