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 476b584 commit b51d4efa83c0e849d829fe79fb4da12e6700d419
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/server/qgswmsserver.cpp
@@ -2363,16 +2363,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 b51d4ef

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