Feature request #20627

Dynamically show feature count of layers during atlas rendering

Added by Admire Nyakudya over 5 years ago.

Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:28447


I have configured an atlas with a point layer and a polygon layer. In the legend, I have selected the option to only show
features that are visible within the atlas extent. I also have activated the feature count for the point layer. When I navigate to the next feature
the feature count is static but the legend is dynamic responding to the extent of the atlas feature. The feature count still shows me the count
of all features in the layer. This is misleading when I export my maps.

It would be nice to have the count as a function which counts features based on the geometry of the current atlas feature.

map1.png - Initial map view (221 KB) Admire Nyakudya, 2018-11-26 11:35 AM

map2.png - Atlas with feature count activated (166 KB) Admire Nyakudya, 2018-11-26 11:36 AM

Also available in: Atom PDF