Thanks again for the attention and patience, but I'm still not succeed.<br><br>A checklist:<br>1) on-the-fly CRS transformation turned off -> OK<br>2) when I load the raster layer I indicate the CRS WGS84<br>(+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs)<br>
Once it's loaded I change the map color from grey to false color <br>3) when I create the vector layer to place the polygon I select CRS WGS84<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">(+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs)</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
4) In the Menu Raster / Extraction / Clipper I indicate the raster layer, the mask layer (vector), the name of the new file and, once more I select CRS WGS84
</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">(gdalwarp -q -cutline /mnt/Antonio/SIG/TSM/SelectArea.shp -of GTiff /mnt/Antonio/SIG/TSM/32610_2.asc /mnt/Antonio/SIG/TSM/TSMArea)</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">Now I'm getting: "Warning : the input vector layer has a SRS, but the source raster dataset does not.<br>
Cutline results may be incorrect."</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">
So, what is going wrong? The asc (raster file) and the shape with the polygon can be downloaded at <a href="http://dl.dropbox.com/u/755659/TSM.rar">http://dl.dropbox.com/u/755659/TSM.rar</a><br></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">Thanks in advance.</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">Regards,</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">
Antonio<br></p><br><br><div class="gmail_quote">2012/9/18 skampus <span dir="ltr"><<a href="mailto:stefano.campus@regione.piemonte.it" target="_blank">stefano.campus@regione.piemonte.it</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi all,<br>
all layers must have same SR<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-tp5002022p5002771.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002771.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>