Subgroup: Geometry

Class: QgsGeometryCheckFactory

class qgis.analysis.QgsGeometryCheckFactory

Bases: sip.wrapper

A factory for geometry checks.

Note

This class is a technology preview and unstable API.

New in version 3.4: Methods

checkType The type of this check.
createGeometryCheck Create a new geometry check with context and configuration.
description A human readable description for this check.
flags Flags for this check.
id The unique id for this geometry check.
isCompatible Checks if this check should be made available for layer.

Signals

Attributes

checkType(self) → QgsGeometryCheck.CheckType

The type of this check.

createGeometryCheck(self, context: QgsGeometryCheckContext, configuration: Dict[str, Any]) → QgsGeometryCheck

Create a new geometry check with context and configuration.

description(self) → str

A human readable description for this check.

flags(self) → QgsGeometryCheck.Flags

Flags for this check.

id(self) → str

The unique id for this geometry check.

isCompatible(self, layer: QgsVectorLayer) → bool

Checks if this check should be made available for layer.