Skip to content

Commit b956874

Browse files
author
Alessandro Pasotti
committedMay 19, 2016
[server][bugfix] FILTER GetFeatureInfo working again
Fixes #8656
1 parent bc1aa42 commit b956874

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/server/qgswmsserver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,6 +2201,10 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
22012201
{
22022202
fReq.setFilterRect( searchRect );
22032203
}
2204+
else
2205+
{
2206+
fReq.setFlags( fReq.flags() & ~ QgsFeatureRequest::ExactIntersect );
2207+
}
22042208

22052209
#ifdef HAVE_SERVER_PYTHON_PLUGINS
22062210
mAccessControl->filterFeatures( layer, fReq );

0 commit comments

Comments
 (0)
Please sign in to comment.