[postgis-tickets] r15114 - use ST_Union instead of ST_Collect to compute max extent
Regina Obe
lr at pcorp.us
Sun Sep 18 16:41:24 PDT 2016
Author: robe
Date: 2016-09-18 16:41:24 -0700 (Sun, 18 Sep 2016)
New Revision: 15114
Modified:
trunk/raster/rt_pg/rtpostgis.sql.in
Log:
use ST_Union instead of ST_Collect to compute max extent
References #3501 for PostGIS 2.3.0 trunk
Modified: trunk/raster/rt_pg/rtpostgis.sql.in
===================================================================
--- trunk/raster/rt_pg/rtpostgis.sql.in 2016-09-16 09:16:48 UTC (rev 15113)
+++ trunk/raster/rt_pg/rtpostgis.sql.in 2016-09-18 23:41:24 UTC (rev 15114)
@@ -7148,7 +7148,7 @@
cn := 'enforce_max_extent_' || $3;
- sql := 'SELECT st_ashexewkb(st_envelope(st_collect(st_envelope('
+ sql := 'SELECT st_ashexewkb(st_envelope(st_union(st_envelope('
|| quote_ident($3)
|| ')))) FROM '
|| fqtn;
More information about the postgis-tickets
mailing list