Skip to content

Commit

Permalink
Mapserver: using bbox filter on features in GetFeatureInfo (searching…
Browse files Browse the repository at this point in the history
… with FILTER) only when BBOX parameter is given
  • Loading branch information
Marcel Dancak committed Jan 23, 2015
1 parent 334d885 commit 494c36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,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;
}
Expand Down

0 comments on commit 494c36a

Please sign in to comment.