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: Enums

Methods

check

The check that created this error.

description

A human readable description of this error.

errorLocation

The exact location of the error.

isEqual

Check if this error is equal to other.

update

Update this error with the information from other.

vertexId

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.