[geos-devel] blowing up on negative value buffer() call

strk strk at keybit.net
Tue Nov 3 12:38:41 EST 2009


On Fri, Oct 30, 2009 at 02:23:17PM -0700, Leo Shklovskii wrote:

> Unfortunately, I've found several polygons that are valid but cause the 
> first call to buffer() to blow up (memory leak + spiked cpu + doesn't 
> return).
> 
> Should I file this as a GEOS bug? or am I not using buffer() correctly?

Negative buffer is supported, so looks like a bug.
The best report would be in the form of an XML test.
See tests/xmltester/tests/TestBufferExternal2.xml
for examples on how to format a testcase for negative buffers.

Or feel free to just report your input polygon WKT.

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 


More information about the geos-devel mailing list