[Qgis-user] Raster layer opacity expression - how does it work?

DelazJ delazj at gmail.com
Mon Dec 6 06:12:54 PST 2021


Hi,
And here's the feature in the changelog (
https://qgis.org/en/site/forusers/visualchangelog322/index.html#feature-data-defined-raster-layer-opacity);
afaict, it affects the whole layer and not pixel by pixel.

On a kind-of "off topic" request, I'd also be interested to see examples of
expressions playing with raster functions.

Regards,
Harrissou

Le lun. 6 déc. 2021 à 13:32, Johannes Kröger (WhereGroup) <
johannes.kroeger at wheregroup.com> a écrit :

> Anything that you can do with expressions, in this case to get a number
> between 0 and 100, but it will always affect the whole layer globally.
> You can not set a different opacity for different regions. For this,
> approaches like Ujaval's suggestion are probably the best way.
>
> Cheers
> Hannes
>
> > I'd still really like to know what can be done using an expression for
> > the Global Opacity of a raster layer.
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
> WhereGroup GmbH
> Eifelstraße 7
> 53119 Bonn
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
>
> johannes.kroeger at wheregroup.com
> www.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> -------------------------------
>
> ********************************************
> Where2B Konferenz 2021
> Online am 16. Dezember 2021
> https://where2b-conference.com/
> ********************************************
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211206/6f6232dd/attachment.html>


More information about the Qgis-user mailing list