Geoprocessing
Geoprocessing allows us to transform and analyze spatial data.
Geoprocessing tools in QGIS typically take one or more layers as an input and produce a new layer as an output.
QGIS includes many geoprocessing tools. More can be added via plugins.

Image source: Wikimedia Commons. CC-BY-SA 4.0.
We’ll use geoprocessing to analyze areas around each public library location.
To prepare for this, we will need to reproject the libraries layer. (This is because the spreadsheet data used latitude and longitude, which is an angular unit of measurement. We need to change this to a linear unit - e.g., metres.)
Reprojecting data
• Open the Processing Panel (View → Panels → Processing Toolbox) if it’s not already open.

• Search for reproject layer. Double-click the Vector general → Reproject layer result to open the tool.

• For the Input layer, select the libraries layer from the dropdown.

• For the Target CRS, choose Project CRS: EPSG:2958 - NAD83(CSRS) / UTM Zone 17N from the dropdown.

Save the output as a shapefile:
• Click the three dots next to the Reprojected box and choose Save to File.

• Navigate to the data folder and save the output as library_projected.shp. Click Run.

The result is a new version of the libraries layer that uses a different coordinate reference system. (Note that you can display the underlying CRS by hovering over the layer name).

Buffering features
• Search for Buffer in the Processing Toolbox. Double-click the Vector Geometry → Buffer result to open the tool.

• Specify the reprojected libraries layer as the Input layer and 1 kilometre as the Distance.

• Save the output layer to the data folder as library_buffer_1km.shp. Click Run.

• Result: A new polygon layer representing a 1-kilometre radius around each library location.

Summarizing data
We’ll use a geoprocessing tool to summarize how many bike share stations are within a kilometre of each library.
• In the Processing Toolbox, search for count points in polygon. Double-click Vector analysis → Count points in polygon to open the tool.

• Specify library_buffer_1km as the Polygons parameter and bike_share_stations as the Points. Save the output as a shapefile in the data folder. Click Run.

• This will output a layer with the same geometry as the buffered layer, but its attribute table will contain a new field summarizing the number of libraries found within each 1-kilometre radius of each library.
