Skip to content

Commit

Permalink
Transform bbox in gml feature info also if geometry is not requested
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 9, 2014
1 parent 8f3532f commit 1ee6703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgswmsserver.cpp
Expand Up @@ -1535,7 +1535,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
}

QgsCoordinateReferenceSystem outputCrs = layer->crs();
if ( hasGeometry && layer->crs() != mapRender->destinationCrs() && mapRender->hasCrsTransformEnabled() )
if ( layer->crs() != mapRender->destinationCrs() && mapRender->hasCrsTransformEnabled() )
{
outputCrs = mapRender->destinationCrs();
}
Expand Down

0 comments on commit 1ee6703

Please sign in to comment.