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 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.