Skip to content
Permalink
Browse files

[server][bugfix] FILTER GetFeatureInfo working again

Fixes #8656
  • Loading branch information
Alessandro Pasotti
Alessandro Pasotti committed May 19, 2016
1 parent bc1aa42 commit b956874f02a9379b0a9503d6c25fe014dc41bd5a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/server/qgswmsserver.cpp
@@ -2201,6 +2201,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 b956874

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