[postgis-users] ST_Buffer works on geometrycollections?

Martin Davis mbdavis at refractions.net
Mon May 26 15:06:28 PDT 2008


Speaking for JTS and GEOS (which means PostGIS as well), buffer() *does* 
work on GeometryCollections.

I suspect the PostGIS doc is incorrect.

Reid Priedhorsky wrote:
> All,
>
> The docs for ST_Buffer() say that it does not accept 
> geometrycollections as input. However, I've tried it on my 
> geometrycollections, and it seems to work, even in cases which caused 
> ST_Union() to fail complaining about geometrycollection input.
>
> Any theories? Am I setting myself up for future trouble?
>
> Thanks,
>
> Reid
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022




More information about the postgis-users mailing list