[postgis-devel] (no subject)
Markus Schaber
schabi at logix-tt.com
Wed Jun 29 09:32:21 PDT 2005
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?
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
More information about the postgis-devel
mailing list