Skip to content

Commit

Permalink
Fix identify for WMS client with json format
Browse files Browse the repository at this point in the history
Fixes #21735
  • Loading branch information
elpaso committed Apr 26, 2019
1 parent c0105bd commit c87833c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -3089,7 +3089,7 @@ QgsRasterIdentifyResult QgsWmsProvider::identify( const QgsPointXY &point, QgsRa
fieldIterator = properties.constBegin();
for ( ; fieldIterator != properties.constEnd(); ++fieldIterator )
{
feature.setAttribute( j++, fieldIterator.value().toString() );
feature.setAttribute( j++, fieldIterator.value().toVariant() );
}

QgsFeatureStore featureStore( fields, crs() );
Expand Down

0 comments on commit c87833c

Please sign in to comment.