Geometry Checker is a powerful core plugin to check and fix the geometry validity of a layer. The Geometry Checker dialog show differents grouped settings in the first tab (Settings):
After you are happy with the configuration, you can click on the [Run] button.
The results appear in the second tab and as an overview layer of the errors in the canvas (its name is checker). A table list the geometry check result with one error by row: the first row is an ID, the second the reason of the error, then the coordinates of the error, a value (depending on the type of the error) and finally the resolution column which indicates the resolution of the error. At the bottom of this table, you can export the error into a shapefile. At the left, you have the number of the errors and the fixed errors.
Figure Geometry Checker:
The Geometry Checker Plugin can find the following errors:
The following figure shows the different checks made by the plugin.
Figure The Differents checks supported by the plugin
You can select a row to see the localisation of the error. You can change this behaviour by selecting another action between error (default), Feature, Don’t move, and Highlight contour of selected features.
Below the zoom action when clicking on the table row, you can Show the selected features in attribute table, Fix selected errors using default resolution and Fix selected errors, prompt for resolution method. In the latter, you will see a window to choose the resolution’s method among which:
Combinar con el polígono adyacente con el borde compartido más largo,
Borrar objeto espacial
Truco
Corregir multiples errores
You can fix multiple errors by selecting more than one row in the table with the CTRL + click action.
The default action could be changed with the last icon Error resolution settings. For some type of errors, you can change the default action between some specific action or No action.
Finally, you can choose which attribute to use when merging features by attribute value.