]> granicus.if.org Git - postgis/commitdiff
BUGXFIX in affine() failing to update bounding box
authorSandro Santilli <strk@keybit.net>
Tue, 16 May 2006 17:09:52 +0000 (17:09 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 16 May 2006 17:09:52 +0000 (17:09 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2350 b70326c6-7e19-0410-871a-916f4a2858ee

CHANGES
lwgeom/lwgeom_functions_basic.c

diff --git a/CHANGES b/CHANGES
index 8489b556566989bd591601da506a79e188875d40..ed2b835c4c1481686391a35660f59fed9acee42e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
 PostGIS 1.1.3CVS
 
+       - BUGXFIX in affine() failing to update bounding box
        - WKT parser: forbidden construction of multigeometries with
          EMPTY elements (still supported for GEOMETRYCOLLECTION).
        - Added --with-proj-libdir and --with-geos-libdir configure
index a12661d35aedcca04fd2926fd7304694c6e1ed52..85c0c39886b3462a920ea4c8a1f3bf9ff5c4fa8e 100644 (file)
@@ -3088,6 +3088,8 @@ Datum LWGEOM_affine(PG_FUNCTION_ARGS)
 
        /* COMPUTE_BBOX TAINTING */
        tmp = pglwgeom_deserialize(geom);
+       lwgeom_dropBBOX(tmp);
+       tmp->bbox = lwgeom_compute_box2d(tmp);
        ret = pglwgeom_serialize(tmp);
 
        /* Release memory */