Numberedheadings | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
QGIS Geo ProcessingThis module introduces a few of the common QGIS vector processing functions. In most cases, processes take as input one or more vector layers and create a new vector layer as output. Use the search box in the bottom left of the QGIS interface to find processes - they are all in the Processing Toolbox as well, and some have their own menu options. Fixed distanceCreate buffer
Create centroids and find nearest
This process creates an intersection of two sets of geometry - i.e. a new layer representing the shared areas of the input layers, as in the example below. The areas outlined in thick black is the intersect between the green and the hatched layer.
DifferenceThe difference between two vector layers is represented by the areas which are in one but not the other - in other words the inverse of intersection. The Difference tool has a similar dialog to the Intersection tool, with two input layers specified. UnionThe union tool merges the geometries from two layers into a single layer. Note that it does not dissolve boundaries between features or create multi-polygons, but rather creates features comprising all component parts from the two geometries. To use Union, search in the search bar. If these are the features to be unioned: The result would be as follows: Note that separate features have been created where there is an overlap - in the screenshot below they have been moved to demonstrate this: Other ToolsAs well as 'standard' geoprocessing functions, QGIS includes a range of useful tools that can be used for research or other purposes - some examples are described here. In each case, use the search bar to load the dialog. Polygon from Layer ExtentThis creates a rectangle (in black) that represents the maximum extent of all the features in a layer.This is a sampling tool which creates randomly-located points in a new output dataset. This is commonly used to create dot density maps. The tool requires as a minimum:
The result will be something like this, with the number of dots based on the population of each area: Vector gridA vector grid overlaid on a map can be used in analysis, for example showing the density of points within grid squares, or for 'sectorising' an area.
Analysis ToolsThe tools in this section support data analysis, both spatial and non-spatial. Distance MatrixThis tool calculates the distances between all the points in one dataset and all the points in another, and outputs the results to a new table. For example, suppose we have two datasets, Places (A,B and C) and Destinations (W,X,Y and Z).
Sum line lengthsThis tool calculates the total length of a line or line network within an area or multiple areas. Two input layers are required; one containing the lines to be calculated, and the other the areas within which the calculation will be made. The output will be a copy of the area layer, with the total line length within each area as a new attribute. Count points in polygonThis calculates the number of points in a point layer that fall within each feature of a polygon layer. It requires two inputs; the point layer to be counted, and the polygon layer to count inside. The output will be a copy of the polygon layer, with an additional attribute for each feature showing how may points are inside it. This attribute can be used with a graduated style to indicate the frequency of points in each feature. |
...