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<Qgis::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
75 static QString factoryDescription()
SIP_SKIP;
Base configuration for geometry checks.
Base class for geometry checks.
CheckType
The type of a check.
const QgsGeometryCheckContext * context() const
Returns the context.
QgsGeometryIsValidCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QString &errorDescription)
Creates a new is valid check error.
QString id() const override
Returns an id for this check.
Q_DECL_DEPRECATED QStringList resolutionMethods() const override
Returns a list of descriptions for available resolutions for errors.
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
QgsGeometryIsValidCheck(const QgsGeometryCheckContext *context, const QVariantMap &configuration)
Creates a new is valid check with the provided context.
QList< QgsSingleGeometryCheckError * > processGeometry(const QgsGeometry &geometry) const override
Check the geometry for errors.
QString description() const override
Returns a human readable description for this check.
QList< Qgis::GeometryType > compatibleGeometryTypes() const override
A list of geometry types for which this check can be performed.
A geometry is the spatial representation of a feature.
QgsGeometry errorLocation() const
The exact location of the error.
virtual QString description() const
A human readable description of this error.
QgsSingleGeometryCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QgsVertexId &vertexId=QgsVertexId())
Creates a new single geometry check error.
const QgsSingleGeometryCheck * check() const
The check that created this error.
Base class for geometry checks for a single geometry without any context of the layer or other layers...
QgsSingleGeometryCheck(const QgsGeometryCheckContext *context, const QVariantMap &configuration)
Creates a new single geometry check.
Represents a vector layer which manages a vector based dataset.