mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
gdal provider: fix debug output
This commit is contained in:
parent
46c482bb51
commit
8f186be977
@ -1441,16 +1441,16 @@ QString QgsGdalProvider::buildPyramids( QList<QgsRasterPyramid> const & theRaste
|
|||||||
++myRasterPyramidIterator )
|
++myRasterPyramidIterator )
|
||||||
{
|
{
|
||||||
#ifdef QGISDEBUG
|
#ifdef QGISDEBUG
|
||||||
QgsLogger::debug( "Build pyramids:: Level", ( *myRasterPyramidIterator ).level, 1, __FILE__, __FUNCTION__, __LINE__ );
|
QgsDebugMsg( QString( "Build pyramids:: Level %1" ).arg( myRasterPyramidIterator->level ) );
|
||||||
QgsLogger::debug( "x", ( *myRasterPyramidIterator ).xDim, 1, __FILE__, __FUNCTION__, __LINE__ );
|
QgsDebugMsg( QString( "x:%1" ).arg( myRasterPyramidIterator->xDim ) );
|
||||||
QgsLogger::debug( "y", ( *myRasterPyramidIterator ).yDim, 1, __FILE__, __FUNCTION__, __LINE__ );
|
QgsDebugMsg( QString( "y:%1" ).arg( myRasterPyramidIterator->yDim ) );
|
||||||
QgsLogger::debug( "exists :", ( *myRasterPyramidIterator ).exists, 1, __FILE__, __FUNCTION__, __LINE__ );
|
QgsDebugMsg( QString( "exists : %1" ).arg( myRasterPyramidIterator->exists ) );
|
||||||
#endif
|
#endif
|
||||||
if (( *myRasterPyramidIterator ).build )
|
if ( myRasterPyramidIterator->build )
|
||||||
{
|
{
|
||||||
QgsDebugMsg( "Building....." );
|
QgsDebugMsg( "Building....." );
|
||||||
//emit drawingProgress( myCount, myTotal );
|
//emit drawingProgress( myCount, myTotal );
|
||||||
int myOverviewLevelsArray[1] = {( *myRasterPyramidIterator ).level };
|
int myOverviewLevelsArray[1] = { myRasterPyramidIterator->level };
|
||||||
/* From : http://remotesensing.org/gdal/classGDALDataset.html#a23
|
/* From : http://remotesensing.org/gdal/classGDALDataset.html#a23
|
||||||
* pszResampling : one of "NEAREST", "AVERAGE" or "MODE" controlling the downsampling method applied.
|
* pszResampling : one of "NEAREST", "AVERAGE" or "MODE" controlling the downsampling method applied.
|
||||||
* nOverviews : number of overviews to build.
|
* nOverviews : number of overviews to build.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user