Skip to content

Latest commit

 

History

History
181 lines (139 loc) · 6.87 KB

plugins_geometry_checker.rst

File metadata and controls

181 lines (139 loc) · 6.87 KB
.. index:: Digitizing, Topology, Geometry validity, Errors
   single: Plugins; Geometry checker

Geometry Checker Plugin

Geometry Checker is a powerful core plugin to check and fix the geometry validity of a layer. It is available from the :menuselection:`Vector` menu (geometryChecker :menuselection:`Check Geometries...`).

Configuring the checks

The :guilabel:`Check Geometries` dialog shows different grouped settings in the first tab (:guilabel:`Setup`):

When you are happy with the configuration, you can click on the :guilabel:`Run` button.

img/check_geometries.png

The Geometry Checker Plugin

The Geometry Checker Plugin can find the following errors:

  • Self intersections: a polygon with a self intersection
  • Duplicate nodes: two duplicates nodes in a segment
  • Holes: hole in a polygon
  • Segment length: a segment length lower than a threshold
  • Minimum angle: two segments with an angle lower than a threshold
  • Minimum area: polygon area lower than a threshold
  • Silver polygon: this error come from very small polygon (with small area) with a large perimeter
  • Duplicates features
  • Feature within feature
  • Overlaps: polygon overlapping
  • Gaps: gaps between polygons

The following figure shows the different checks made by the plugin.

img/geometry_checker_scheme.png

Some checks supported by the plugin

Analysing the results

The results appear in the second tab (:guilabel:`Result`) and as an overview layer of the errors in the canvas (its name has the default prefix :file:`checked_`). A table lists the :guilabel:`Geometry check result` with one error per row and columns containing: the layer name, an ID, the error type, 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 :guilabel:`Export` the error into different file formats. You also have a counter with the number of total errors and fixed ones.

You can select a row to see the location of the error. You can change this behavior by selecting another action between radioButtonOn :guilabel:`Error` (default), radioButtonOff :guilabel:`Feature`, radioButtonOff :guilabel:`Don't move`, and checkbox :guilabel:`Highlight selected features`.

Below the zoom action when clicking on the table row, you can:

Tip

Fix multiple errors

You can fix multiple errors by selecting more than one row in the table with the CTRL + click action.

Finally, you can choose which :guilabel:`Attribute to use when merging features by attribute value`.