Skip to content
Permalink
Browse files

Transform bbox in gml feature info also if geometry is not requested

  • Loading branch information
mhugent committed Mar 9, 2014
1 parent 8f3532f commit 1ee6703d1dcddfb15dff59e39e8f1f94d7152cca
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgswmsserver.cpp
@@ -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();
}

0 comments on commit 1ee6703

Please sign in to comment.
You can’t perform that action at this time.