Skip to content

Commit

Permalink
more crs debug
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15648 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 31, 2011
1 parent 6a7b6a2 commit 5a27a81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -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 );

Expand Down
1 change: 1 addition & 0 deletions src/providers/grass/qgsgrass.cpp
Expand Up @@ -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 )
{
Expand Down
1 change: 1 addition & 0 deletions src/providers/grass/qgsgrassrasterprovider.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 5a27a81

Please sign in to comment.