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

Ujaval Gandhi ujaval at spatialthoughts.com
Mon Dec 6 06:42:21 PST 2021


You can also try the “Mask” plugin for more control.
https://plugins.qgis.org/plugins/mask/

On Mon, 6 Dec 2021 at 7:43 PM, DelazJ <delazj at gmail.com> wrote:

> 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
>> <https://www.google.com/maps/search/Eifelstra%C3%9Fe+7+%0D%0A53119+Bonn+%0D%0AGermany?entry=gmail&source=g>
>> 53119 Bonn
>> <https://www.google.com/maps/search/Eifelstra%C3%9Fe+7+%0D%0A53119+Bonn+%0D%0AGermany?entry=gmail&source=g>
>> Germany
>> <https://www.google.com/maps/search/Eifelstra%C3%9Fe+7+%0D%0A53119+Bonn+%0D%0AGermany?entry=gmail&source=g>
>>
>> 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
>>
> --
[image: Logo] <https://spatialthoughts.com/>
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: ujaval at spatialthoughts.com
[image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/>  [image:
Twitter icon] <https://twitter.com/spatialthoughts>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211206/173e4794/attachment.html>


More information about the Qgis-user mailing list