'Summ a Attribut from Points in a Polygon as Anotation in QGIS

I need a "LIFE" Annotation when end of digitizing a Polygon. I neend not the Summ of Points like this (array_length(overlay_contains('zensus_c40a84ba_3850_4f60_b02a_1df14041d205', $id))). This way or by trigger on the geopackage? Cont Points by QGIS Annotation



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source