In the following sections, we will cover more advanced processing tools and see how we can use the modeler to automate our tasks.
Advanced vector and raster analysis with processing
Finding nearest neighbors
Finding nearest neighbors – for example, the airport nearest to a populated place – is a common task in geoprocessing.
To do this, load the popp.shp into QGIS as well as the airports.shp, if this is not already loaded. Then search for the Distance to Nearest Hub tool (Line to Hub) in the toolbox. You should use the popp.shp as the Source points layer and the airports as the Destination hubs layer. The Hub layer name attribute will be added to the results attribute table to identify the nearest feature. Select...