Hi,<br><br>The raster function ST_Envelope() will use the GIST Index if existent ?<br><br>It seem to be particularly slow.<br><br>So I try to do this:<br><br>explain select ST_Extent(ST_Envelope(rast)) from raster.ofc10k_2010 limit 1;<br>
<br>And see that.<br><br clear="all">Limit  (cost=48027.93..48027.94 rows=1 width=32)<br>  ->  Aggregate  (cost=48027.93..48027.94 rows=1 width=32)<br>        ->  Seq Scan on ofc10k_2010  (cost=0.00..37419.53 rows=1414453 width=32)<br>
<br>Also I verify there the GIST Index create from raster2pgsql<br><br>CREATE INDEX ofc10k_2010_rast_gist<br>  ON raster.ofc10k_2010<br>  USING gist<br>  (st_convexhull(rast) );<br><br>-- <br>-----------------<br>Andrea Peri<br>
. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>