QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSGEOMETRYISVALIDCHECK_H
17 #define QGSGEOMETRYISVALIDCHECK_H
68 QString
description()
const override {
return factoryDescription(); }
69 QString
id()
const override {
return factoryId(); }
73 static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
75 static QString factoryDescription()
SIP_SKIP;
82 #endif // QGSGEOMETRYISVALIDCHECK_H
virtual QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const =0
A list of geometry types for which this check can be performed.
An error for a QgsGeometryIsValid check.
virtual Q_DECL_DEPRECATED QStringList resolutionMethods() const
Returns a list of descriptions for available resolutions for errors.
An error from a QgsSingleGeometryCheck.
Checks if geometries are valid using the backend configured in the QGIS settings. This does not offer...
virtual QList< QgsSingleGeometryCheckError * > processGeometry(const QgsGeometry &geometry) const =0
Check the geometry for errors.
virtual QString description() const
A human readable description of this error.
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
Base class for geometry checks for a single geometry without any context of the layer or other layers...
QString description() const override
Returns a human readable description for this check.
This class implements a geometry check.
Base configuration for geometry checks.
QString id() const override
Returns an id for this check.
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
CheckType
The type of a check.