Thanks Nick and Carlos,<br><br>Following the suggestions I got an error message: "Cannot compute bounding box of cutline." when  cutting the raster. I cannot understand where is the problem. It happened only with this kind of raster. I tried with nautical charts and georeferenced maps from Google Earth and I cut them without problems. Any ideas?<br>
<br>Also I installed SAGA and GDAL. SAGA is great but it will take a time to me to verify all options. <br><br>GDAL - statistic by zones gives part of the answer (count, sum and mean) in a very convenient way, creating columns at the attribute table.  There's no need to cut the raster. Nevertheless I need max and min at least. If I could get max, min, std this way it would be the heaven.<br>
<br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">So, my point now is to cut the raster, or find another tool as "statistic by zones" with more parameters.</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">All the best,</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
Antônio</p><br><br><div class="gmail_quote">2012/9/15 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">
I think the first thing to do is clip the raster to your area of interest<br>
using the vector polygon. Raster -> Extraction -> Clipper. Select the<br>
polygon shapefile as the mask layer.<br>
<br>
To get the statistics load the clipped raster, right-click on it in the<br>
layers panel, select "Properties" and then click the "Metadata" tab. This<br>
will show the mean, min, max and SD, but not (unfortunately) the median.<br>
<br>
N.<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-tp5002022p5002057.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002057.html</a><br>

Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
<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>