Skip to content

Commit be318fe

Browse files
committedMay 21, 2014
WMS identify with format feature (GML) fixe, fixes #10306
1 parent 21da03e commit be318fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,8 +2481,9 @@ QgsRasterIdentifyResult QgsWmsProvider::identify( const QgsPoint & thePoint, Qgs
24812481
xsdPart = 1;
24822482
}
24832483
}
2484+
QgsDebugMsg( QString( "jsonPart = %1 gmlPart = %2 xsdPart = %3" ).arg( jsonPart ).arg( gmlPart ).arg( xsdPart ) );
24842485

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

0 commit comments

Comments
 (0)