Skip to content
Permalink
Browse files

WMS identify with format feature (GML) fixe, fixes #10306

  • Loading branch information
blazek committed May 21, 2014
1 parent 21da03e commit be318fe6b2a503f8c1db5be5495bfabc8c0069f8
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/wms/qgswmsprovider.cpp
@@ -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 ) );

0 comments on commit be318fe

Please sign in to comment.
You can’t perform that action at this time.