Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[server][bugfix] FILTER GetFeatureInfo working again
Fixes #8656
  • Loading branch information
Alessandro Pasotti authored and rldhont committed Aug 23, 2016
1 parent 2293da9 commit 2aceb89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/qgswmsserver.cpp
Expand Up @@ -2194,6 +2194,10 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
{
fReq.setFilterRect( searchRect );
}
else
{
fReq.setFlags( fReq.flags() & ~ QgsFeatureRequest::ExactIntersect );
}

#ifdef HAVE_SERVER_PYTHON_PLUGINS
mAccessControl->filterFeatures( layer, fReq );
Expand Down

0 comments on commit 2aceb89

Please sign in to comment.