Skip to content

Commit 2aceb89

Browse files
Alessandro Pasottirldhont
authored andcommitted
[server][bugfix] FILTER GetFeatureInfo working again
Fixes #8656
1 parent 2293da9 commit 2aceb89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/server/qgswmsserver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,10 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
21942194
{
21952195
fReq.setFilterRect( searchRect );
21962196
}
2197+
else
2198+
{
2199+
fReq.setFlags( fReq.flags() & ~ QgsFeatureRequest::ExactIntersect );
2200+
}
21972201

21982202
#ifdef HAVE_SERVER_PYTHON_PLUGINS
21992203
mAccessControl->filterFeatures( layer, fReq );

0 commit comments

Comments
 (0)