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

Nyall Dawson nyall.dawson at gmail.com
Sun Mar 25 21:40:52 PDT 2018


On 24 March 2018 at 10:22, Nyall Dawson <nyall.dawson at gmail.com> wrote:
> 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.

I take that back - I'd made a mistake. Can you open a ticket and share
a project demonstrating this?

Nyall

>
> 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