[geos-devel] buffer 0 distance
strk
strk at keybit.net
Thu Dec 11 07:32:56 EST 2003
I've found no special handling for buffer calls with
0 as the distance parameter, but indeed it seems to
be needed since on buffer('LINESTRING(0 0, 45 54)', 0)
call a 'GEMETRYCOLLECTION(EMPTY)' is returned.
Do you all think returning a clone of the passed geometry
is a good policy when asked to return a buffer(0) of it ?
Please let me know.
--strk;
PS: Dave, I've discovered this trying again aime's bug.
the buffer(geom,0) was returning a different geometry
then the input once. After modification of the BufferOp
made sure result was exact copy of input the bug showed
again.
More information about the geos-devel
mailing list