Skip to content
Permalink
Browse files
more crs debug
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15648 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 31, 2011
1 parent 1d352f6 commit 1045edadd2fcd471509a958576c35ef875d18117
@@ -247,6 +247,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
tabPageHistogram->setEnabled( false );
}

QgsDebugMsg( "Setting crs to " + mRasterLayer->crs().toWkt() );
QgsDebugMsg( "Setting crs to " + mRasterLayer->crs().authid() + " - " + mRasterLayer->crs().description() );
leSpatialRefSys->setText( mRasterLayer->crs().authid() + " - " + mRasterLayer->crs().description() );
leSpatialRefSys->setCursorPosition( 0 );

@@ -1140,6 +1140,7 @@ QgsCoordinateReferenceSystem GRASS_EXPORT QgsGrass::crs( QString gisdbase, QStri
QString wkt = QgsGrass::getInfo( "proj", gisdbase, location );
QgsDebugMsg( "wkt: " + wkt );
crs.createFromWkt( wkt );
QgsDebugMsg( "crs.toWkt: " + crs.toWkt() );
}
catch ( QgsGrass::Exception &e )
{
@@ -77,6 +77,7 @@ QgsGrassRasterProvider::QgsGrassRasterProvider( QString const & uri )
mValidNoDataValue = true;

mCrs = QgsGrass::crs( mGisdbase, mLocation );
QgsDebugMsg( "mCrs: " + mCrs.toWkt() );

// the block size can change of course when the raster is overridden
// ibut it is only called once when statistics are calculated

0 comments on commit 1045eda

Please sign in to comment.