Subgroup: Geometry

Class: QgsGeometryValidator

class qgis.core.QgsGeometryValidator(geometry: QgsGeometry, errors: object = None, method: QgsGeometry.ValidationMethod = QgsGeometry.ValidatorQgisInternal)

Bases: PyQt5.QtCore.QThread

Constructor for QgsGeometryValidator.

Methods

addError
childEvent
connectNotify
customEvent
disconnectNotify
exec
exec_
isSignalConnected
receivers
run
sender
senderSignalIndex
setTerminationEnabled
stop
timerEvent
validateGeometry Validate geometry and produce a list of geometry errors

Signals

errorFound errorFound(self, QgsGeometry.

Attributes

addError(self, QgsGeometry.Error)
childEvent()
connectNotify()
customEvent()
disconnectNotify()
errorFound

errorFound(self, QgsGeometry.Error) [signal]

exec()
exec_()
isSignalConnected()
receivers()
run(self)
sender()
senderSignalIndex()
setTerminationEnabled()
stop(self)
timerEvent()
validateGeometry(geometry: QgsGeometry, method: QgsGeometry.ValidationMethod = QgsGeometry.ValidatorQgisInternal) → List[QgsGeometry.Error]

Validate geometry and produce a list of geometry errors