Checking for geometry errors

Data (even from reputable sources) can contain geometry errors. These can often be tiny geometry errors that are not obvious, but which prevent geoprocessing tools from running or producing valid results. QGIS has tools that help you identify such errors.

The Check geometry validity tool (which can be found by navigating to Vector | Geometry Tools | Check Geometry Validity) takes an input vector layer that is loaded in the canvas, and scans the data for errors, such as geometric intersections. The errors can be displayed in a window, or the tool can output the results to a point layer. The resulting point layer will have an attribute describing the error. In the following screenshot, you can see that the tool has been ...

Get Mastering QGIS - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.