“Spatial selections allow you to select the features of one layer using the geometries of another layer..”
Sometimes you want to use one layer to select features from another. For example, you could select roads that intersect with a flooded layer to find out which roads might be flooded. QGIS provides tools to do this kind of analysis which we will look at in more detail here.
Goal: To review the Natural Earth Airports dataset and see if there is an airport in every country of the world.
Name | Expectation |
---|---|
Countries layer ❗ |
ne_10m_admin_0_countries in the ne.sqlite database |
Airports layer ❗ |
ne_10m_airports in the ne.sqlite database |
Composer table settings ❗ |
Attributes - remove all columns except 'admin' Attributes - column header set to 'Country' Show grid - disable Fonts and text styling - Alignment set to centre - Font set to bold |
Does your report look something like the screen-shot above? Bear in mind that the report may simply be a product of an incomplete dataset, so the results in the above example may not reflect the real world situation.
The select by location will find all features near to a specific location:❗
Indicate which statements are correct:❗
Download the sample data for the lesson.