<div dir="ltr"><div>Hi,</div><div>And here's the feature in the changelog (<a href="https://qgis.org/en/site/forusers/visualchangelog322/index.html#feature-data-defined-raster-layer-opacity">https://qgis.org/en/site/forusers/visualchangelog322/index.html#feature-data-defined-raster-layer-opacity</a>); afaict, it affects the whole layer and not pixel by pixel.</div><div><br></div><div>On a kind-of "off topic" request, I'd also be interested to see examples of expressions playing with raster functions.</div><div><br></div><div>Regards,</div><div>Harrissou<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 6 déc. 2021 à 13:32, Johannes Kröger (WhereGroup) <<a href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Anything that you can do with expressions, in this case to get a number <br>
between 0 and 100, but it will always affect the whole layer globally. <br>
You can not set a different opacity for different regions. For this, <br>
approaches like Ujaval's suggestion are probably the best way.<br>
<br>
Cheers<br>
Hannes<br>
<br>
> I'd still really like to know what can be done using an expression for <br>
> the Global Opacity of a raster layer. <br>
<br>
-- <br>
Johannes Kröger / GIS-Entwickler/-Berater<br>
WhereGroup GmbH<br>
Eifelstraße 7<br>
53119 Bonn<br>
Germany<br>
<br>
Tel: +49 (0)228 / 90 90 38 - 36<br>
Fax: +49 (0)228 / 90 90 38 - 11<br>
<br>
<a href="mailto:johannes.kroeger@wheregroup.com" target="_blank">johannes.kroeger@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
-------------------------------<br>
<br>
********************************************<br>
Where2B Konferenz 2021<br>
Online am 16. Dezember 2021<br>
<a href="https://where2b-conference.com/" rel="noreferrer" target="_blank">https://where2b-conference.com/</a><br>
********************************************<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>