Skip to content
Permalink
Browse files

[server][bugfix] FILTER GetFeatureInfo working again

Fixes #8656
  • Loading branch information
Alessandro Pasotti authored and rldhont committed Aug 23, 2016
1 parent 2293da9 commit 2aceb8967c7957e54e7bc4d72947e74528c9d8c6
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/server/qgswmsserver.cpp
@@ -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 );

0 comments on commit 2aceb89

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