Copy link
@rldhont

rldhont Jan 24, 2014

Author Owner

It's not exactly the same code.
Here I update mGdalDataType, which is used in QgsGdalProvider::dataType and QgsGdalProvider::readBlock.

QgsGdalProvider::srcDatatype does not use mGdalDataType but directly query gdalDataType. srcDataType is used ofr exemple in the save as method.