mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove debug code
This commit is contained in:
parent
64c0bd4565
commit
08092cdaa6
@ -838,7 +838,6 @@ QString QgsCoordinateTransform::stripDatumTransform( const QString& proj4 )
|
||||
void QgsCoordinateTransform::searchDatumTransform( const QString& sql, QList< int >& transforms )
|
||||
{
|
||||
sqlite3* db;
|
||||
QgsMessageLog::logMessage( "QgsCoordinateTransform::searchDatumTransform" );
|
||||
int openResult = sqlite3_open( QgsApplication::srsDbFilePath().toUtf8().constData(), &db );
|
||||
if ( openResult != SQLITE_OK )
|
||||
{
|
||||
@ -860,9 +859,6 @@ void QgsCoordinateTransform::searchDatumTransform( const QString& sql, QList< in
|
||||
}
|
||||
sqlite3_finalize( stmt );
|
||||
sqlite3_close( db );
|
||||
QgsMessageLog::logMessage( QgsApplication::srsDbFilePath() );
|
||||
QgsMessageLog::logMessage( QString( "Found %1 datum transforms" ).arg( transforms.size() ) );
|
||||
QgsMessageLog::logMessage( sql );
|
||||
}
|
||||
|
||||
QString QgsCoordinateTransform::datumTransformString( int datumTransform )
|
||||
|
@ -1555,8 +1555,6 @@ void QgsMapCanvas::getDatumTransformInfo( QgsMapLayer* ml, const QString& srcAut
|
||||
return;
|
||||
}
|
||||
|
||||
QgsMessageLog::logMessage( "QgsMapCanvas::getDatumTransformInfo" );
|
||||
|
||||
//create two crs
|
||||
const QgsCoordinateReferenceSystem& srcCRS = QgsCRSCache::instance()->crsByAuthId( srcAuthId );
|
||||
const QgsCoordinateReferenceSystem& destCRS = QgsCRSCache::instance()->crsByAuthId( destAuthId );
|
||||
|
Loading…
x
Reference in New Issue
Block a user