16#ifndef QGSSINGLEGEOMETRYCHECK_H
17#define QGSSINGLEGEOMETRYCHECK_H
20#include <QCoreApplication>
26#include "qgis_analysis.h"
47 , mGeometry( geometry )
48 , mErrorLocation( errorLocation )
49 , mVertexId( vertexId )
70 virtual bool handleChanges(
const QList<QgsGeometryCheck::Change> &changes )
SIP_SKIP;
75 virtual QString description()
const;
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Base configuration for geometry checks.
Wraps a QgsSingleGeometryError into a standard QgsGeometryCheckError.
This represents an error reported by a geometry check.
This class implements a geometry check.
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
A layer feature combination to uniquely identify and access a feature in a set of layers.
Contains utilities required for geometry checks.
A geometry is the spatial representation of a feature.
An error from a QgsSingleGeometryCheck.
virtual ~QgsSingleGeometryCheckError()=default
QgsSingleGeometryCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QgsVertexId &vertexId=QgsVertexId())
Creates a new single geometry check error.
QgsGeometry mErrorLocation
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.
void CPL_STDCALL collectErrors(CPLErr, int, const char *msg)
A list of layers and feature ids for each of these layers.
Utility class for identifying a unique vertex within a geometry.