Skip to content
Permalink
Browse files

Merge pull request #1860 from marcel-dancak/getfeatureinfo-bbox-fix

Mapserver: using bbox filter on features in GetFeatureInfo only when BBOX parameter is given
  • Loading branch information
mhugent committed Feb 20, 2015
2 parents 34a6a36 + 494c36a commit e09437b269b6359689c6e62d33d81ce3d8bd4d60
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgswmsserver.cpp
@@ -1992,7 +1992,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
searchRect.set( infoPoint->x() - searchRadius, infoPoint->y() - searchRadius,
infoPoint->x() + searchRadius, infoPoint->y() + searchRadius );
}
else
else if ( mParameters.contains( "BBOX" ) )
{
searchRect = layerRect;
}

0 comments on commit e09437b

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