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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.