Handling transparencies

Transparency is a lack of pigment or color, such that you can see through one feature to the feature beneath. You can think of this as being similar to tinted or stained glass; some light is allowed to pass through and reflect off what's inside. When used right, transparency can help emphasize or de-emphasize features in a map composition. It can also be used to blend two layers to look as if they are one layer.

Getting ready

This recipe demonstrates transparency for both vectors and rasters, so we'll need an example of each. The lakes.shp and elevlid_D782_6.tif layers will work well for demonstration purposes. Load both of these layers in a fresh project, putting lake.shp on top.

How to do it…

  1. With a vector layer loaded, open ...

Get QGIS: Becoming a GIS Power User now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.