Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gdal set output no data fix
  • Loading branch information
blazek committed Apr 10, 2013
1 parent 4e5c660 commit 9e82df8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9e82df8

Please sign in to comment.