qgis / QGIS-Enhancement-Proposals

QEP's (QGIS Enhancement Proposals) are used in the process of creating and discussing new enhancements for QGIS
118 stars 37 forks source link

Improve UX of Raster Legend in the QGIS Layers Panel #297

Open OSHistory opened 5 months ago

OSHistory commented 5 months ago

QGIS Enhancement: Improve UX of Raster Legend in the QGIS Layers Panel

Date 2024/06/07

Author Niklas Alt (@oshistory)

Contact

Version QGIS 3.34 / QGIS 3.36

Summary

A few versions back QGIS has started to expand raster files with a legend, once they are added to the layer-panel. We are working mostly with georeferenced historical maps, so for the most part the maps are simple RGB files with transparency. And often we add dozens of maps which make up a city. Leading to long lists of expanded legends informing about the fact that all maps are made up of RGBA color bands.

Additionaly we are relying on the opacity slider, which can be added to the layer tree, allowing for a convenient way to control the opacity of the added maps. However the slider is only visible when the map is expanded in the layer-panel.

I have posted a while back on mastodon and have added some images for illustrative purposes:

https://fedihum.org/@oshistory/111821429135997460

0e94cb033fe70ce2

Proposed Solution

Deliverables

(required for QGIS grant submissions)

Example(s)

(optional)

Affected Files

(optional)

Risks

(required)

Performance Implications

(required if known at design time)

Further Considerations/Improvements

(optional)

Backwards Compatibility

(required if applicable)

Issue Tracking ID(s)

(optional)