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

Nyall Dawson nyall.dawson at gmail.com
Fri Mar 23 17:22:40 PDT 2018


On 23 March 2018 at 22:47, Andreas Neumann <a.neumann at carto.net> wrote:
> 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?

Confirmed - think I can see an easy fix for this.

Nyall

>
> Thanks a lot,
>
> Andreas
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list