Class: QgsSingleGeometryCheckError¶
-
class
qgis.analysis.
QgsSingleGeometryCheckError
(check: QgsSingleGeometryCheck, geometry: QgsGeometry, errorLocation: QgsGeometry, vertexId: QgsVertexId = QgsVertexId())¶ Bases:
sip.wrapper
Creates a new single geometry check error.
QgsSingleGeometryCheckError(QgsSingleGeometryCheckError)
An error from a QgsSingleGeometryCheck.
Note
This class is a technology preview and unstable API.
New in version 3.4: Enums
Methods
The check that created this error.
A human readable description of this error.
The exact location of the error.
Check if this error is equal to
other
.Update this error with the information from
other
.The vertex id of the error.
Signals
Attributes
-
check
(self) → QgsSingleGeometryCheck¶ The check that created this error.
New in version 3.4.
-
description
(self) → str¶ A human readable description of this error.
-
errorLocation
(self) → QgsGeometry¶ The exact location of the error.
New in version 3.4.
-
isEqual
(self, other: QgsSingleGeometryCheckError) → bool¶ Check if this error is equal to
other
. Is reimplemented by subclasses with additional information, comparison of base information is done in parent class.
-
update
(self, other: QgsSingleGeometryCheckError)¶ Update this error with the information from
other
. Will be used to update existing errors whenever they are re-checked.
-
vertexId
(self) → QgsVertexId¶ The vertex id of the error. May be invalid depending on the check.
New in version 3.4.
-