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
The type of this check.
Creates a new geometry check with
context
andconfiguration
.A human readable description for this check.
Flags for this check.
The unique id for this geometry check.
Checks if this check should be made available for
layer
.- checkType(self) QgsGeometryCheck.CheckType ¶
The type of this check.
- Return type:
- createGeometryCheck(self, context: QgsGeometryCheckContext, configuration: Dict[str, Any]) QgsGeometryCheck ¶
Creates a new geometry check with
context
andconfiguration
.- Parameters:
context (QgsGeometryCheckContext) –
configuration (Dict[str) –
- Return type:
- description(self) str ¶
A human readable description for this check.
- Return type:
str
- flags(self) QgsGeometryCheck.Flags ¶
Flags for this check.
- Return type:
- 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