Dear Nick and André<br><br>Finally I got to the proper results:<br><br>STATISTICS_MAXIMUM=22.629600524902<br>STATISTICS_MEAN=21.829234117232<br>STATISTICS_MINIMUM=20.97500038147<br>STATISTICS_STDDEV=0.40600423541182<br><br>
Thank you all very much!<br><br>Antonio<br><br><div class="gmail_quote">2012/9/19 Nick Hopton <span dir="ltr"><<a href="mailto:nhopton@gmail.com" target="_blank">nhopton@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One other thing, you want to collect statistics for your clipped raster, so<br>
when you clip the raster make sure that you tick 'no data value' and enter a<br>
value of (say) -30000. This will set the value of the pixels in your clipped<br>
raster that lie outside of your area of interest to 'null' and they will be<br>
ignored when calculating statistics (which is what you want).<br>
<br>
I think the correct statistics for your area of interest are as follows:<br>
<br>
STATISTICS_MINIMUM=20.97500038147<br>
STATISTICS_MAXIMUM=22.629600524902<br>
STATISTICS_MEAN=21.829234117232<br>
STATISTICS_STDDEV=0.40600423541182<br>
<br>
Nick.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002891.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002891.html</a><br>

<div class="im HOEnZb">Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Antônio Olinto Ávila da Silva<div>Biólogo / Oceanógrafo</div><div>Instituto de Pesca (Fisheries Institute)</div><div>São Paulo, Brasil</div><br>