Feature request #3121

print composer: allow generating the legend classes of only the visibile features

Added by Giovanni Manghi about 7 years ago. Updated about 3 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No

Description

this is like the "show only visible features" in the table of attributes object.

History

#1 Updated by James Stott about 6 years ago

+1 for this as well. Would be very useful. Doing it manually is very time consuming.

#2 Updated by Giovanni Manghi almost 6 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#3 Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#4 Updated by Pirmin Kalberer about 5 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#5 Updated by Arthur Vignacq about 4 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 3 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.

#7 Updated by Jürgen Fischer over 3 years ago

  • Category changed from 33 to Map Composer/Printing

#8 Updated by Giovanni Manghi over 3 years ago

  • Status info deleted (0)
  • Assignee changed from Marco Hugentobler to Nyall Dawson
  • Operating System deleted (All)

#9 Updated by Nyall Dawson about 3 years ago

  • Assignee deleted (Nyall Dawson)

#10 Updated by Heikki Vesanto about 3 years ago

+1 From myself, would love to see this feature. Especially useful with all the other great updates to the print composer in recent releases.

#11 Updated by Nyall Dawson about 3 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Implemented in master - thanks Martin!

Also available in: Atom PDF