Skip to content
Permalink
Browse files
fix warnings
  • Loading branch information
jef-n committed Apr 6, 2014
1 parent 10c77a5 commit 0305be7eca05036fb88affed026cd1c7c02c06d5
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/providers/wms/qgswmscapabilities.cpp
  2. +4 −0 src/providers/wms/qgswmsprovider.cpp
@@ -1198,7 +1198,9 @@ void QgsWmsCapabilities::parseTileSetProfile( QDomElement const &e )
else if ( e1.hasAttribute( "crs" ) )
bb.crs = e1.attribute( "crs" );
else
{
QgsDebugMsg( "crs of bounding box undefined" );
}

if ( !bb.crs.isEmpty() )
{
@@ -1399,7 +1401,9 @@ void QgsWmsCapabilities::parseWMTSContents( QDomElement const &e )
else if ( bbox.hasAttribute( "crs" ) )
bb.crs = bbox.attribute( "crs" );
else
{
QgsDebugMsg( "crs of bounding box undefined" );
}

if ( !bb.crs.isEmpty() )
{
@@ -2646,7 +2646,9 @@ QgsRasterIdentifyResult QgsWmsProvider::identify( const QgsPoint & thePoint, Qgs
else if ( crsType == "EPSG" )
crsText = QString( "%1:%2" ).arg( crsType ).arg( result.property( "crs" ).property( "properties" ).property( "code" ).toString() );
else
{
QgsDebugMsg( QString( "crs not supported:%1" ).arg( result.property( "crs" ).toString() ) );
}

QgsCoordinateReferenceSystem featuresCrs;
featuresCrs.createFromOgcWmsCrs( crsText );
@@ -3349,7 +3351,9 @@ void QgsWmsTiledImageDownloadHandler::tileReplyFinished()
int tileReqNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileReqNo ) ).toInt();
int tileNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileIndex ) ).toInt();
QRectF r = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRect ) ).toRectF();
#ifdef QGISDEBUG
int retry = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRetry ) ).toInt();
#endif

QgsDebugMsg( QString( "tile reply %1 (%2) tile:%3(retry %4) rect:%5,%6 %7,%8) fromcache:%9 error:%10 url:%11" )
.arg( tileReqNo ).arg( mTileReqNo ).arg( tileNo ).arg( retry )

0 comments on commit 0305be7

Please sign in to comment.