@@ -295,8 +295,8 @@ void QgsRasterProjector::nextHelper()
295295
296296void QgsRasterProjector::srcRowCol ( int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol )
297297{
298- if ( mApproximate ) approximateSrcRowCol ( theDestRow, theDestCol, theSrcRow, theSrcCol);
299- else preciseSrcRowCol ( theDestRow, theDestCol, theSrcRow, theSrcCol);
298+ if ( mApproximate ) approximateSrcRowCol ( theDestRow, theDestCol, theSrcRow, theSrcCol );
299+ else preciseSrcRowCol ( theDestRow, theDestCol, theSrcRow, theSrcCol );
300300}
301301
302302void QgsRasterProjector::preciseSrcRowCol ( int theDestRow, int theDestCol, int *theSrcRow, int *theSrcCol )
@@ -305,9 +305,9 @@ void QgsRasterProjector::preciseSrcRowCol( int theDestRow, int theDestCol, int *
305305 double x = mDestExtent .xMinimum () + ( theDestCol + 0.5 ) * mDestXRes ;
306306 double y = mDestExtent .yMaximum () - ( theDestRow + 0.5 ) * mDestYRes ;
307307 double z = 0 ;
308-
308+
309309 mCoordinateTransform .transformInPlace ( x, y, z );
310-
310+
311311 // Get source row col
312312 *theSrcRow = ( int ) floor (( mSrcExtent .yMaximum () - y ) / mSrcXRes );
313313 *theSrcCol = ( int ) floor (( x - mSrcExtent .xMinimum () ) / mSrcYRes );
@@ -370,7 +370,7 @@ void QgsRasterProjector::insertRows()
370370 {
371371 myRow.append ( QgsPoint () );
372372 }
373- QgsDebugMsg ( QString ( " insert new row at %1" ).arg ( 1 + r*2 ) );
373+ QgsDebugMsgLevel ( QString ( " insert new row at %1" ).arg ( 1 + r*2 ), 3 );
374374 mCPMatrix .insert ( 1 + r*2 , myRow );
375375 }
376376 mCPRows += mCPRows - 1 ;
@@ -409,7 +409,7 @@ void QgsRasterProjector::calcCP( int theRow, int theCol )
409409
410410bool QgsRasterProjector::calcRow ( int theRow )
411411{
412- QgsDebugMsg ( QString ( " theRow = %1" ).arg ( theRow ) );
412+ QgsDebugMsgLevel ( QString ( " theRow = %1" ).arg ( theRow ), 3 );
413413 for ( int i = 0 ; i < mCPCols ; i++ )
414414 {
415415 calcCP ( theRow, i );
0 commit comments