I assume you are trying to set the opacity to 50% outside of a polygon
layer. This can be done using the 'Inverted Polygon' renderer. See this
screenshot https://ibb.co/Sf5HySf

[image: Logo] <https://spatialthoughts.com/>
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: [email protected]
[image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/>  [image:
Twitter icon] <https://twitter.com/spatialthoughts>



On Sun, Dec 5, 2021 at 5:12 PM Jonathan Schultz <[email protected]> wrote:

> Hello,
>
> I'm trying to use opacity on a raster layer to highlight an area of
> interest. So, for example, I would use opacity 100 for an area (defined
> in another layer), and 50 for anywhere outside that area. But I can't
> seem to even find basic documentation on how the Renderer opacity values
> work. If I enable the Assistant I get a bunch of fields: Source (an
> expression), Values from and to, plus a checkbox "Apply transform curve"
> with its own set of fields.
>
> When I google words like "Renderer opacity" all I get are references to
> the source code but no documentation or examples.
>
> This is QGIS version 3.22.0-Białowieża running on Linux/Debian.
>
> Does anyone know how this stuff works, or how I could find out?
>
> Thanks!
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to