[postgis-users] ST_Buffer returning multipolygons
Francois Hugues
hugues.francois at irstea.fr
Thu Jan 17 22:44:14 PST 2013
Hello,
If your input is a multipolygon, st_buffer may return a multipolygon
since your buffered the buffered polygons which compose your
multigeometry may not intersect each other.
Hugues.
-----Original Message-----
From: postgis-users-bounces at lists.osgeo.org
[mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of marquz74
Sent: Friday, January 18, 2013 12:41 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] ST_Buffer returning multipolygons
Hi to all,
I'm practicing with ST_buffer on North Carolina Dataset (nc_spm_08).
By running the following query:
SELECT GeometryType(sub.buffer)
FROM (
SELECT st_buffer (the_geom, 100) AS buffer
FROM streams
) AS sub
WHERE
GeometryType(sub.buffer) <> 'POLYGON';
I've been getting some MULTIPOLYGON records.
Is it possible? I guessed ST_Buffer could return POLYGON geometries
only...
was I wrong?
Thanks in advance.
Marco
--
View this message in context:
http://postgis.17.n6.nabble.com/ST-Buffer-returning-multipolygons-tp5002
333.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list