[Qgis-developer] Raster statistics

Maxim Dubinin sim at gis-lab.info
Sat Jul 17 08:07:08 EDT 2010


Hi Tim,

thanks for the answer.

Yes, I think this part needs review and revision. If QGIS provides
some raster stats, which GDAL doesn't these stats should be stored
and loaded externally, so that QGIS will not try to recalculate them
every time they are needed.

Maxim

Вы писали 17 июля 2010 г., 3:33:57:

TS> Hi

TS> 2010/7/14 Maxim Dubinin <sim at gis-lab.info>:
>> Hi all,
>>
>> there are two sets of statistics now for rasters, visible when you
>> open raster properties. One is taken aux-file if it exists using GDAL
>> and another is some kind of internal QGIS one.
>>
>> Question why not use just one, GDAL's?
>>

TS> Back in the day when I wrote that, GDAL only estimated the stats
TS> whereas the QGIS implementation computes them completely (I think this
TS> situation is still the same today). Perhaps this functionality is not
TS> something important and could be stripped out (or made into a plugin)
TS> - it would certainly speed things up with rasters in some contexts.

TS> Regards

TS> Tim


>> Implication is that QGIS stats are saved only session wide, if you
>> remove raster from the project it needs to be recalculated.
>>
>> Maxim
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>





More information about the Qgis-developer mailing list