Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix identify for WMS client with json format
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/providers/wms/qgswmsprovider.cpp
|
@@ -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() ); |
|
|