Skip to content

Commit

Permalink
Do not transform eometries in getfeatureinfo for json format
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 31, 2019
1 parent 2f79dcc commit b12896f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -2238,10 +2238,10 @@ namespace QgsWms

// export
QgsJsonExporter exporter( vl );
exporter.setDestinationCrs( crs );
exporter.setAttributeDisplayName( true );
exporter.setAttributes( attributes );
exporter.setIncludeGeometry( withGeometry );
exporter.setTransformGeometries( false );

for ( const auto &feature : qgis::as_const( features ) )
{
Expand Down

0 comments on commit b12896f

Please sign in to comment.