Skip to content

Commit 1045eda

Browse files
author
rblazek
committed
more crs debug
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15648 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1d352f6 commit 1045eda

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/app/qgsrasterlayerproperties.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
247247
tabPageHistogram->setEnabled( false );
248248
}
249249

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

src/providers/grass/qgsgrass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ QgsCoordinateReferenceSystem GRASS_EXPORT QgsGrass::crs( QString gisdbase, QStri
11401140
QString wkt = QgsGrass::getInfo( "proj", gisdbase, location );
11411141
QgsDebugMsg( "wkt: " + wkt );
11421142
crs.createFromWkt( wkt );
1143+
QgsDebugMsg( "crs.toWkt: " + crs.toWkt() );
11431144
}
11441145
catch ( QgsGrass::Exception &e )
11451146
{

src/providers/grass/qgsgrassrasterprovider.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ QgsGrassRasterProvider::QgsGrassRasterProvider( QString const & uri )
7777
mValidNoDataValue = true;
7878

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

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

0 commit comments

Comments
 (0)