Skip to content

Commit

Permalink
WMS identify with format feature (GML) fixe, fixes #10306
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 21, 2014
1 parent 21da03e commit be318fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -2481,8 +2481,9 @@ QgsRasterIdentifyResult QgsWmsProvider::identify( const QgsPoint & thePoint, Qgs
xsdPart = 1;
}
}
QgsDebugMsg( QString( "jsonPart = %1 gmlPart = %2 xsdPart = %3" ).arg( jsonPart ).arg( gmlPart ).arg( xsdPart ) );

if ( jsonPart == -1 && gmlPart == -1 && xsdPart == -1 )
if ( gmlPart >= 0 )
{
QByteArray gmlByteArray = mIdentifyResultBodies.value( gmlPart );
QgsDebugMsg( "GML (first 2000 bytes):\n" + gmlByteArray.left( 2000 ) );
Expand Down

0 comments on commit be318fe

Please sign in to comment.