[QGIS-Developer] Problem with symbology rule containing @atlas_featureid

Andreas Neumann a.neumann at carto.net
Fri Mar 23 05:47:27 PDT 2018


Hi, 

I noticed a big problem in the rule based renderer when PostgreSQL
layers are involved and the rule contains @atlas_featureid. 

As an example, I use this rule: 

$id != @atlas_featureid 

When I click on the "Test" button I get "Filter returned xxxx features".
So far so good. But the bad thing: nothing is drawn on the canvas! 

Could it be that the expression compiler tries to forward this query,
but PostgreSQL knows nothing about @atlas_featurid ? 

Can someone confirm that this really is the case before I file an issues
report? 

Thanks a lot, 

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180323/cca8bc75/attachment.html>


More information about the QGIS-Developer mailing list