Class: QgsSingleGeometryCheckError¶
- class qgis.analysis.QgsSingleGeometryCheckError¶
Bases:
sip.wrapper
An error from a
QgsSingleGeometryCheck
.Note
This class is a technology preview and unstable API.
New in version 3.4.
QgsSingleGeometryCheckError(check:
QgsSingleGeometryCheck
, geometry:QgsGeometry
, errorLocation:QgsGeometry
, vertexId:QgsVertexId
= QgsVertexId()) Creates a new single geometry check error.QgsSingleGeometryCheckError(
QgsSingleGeometryCheckError
)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.
- check(self) QgsSingleGeometryCheck ¶
The check that created this error.
New in version 3.4.
- Return type:
- description(self) str ¶
A human readable description of this error.
- Return type:
str
- errorLocation(self) QgsGeometry ¶
The exact location of the error.
New in version 3.4.
- Return type:
- 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.- Parameters:
other (QgsSingleGeometryCheckError) –
- Return type:
bool
- update(self, other: QgsSingleGeometryCheckError)¶
Update this error with the information from
other
. Will be used to update existing errors whenever they are re-checked.- Parameters:
other (QgsSingleGeometryCheckError) –
- vertexId(self) QgsVertexId ¶
The vertex id of the error. May be invalid depending on the check.
New in version 3.4.
- Return type: