[Qgis-user] getting statistics from a raster layer

Antonio Silva aolinto.lst at gmail.com
Wed Sep 19 03:53:11 PDT 2012


Dear Nick and André

Finally I got to the proper results:

STATISTICS_MAXIMUM=22.629600524902
STATISTICS_MEAN=21.829234117232
STATISTICS_MINIMUM=20.97500038147
STATISTICS_STDDEV=0.40600423541182

Thank you all very much!

Antonio

2012/9/19 Nick Hopton <nhopton at gmail.com>

> One other thing, you want to collect statistics for your clipped raster, so
> when you clip the raster make sure that you tick 'no data value' and enter
> a
> value of (say) -30000. This will set the value of the pixels in your
> clipped
> raster that lie outside of your area of interest to 'null' and they will be
> ignored when calculating statistics (which is what you want).
>
> I think the correct statistics for your area of interest are as follows:
>
> STATISTICS_MINIMUM=20.97500038147
> STATISTICS_MAXIMUM=22.629600524902
> STATISTICS_MEAN=21.829234117232
> STATISTICS_STDDEV=0.40600423541182
>
> Nick.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/getting-statistics-from-a-raster-layer-tp5002022p5002891.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Antônio Olinto Ávila da Silva
Biólogo / Oceanógrafo
Instituto de Pesca (Fisheries Institute)
São Paulo, Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120919/fd4db2fb/attachment.html>


More information about the Qgis-user mailing list