Feature request #3121
print composer: allow generating the legend classes of only the visibile features
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||13181|
this is like the "show only visible features" in the table of attributes object.
#5 Updated by Arthur Vignacq almost 6 years ago
+1. I didn't find this feature demand and created another topic. It is indeed a very useful fonction as deleting multiple legend classes is very long when exporting 10 maps and more with not the same classes ...
I hope this is not to complicate to add in QGIS
#6 Updated by John Tull over 5 years ago
- Pull Request or Patch supplied set to No
I searched for this ticket, but couldn't find it. It was hard to imagine that nobody else had thought of this before. Thanks, Nyall, for being better at finding tickets and closing out my duplicate. Here is what I wrote for my ticket:
The Atlas tool has greatly enhanced the print composer functionality of QGIS. Using it has brought to mind a feature that would be very useful if it could be implemented: dynamic composer legends.
With dynamic composer legends, mapped layers that have no features in the composer canvas would not appear in the legend, whereas items visible would appear in the legend. This would be useful for applications where multiple maps are generated for a mapped area, but not all data layers show up in each map composer, whether mapped manually or generated with the Atlas tool.
The value of these dynamic legends is having maps that don't include symbology in the map legend for layers that are not present in the map. This is confusing for those using the map, and it necessitates producing maps manually that you would like to be able to generate with the Atlas tool if you want to generate legends that represent actual data on each map.