[postgis-tickets] r17790 - Fix bbox refresh
Raul
raul at rmr.ninja
Thu Aug 29 08:57:09 PDT 2019
Author: algunenano
Date: 2019-08-29 08:57:09 -0700 (Thu, 29 Aug 2019)
New Revision: 17790
Modified:
branches/2.4/postgis/lwgeom_functions_analytic.c
Log:
Fix bbox refresh
The function used was introduced in 2.5, so the direct
backport broke the build
Modified: branches/2.4/postgis/lwgeom_functions_analytic.c
===================================================================
--- branches/2.4/postgis/lwgeom_functions_analytic.c 2019-08-29 15:24:10 UTC (rev 17789)
+++ branches/2.4/postgis/lwgeom_functions_analytic.c 2019-08-29 15:57:09 UTC (rev 17790)
@@ -87,7 +87,10 @@
/* COMPUTE_BBOX TAINTING */
if (in->bbox)
- lwgeom_refresh_bbox(out);
+ {
+ lwgeom_drop_bbox(out);
+ lwgeom_add_bbox(out);
+ }
result = geometry_serialize(out);
lwgeom_free(out);
More information about the postgis-tickets
mailing list