Class: QgsGeometryCheckFactory¶
A factory for geometry checks.
Note
This class is a technology preview and unstable API.
Added in version 3.4.
Methods
The type of this check. |
|
Creates a new geometry check with context and configuration. |
|
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. |
- class qgis.analysis.QgsGeometryCheckFactory[source]¶
Bases:
object
- checkType(self) QgsGeometryCheck.CheckType [source]¶
The type of this check.
- Return type:
- createGeometryCheck(self, context: QgsGeometryCheckContext | None, configuration: Dict[str, Any]) QgsGeometryCheck | None [source]¶
Creates a new geometry check with
context
andconfiguration
.- Parameters:
context (Optional[QgsGeometryCheckContext])
configuration (Dict[str, Any])
- Return type:
Optional[QgsGeometryCheck]
- flags(self) QgsGeometryCheck.Flags [source]¶
Flags for this check.
- Return type:
- isCompatible(self, layer: QgsVectorLayer | None) bool [source]¶
Checks if this check should be made available for
layer
.- Parameters:
layer (Optional[QgsVectorLayer])
- Return type:
bool