Skip to content

Commit c87833c

Browse files
committed
Fix identify for WMS client with json format
Fixes #21735
1 parent c0105bd commit c87833c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/wms/qgswmsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ QgsRasterIdentifyResult QgsWmsProvider::identify( const QgsPointXY &point, QgsRa
30893089
fieldIterator = properties.constBegin();
30903090
for ( ; fieldIterator != properties.constEnd(); ++fieldIterator )
30913091
{
3092-
feature.setAttribute( j++, fieldIterator.value().toString() );
3092+
feature.setAttribute( j++, fieldIterator.value().toVariant() );
30933093
}
30943094

30953095
QgsFeatureStore featureStore( fields, crs() );

0 commit comments

Comments
 (0)