Skip to content

Commit

Permalink
gdal provider: fix debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 27, 2012
1 parent 46c482b commit 8f186be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -1441,16 +1441,16 @@ QString QgsGdalProvider::buildPyramids( QList<QgsRasterPyramid> const & theRaste
++myRasterPyramidIterator )
{
#ifdef QGISDEBUG
QgsLogger::debug( "Build pyramids:: Level", ( *myRasterPyramidIterator ).level, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "x", ( *myRasterPyramidIterator ).xDim, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "y", ( *myRasterPyramidIterator ).yDim, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "exists :", ( *myRasterPyramidIterator ).exists, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsDebugMsg( QString( "Build pyramids:: Level %1" ).arg( myRasterPyramidIterator->level ) );
QgsDebugMsg( QString( "x:%1" ).arg( myRasterPyramidIterator->xDim ) );
QgsDebugMsg( QString( "y:%1" ).arg( myRasterPyramidIterator->yDim ) );
QgsDebugMsg( QString( "exists : %1" ).arg( myRasterPyramidIterator->exists ) );
#endif
if (( *myRasterPyramidIterator ).build )
if ( myRasterPyramidIterator->build )
{
QgsDebugMsg( "Building....." );
//emit drawingProgress( myCount, myTotal );
int myOverviewLevelsArray[1] = {( *myRasterPyramidIterator ).level };
int myOverviewLevelsArray[1] = { myRasterPyramidIterator->level };
/* From : http://remotesensing.org/gdal/classGDALDataset.html#a23
* pszResampling : one of "NEAREST", "AVERAGE" or "MODE" controlling the downsampling method applied.
* nOverviews : number of overviews to build.
Expand Down

0 comments on commit 8f186be

Please sign in to comment.