Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checkbox to mask deactivated layers in layout legend #27563

Closed
qgib opened this issue Aug 30, 2018 · 12 comments
Closed

Add checkbox to mask deactivated layers in layout legend #27563

qgib opened this issue Aug 30, 2018 · 12 comments
Labels
Feature Request Map and Legend Related to map or legend rendering

Comments

@qgib
Copy link
Contributor

qgib commented Aug 30, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)
Original Redmine Issue: 19738

Redmine category:map_legend


Can you add a checkbox in layout to mask or render a desactived layer in legend box.

There is "Only show items inside current atlas feature"

On bottom you can add "Mask desactivated layers"

@qgib
Copy link
Contributor Author

qgib commented Aug 30, 2018

Author Name: Harrissou Santanna (@DelazJ)


You also have a button "Filter legend by map content" (the yellow and blue one) which limits the legend to the displayed items (invisible layers are removed but also invisible classes from visible layers - maybe, it filters more than what you need?...)


  • subject was changed from Add checkbox to mask desactivated layer in layout legend to Add checkbox to mask deactivated layers in layout legend
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)


Thanks but that is not what I need. I want all values classes for visible layer only. Actually I need delete layer and duplicate my QGIS project with one layout for each project. Or set legend manually.

My other problem is XYZ layer title in legende. For that, I don't use legend auto and delete layer manually because I set XYZ name in text object for images sources, others data in vectors sources.

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Giovanni Manghi (@gioman)


Jérôme Seigneuret wrote:

Thanks but that is not what I need. I want all values classes for visible layer only. Actually I need delete layer and duplicate my QGIS project with one layout for each project. Or set legend manually.

My other problem is XYZ layer title in legende. For that, I don't use legend auto and delete layer manually because I set XYZ name in text object for images sources, others data in vectors sources.

Please consider support the work needed to implement what you/your organization needs.


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Harrissou Santanna (@DelazJ)


Jérôme Seigneuret wrote:

Thanks but that is not what I need. I want all values classes for visible layer only. Actually I need delete layer and duplicate my QGIS project with one layout for each project. Or set legend manually.

Duplicate of #21617?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)


Please consider support the work needed to implement what you/your organization needs.

I don't understand... This problem is not in relation to me or my organization an XYZ basemaps dont have any legend so that is not the good place to set information...

That is not a WMS or WMT with a legend content.

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)


Harrissou Santanna wrote:

Jérôme Seigneuret wrote:

Thanks but that is not what I need. I want all values classes for visible layer only. Actually I need delete layer and duplicate my QGIS project with one layout for each project. Or set legend manually.

Duplicate of #21617?

OK this is in relation to...

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Giovanni Manghi (@gioman)


Jérôme Seigneuret wrote:

Please consider support the work needed to implement what you/your organization needs.

I don't understand... This problem is not in relation to me or my organization an XYZ basemaps dont have any legend so that is not the good place to set information...

That is not a WMS or WMT with a legend content.

you said "Thanks but that is not what I need": when someone (or his/her organization) needs something in QGIS is still not possible is not unusual to see an effort (code, funding, hiring a developer) to have this functionality implemented.

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Giovanni Manghi (@gioman)


this is in relation to...

related or just duplicate?

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)


Giovanni Manghi wrote:

you said "Thanks but that is not what I need": when someone (or his/her organization) needs something in QGIS is still not possible is not unusual to see an effort (code, funding, hiring a developer) to have this functionality implemented.

Understoud

Giovanni Manghi wrote:

related or just duplicate?

Related because that don't take case of XYZ tiles but duplicate is OK for the rest

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Jérôme Seigneuret (Jérôme Seigneuret)


I have also no effect with auto legend and desactivated layer.

For test I have 2 layers with same source. Twice point to shapefile twice use legend based on new representation (point displacement)

Add only show items inside current altas feature have no effect

@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2018

Author Name: Harrissou Santanna (@DelazJ)


I have also no effect with auto legend and desactivated layer.

@jérôme, Not sure I fully understand. Are these new issues? There are a couple of reports related to legend behavior; maybe you could do a search and check whether it's already reported.

Related because that don't take case of XYZ tiles but duplicate is OK for the rest

The rule is to have reports as atomic as possible, ie in a report we focus on a single issue so that we know what we all are talking about and when that issue is solved, we can close the report safely, without hiding any other issue that would have been reported in the discussion.
Given that the legend limitation was the initial issue reported, I'd suggest to close this report (as it duplicates #21617) and open a proper feature request relative to the XYZ Tiles (it will give more highlight to the issue, btw).

@qgib
Copy link
Contributor Author

qgib commented Sep 2, 2018

Author Name: Giovanni Manghi (@gioman)


Given that the legend limitation was the initial issue reported, I'd suggest to close this report (as it duplicates #21617) and open a proper feature request relative to the XYZ Tiles (it will give more highlight to the issue, btw).

add comments about xyz layers in #21617


  • resolution was changed from to duplicate
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Sep 2, 2018
@qgib qgib added Feature Request Map and Legend Related to map or legend rendering labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

1 participant