Feature request #3121

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

Added by Giovanni Manghi over 6 years ago. Updated over 2 years ago.

Status:Closed Start Date:
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:Map Composer / Printing
Target version:Future Release - Nice to have
Platform: Resolution:fixed/implemented
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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

History

Updated by James Stott over 5 years ago

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

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Giovanni Manghi almost 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

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

Updated by Arthur Vignacq over 3 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

Updated by John Tull about 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.

Updated by J├╝rgen Fischer almost 3 years ago

  • Category changed from 33 to Map Composer / Printing

Updated by Giovanni Manghi almost 3 years ago

  • Assigned to changed from Marco Hugentobler to Nyall Dawson
  • Platform deleted (All)
  • Status info deleted (0)

Updated by Nyall Dawson over 2 years ago

  • Assigned to deleted (Nyall Dawson)

Updated by Heikki Vesanto over 2 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.

Updated by Nyall Dawson over 2 years ago

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

Implemented in master - thanks Martin!

Also available in: Atom