Skip to content

Scan Geometry Errors

The Scan Geometry Errors algorithm scans an input vector polygon layer for specific geometry and topology defects and outputs a Point vector sink layer representing exact error locations and audit metadata.

Access

  • Processing Toolbox: GMD Pipeline → GMD Toolkits → Scan Geometry Errors
  • Algorithm ID: gmd_pipeline:scangeometryerrors

When to Use

Use this algorithm when:

  • Auditing polygon layers for topological errors prior to boundary management or processing.
  • Generating a standalone spatial Error Layer (Point geometry) for styling, visual inspection, or GIS report generation.
  • Performing automated batch validation of polygon layers across project folders or scripts.

Parameters

ParameterTypeDescription
Input Polygon LayerVector (Polygon)Target vector polygon layer to scan.
Check Null GeometriesBooleanDetect features with null geometry objects (True/False).
Check Empty GeometriesBooleanDetect features with empty geometry shapes (True/False).
Check Invalid Geometries (GEOS)BooleanDetect features failing GEOS validity tests (True/False).
Check Self IntersectionsBooleanDetect features with self-intersecting polygon boundaries (True/False).
Check Wrong Geometry TypesBooleanDetect non-polygon geometries in the layer (True/False).
Check Duplicate GeometriesBooleanDetect features sharing exact duplicate geometries (True/False).
Error Locations (Point Layer)Vector Sink (Point)Output point layer containing precise error locations and metadata.

Output Error Layer Schema

The resulting Error Locations point layer includes the following fields:

Field NameTypeDescription
source_fidIntegerFeature ID of the source feature containing the error.
layer_nameStringName of the source layer scanned.
error_typeStringType of error (e.g. Invalid Geometry, Null Geometry, Self Intersection).
descriptionStringDetailed explanation of the detected issue.
is_autofixableBooleanIndicates whether the issue can be automatically resolved by the Repair algorithm.

Next Steps

Use the generated Error Locations layer to inspect issues visually in QGIS or pass the target layer to the Repair Polygon Geometries processing tool to fix selected error features.

Developed by the Geospatial Management Division