Skip to content
Permalink
Browse files

[BUGFIX][SERVER] GetFeatureInfo not evaluated for maptip context when…

… using FILTER param

fixed #16670
  • Loading branch information
rldhont committed Jul 26, 2017
1 parent bc9f822 commit 8ccc84ed229cdadc235f6710576daa34b4c3129a
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/server/qgswmsserver.cpp
@@ -2362,16 +2362,15 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
break;
}

renderContext.expressionContext().setFeature( feature );

if ( layer->wkbType() != QGis::WKBNoGeometry && ! searchRect.isEmpty() )
{
if ( !r2 )
{
continue;
}

renderContext.expressionContext().setFeature( feature );


//check if feature is rendered at all
bool render = r2->willRenderFeature( feature, renderContext );
if ( !render )

0 comments on commit 8ccc84e

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