16 #ifndef QGSGEOMETRYISVALIDCHECK_H 17 #define QGSGEOMETRYISVALIDCHECK_H 66 QString
description()
const override {
return factoryDescription(); }
67 QString
id()
const override {
return factoryId(); }
71 static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
73 static QString factoryDescription()
SIP_SKIP;
75 static QgsGeometryCheck::Flags factoryFlags()
SIP_SKIP;
80 #endif // QGSGEOMETRYISVALIDCHECK_H CheckType
The type of a check.
An error for a QgsGeometryIsValid check.
A geometry is the spatial representation of a feature.
Base class for geometry checks for a single geometry without any context of the layer or other layers...
virtual QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const =0
A list of geometry types for which this check can be performed.
Base configuration for geometry checks.
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
QString description() const override
Returns a human readable description for this check.
QString id() const override
Returns an id for this check.
An error from a QgsSingleGeometryCheck.
virtual QString description() const
A human readable description of this error.
virtual QList< QgsSingleGeometryCheckError * > processGeometry(const QgsGeometry &geometry) const =0
Check the geometry for errors.
virtual QStringList resolutionMethods() const =0
Returns a list of descriptions for available resolutions for errors.
Represents a vector layer which manages a vector based data sets.
Checks if geometries are valid using the backend configured in the QGIS settings. ...