Hi all I am trying to get statistics from a raster layer, using the bandStatistics() method. I get the statistics object, but it seems that it hasn't been initialized. According to the documentation, calling this method should compute the statistics (it warns against using it often, since that calculation takes time), but it seems it is not doing it. Am I doing anything wrong? any suggestion? I haven't found any other method to force the calculation of stats, but just one hasStatistics to check if they have already been computed.
Regards Victor _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer