Commit 403e5c5c authored by Paul Ramsey's avatar Paul Ramsey

#3126, ST_SubDivide garden crasher on Polyhedral Surface


git-svn-id: http://svn.osgeo.org/postgis/trunk@13566 b70326c6-7e19-0410-871a-916f4a2858ee
parent de144d6e
......@@ -1879,6 +1879,11 @@ static int
lwgeom_subdivide_recursive(const LWGEOM *geom, int maxvertices, LWCOLLECTION *col, GBOX *clip)
{
if ( geom->type == POLYHEDRALSURFACETYPE || geom->type == TINTYPE )
{
lwerror("%s: unsupported geometry type '%s'", __func__, lwtype_name(geom->type));
}
/* Always just recurse into collections */
if ( lwgeom_is_collection(geom) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment