What regions intersect pipelines?

We can answer this with a spatial query. In QGIS, this tool is called Select by Location; search for this term in the Processing Toolbox, then double-click on the tool to open the dialog box. We want to use this tool to select all of the features from the regions layer that intersect with pipelines. The input will look like this:

Select by Location tool

The output in QGIS will look like this:

Selected regions highlighted

Open the attribute table by right-clicking on the layer and choosing Open Attribute Table ...

Get QGIS Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.