From: Paul Ramsey Date: Fri, 29 May 2015 21:21:51 +0000 (+0000) Subject: Lower limit on max vertices X-Git-Tag: 2.2.0rc1~432 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36b3d4316dbc1147aa3cfb5ff1494406aef4491b;p=postgis Lower limit on max vertices git-svn-id: http://svn.osgeo.org/postgis/trunk@13583 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c index c6e2b782d..a9ed10972 100644 --- a/liblwgeom/lwgeom.c +++ b/liblwgeom/lwgeom.c @@ -2055,7 +2055,7 @@ lwgeom_subdivide(const LWGEOM *geom, int maxvertices) const int minmaxvertices = 16; LWCOLLECTION *col; - if ( maxvertices < 16 ) + if ( maxvertices < 8 ) { lwerror("%s: cannot subdivide to fewer than %d vertices per output", __func__, minmaxvertices); }