[QGIS-Developer] Question on @atlas_featureid

Andreas Neumann a.neumann at carto.net
Thu Jul 8 01:30:08 PDT 2021


Hi,

I haven't worked on an Atlas for a while, now again in QGIS 3.16.

I was surprised to see that @atlas_featureid is not equal to the primary 
key of the atlas coverage layer.

Is this expected or a bug? I know, I can access the primary key through 
attribute(@atlas_feature,'pkey_name'), but it is a little more 
complicated than @atlas_featureid - and I'm pretty sure that 
@atlas_featureid was using the pkey column in th past?

My data source for the atlas coverage layer is a Postgis View.

Thanks if you have any info on this issue,

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


More information about the QGIS-Developer mailing list