Feature request #5346

Have layer or rule base class greyed out when not visible due to scale dependent rendering

Added by Regis Haubourg over 5 years ago. Updated 10 months ago.

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

Description

It would be nice if layer title or icon could show display status of a layer.
It could be greyed out and Italic, or have a special icon if current display is out of visible range. Adding a right click option "Zoom to visible scale" would be even nicer.

When rule bases class are submitted to min or max scale, only affected classes in current scale should greyed out.

Users opening a qgs project are sometimes lost because they don't see data listed in maplayer registry.. Some webclients already do that too. Mapinfo show a pink marker when submitted to scale conditionnal rendering.

All the best

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#2 Updated by Pirmin Kalberer almost 5 years ago

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

#3 Updated by Hugo Mercier about 2 years ago

  • Status changed from Open to Feedback

I think the "Filter legend by map content" achieves the same effect. However, for performance considerations, it is not automatically enabled and requires an action from the user.
Is this issue still relevant ?

#4 Updated by Regis Haubourg about 2 years ago

I must disagree here. Most GIS tools have such a feature (include webmapping ones), and that shouldn't be heavy computing.
Some show a "eye symbol", some italic wrinting + tooltip. We still need it.
Moreover, some use cases make symbols disappear (on expressions), and a user can't associate a missing legend with a zoom display threshold.
Cheers

#5 Updated by Hugo Mercier about 2 years ago

  • Status changed from Feedback to Open

Thanks for the clarification.
Actually, I am wrong : the "filter legend by map content" is different from what is required here (scale-based visiblity of legend elements).

#6 Updated by Patrick Valsecchi over 1 year ago

I'm working on that feature

#7 Updated by Regis Haubourg over 1 year ago

Good to know, thanks!

#8 Updated by Nyall Dawson over 1 year ago

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

#9 Updated by Regis Haubourg 10 months ago

  • Priority changed from Low to Normal

Hi,
not sur if I must open a new ticket.
Currently only layer title is greyed out when canvas zoom level is out of visibility range. Could it be possible to grey out also legend subclasses?
Régis

Also available in: Atom PDF