Skip to content
Permalink
Browse files

GRASS no data value fix

  • Loading branch information
blazek committed May 8, 2013
1 parent fa348e1 commit 37bad5b612c13722877382c31b1c2cbe09b0d900
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/grass/qgsgrassrasterprovider.cpp
@@ -128,6 +128,8 @@ QgsGrassRasterProvider::QgsGrassRasterProvider( QString const & uri )
myInternalNoDataValue = std::numeric_limits<float>::quiet_NaN();
}
mNoDataValue = myInternalNoDataValue;
mSrcHasNoDataValue.append( true );
mUseSrcNoDataValue.append( true );
QgsDebugMsg( QString( "myInternalNoDataValue = %1" ).arg( myInternalNoDataValue ) );

// TODO: refresh mRows and mCols if raster was rewritten

0 comments on commit 37bad5b

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