[postgis-devel] (no subject)

strk at refractions.net strk at refractions.net
Wed Jun 29 11:36:19 PDT 2005


On Wed, Jun 29, 2005 at 06:32:21PM +0200, Markus Schaber wrote:
> Hi, Strk,
> 
> strk at refractions.net wrote:
> 
> > This can already be done with all postgis releases
> > using buffer(collect(the_geom),0);
> 
> Did you notice that this does only work for polygonal geometries, not
> for points, lines and mixed geometries?

AAARRRGGHHH!
A missing drawback, I new it was too easy !
I guess we'll have to switch this behaviour off
for 1.0.2 and take more time to fix for 1.1.0

--strk;

> 
> geonames=# select asText(buffer('POINT(0 0)',0));
>           astext
> --------------------------
>  GEOMETRYCOLLECTION EMPTY
> (1 row)
> 
> geonames=# select asText(buffer('LINESTRING(0 0,1 1)',0));
>           astext
> --------------------------
>  GEOMETRYCOLLECTION EMPTY
> (1 row)
> 
> Markus
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list