[Qgis-user] Atlas feature id not synchronised

Alexandre Neto senhor.neto at gmail.com
Fri Nov 12 06:04:23 PST 2021


Hi Dario,

If the atlas coverage layer is the buildings layer, then you can use:

$id = @atlasfeatureid

If not, if you have a common attribute called ID between the building layer
and your coverage layer, you can use:

"ID" =  attributes( @atlas_feature)['ID']


Hope it helps

Alexandre Neto
User Support
www.qcooperative.net

On Fri, Nov 12, 2021 at 1:50 PM Dario <dario955i at gmail.com> wrote:

> Hi,
>
> I’m doing a report and it is happening something odd. I don’t know if it a
> bug or something I’m not doing well (probably).
>
> - I have a layer with an ID as integer and unique
> - I have categorised my layer by rule, in order to show only the analysed
> building: “ID=@atlasfeatureid+1”
> - I’m using this ID as controller of my group report
> - I have added a textfield to show some field and “atlasfeatureid+1” for a
> double check
> - first three pages are ok, after map and text are synchro, but the
> categorised building does not work and indeed atlasfeatureid shows number
> completely different with ID
>
>
> I have no idea why :(
>
>
>
>
> _
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211112/c7ad7079/attachment.html>


More information about the Qgis-user mailing list