Skip to content
Permalink
Browse files

gdal set output no data fix

  • Loading branch information
blazek committed Apr 10, 2013
1 parent 4e5c660 commit 9e82df814b90b331d2f8bf9a114b0a4b2bc16275
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/gdal/qgsgdalprovider.cpp
@@ -2529,6 +2529,9 @@ bool QgsGdalProvider::setNoDataValue( int bandNo, double noDataValue )
QgsDebugMsg( "Cannot set no data value" );
return false;
}
mSrcNoDataValue[bandNo-1] = noDataValue;
mSrcHasNoDataValue[bandNo-1] = true;
mUseSrcNoDataValue[bandNo-1] = true;
return true;
}

0 comments on commit 9e82df8

Please sign in to comment.
You can’t perform that action at this time.