<pre>>ST_SummaryStats()<br><br>Hi Pierre,<br><br>I try it ,<br>but i'm not sure to understand the results.<br><br>The docs say it return the stats for a given raster band of a raster coverage.<br>I assume this was mean It return me a single row of values for the raster table.<br>
Instead It return me many records of type SummaryStats.<br><br>It seem to return a result for every table row.<br>I'm not soo skilled on the raster to well understand what is a row table in a raster table.<br>I guess, perhaps, it is the tile ?<br>
If yes, this mean it is returning the stats for every tile.<br><br>And so my quest now is how to retrieve the total stat for all the raster table.<br>Also I cannot try the group by because the ST_SummaryStats is not an aggregate function.<br>
<br>This is the query I try:<br><br>select ST_SummaryStats(rast_column) from my_schema.my_table;<br><br clear="all"></pre>Thx,<br><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br>
<br>