Complex spatial and aspatial queries
QGIS provides powerful spatial and aspatial query tools that allow for the easy creation of data subsets. In this section, a series of spatial and aspatial queries will be used to determine which elementary schools are within the Southeast Uplift Neighborhood Coalition (SEUL) and Southwest Neighborhoods Inc. (SWNI) coalitions in Portland, Oregon. This example uses the Neighborhoods_pdx.shp
and schools.shp
sample data.
First, we will select the SEUL and SWNI coalition neighborhoods from Neighborhoods_pdx.shp
. To do this, perform the following steps:
-
Open the attribute table of
Neighborhoods_pdx
. Click on the Select features using an expression button () to open the Select by expression window. This window is ...
Get Mastering QGIS - Second Edition 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.