Class: QgsGeometryCheckFactory

class qgis.analysis.QgsGeometryCheckFactory

Bases: sip.wrapper

A factory for geometry checks.

Note

This class is a technology preview and unstable API.

Methods

checkType

The type of this check.

createGeometryCheck

Creates 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.

checkType(self) → QgsGeometryCheck.CheckType

The type of this check.

Return type

QgsGeometryCheck.CheckType

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

Creates a new geometry check with context and configuration.

Parameters
Return type

QgsGeometryCheck

description(self) → str

A human readable description for this check.

Return type

str

flags(self) → QgsGeometryCheck.Flags

Flags for this check.

Return type

QgsGeometryCheck.Flags

id(self) → str

The unique id for this geometry check.

Return type

str

isCompatible(self, layer: QgsVectorLayer) → bool

Checks if this check should be made available for layer.

Parameters

layer (QgsVectorLayer) –

Return type

bool