18#ifndef QGS_GEOMETRY_OVERLAP_CHECK_H 
   19#define QGS_GEOMETRY_OVERLAP_CHECK_H 
   37          : mLayerId( vl->id() )
 
   38          , mLayerName( vl->name() )
 
 
   42        QString 
layerId()
 const { 
return mLayerId; }
 
 
   75    QIcon 
icon() 
const override;
 
   78    OverlappedFeature mOverlappedFeature;
 
 
  110    void collectErrors( 
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages, 
QgsFeedback *feedback, 
const LayerFeatureIds &ids = LayerFeatureIds() ) 
const override;
 
  111    void fixError( 
const QMap<QString, QgsFeaturePool *> &featurePools, 
QgsGeometryCheckError *error, 
int method, 
const QMap<QString, int> &mergeAttributeIndices, Changes &changes ) 
const override;
 
  112    Q_DECL_DEPRECATED QStringList resolutionMethods() 
const override;
 
  115    QString id() 
const override;
 
  120    static QString factoryDescription() 
SIP_SKIP;
 
  121    static QString factoryId() 
SIP_SKIP;
 
  123    static QList<
Qgis::GeometryType> factoryCompatibleGeometryTypes() 
SIP_SKIP;
 
  129    const 
double mOverlapThresholdMapUnits;
 
 
Provides global constants and enumerations for use throughout the application.
 
Base class for feedback objects to be used for cancellation of something running in a worker thread.
 
Base configuration for geometry checks.
 
This represents an error reported by a geometry check.
 
virtual QMap< QString, QgsFeatureIds > involvedFeatures() const
Returns a list of involved features.
 
virtual QString description() const
The error description.
 
virtual bool isEqual(QgsGeometryCheckError *other) const
Check if this error is equal to other.
 
virtual bool closeMatch(QgsGeometryCheckError *) const
Check if this error is almost equal to other.
 
virtual QIcon icon() const
Returns an icon that should be shown for this kind of error.
 
virtual bool handleChanges(const QgsGeometryCheck::Changes &changes)
Apply a list of changes.
 
Base class for geometry checks.
 
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
 
CheckType
The type of a check.
 
A layer feature combination to uniquely identify and access a feature in a set of layers.
 
An error of a QgsGeometryOverlapCheck.
 
const OverlappedFeature & overlappedFeature() const
Returns the overlapped feature.
 
Checks if geometries overlap.
 
ResolutionMethod
Available resolution methods.
 
@ Subtract
Subtract the overlap region from the polygon.
 
QList< Qgis::GeometryType > compatibleGeometryTypes() const override
A list of geometry types for which this check can be performed.
 
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
 
A geometry is the spatial representation of a feature.
 
Represents a vector layer which manages a vector based dataset.
 
void CPL_STDCALL collectErrors(CPLErr, int, const char *msg)
 
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
 
OverlappedFeature(QgsVectorLayer *vl, QgsFeatureId fid)
 
QString layerName() const
 
bool operator==(const OverlappedFeature &other) const
 
QgsFeatureId featureId() const