Hi

While fixing the raster issues (in a branch), I'm trying to clean out the raster layer class. Especially, I'm trying to remove symbology related elements from the raster layer (like mRedBandName etc.) and have the symbology only in the renderers .

Now I'm not sure what to do with the band statistics. QgsRasterLayer stores and caches QgsRasterBandStats. However I see in the gdal provider that GDAL caches the statistics as well. So my question is if it is ok to remove the statistics related members in QgsRasterLayer and go directly to the raster providers. Or is there a reason to have it on layer level that I missed?

Regards,
Marco

--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to