18 #ifndef QGS_GEOMETRY_OVERLAP_CHECK_H 19 #define QGS_GEOMETRY_OVERLAP_CHECK_H 38 : mLayerId( vl->id() )
39 , mLayerName( vl->name() )
43 QString
layerId()
const {
return mLayerId;}
64 const QVariant &value,
78 QString description()
const override;
80 QMap<QString, QgsFeatureIds > involvedFeatures()
const override;
81 QIcon icon()
const override;
116 void collectErrors(
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages,
QgsFeedback *feedback,
const LayerFeatureIds &ids =
LayerFeatureIds() )
const override;
117 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices,
Changes &changes )
const override;
118 QStringList resolutionMethods()
const override;
120 QString description()
const override;
121 QString id()
const override;
122 QgsGeometryCheck::Flags flags()
const override;
126 static QString factoryDescription()
SIP_SKIP;
127 static QString factoryId()
SIP_SKIP;
128 static QgsGeometryCheck::Flags factoryFlags()
SIP_SKIP;
129 static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
135 const double mOverlapThresholdMapUnits;
139 #endif // QGS_GEOMETRY_OVERLAP_CHECK_H Subtract the overlap region from the polygon.
Checks if geometries overlap.
A class to represent a 2D point.
QgsFeatureId featureId() const
CheckType
The type of a check.
A geometry is the spatial representation of a feature.
QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const override
A list of geometry types for which this check can be performed.
QString layerName() const
Base class for feedback objects to be used for cancellation of something running in a worker thread...
Base configuration for geometry checks.
An error of a QgsGeometryOverlapCheck.
const OverlappedFeature & overlappedFeature() const
Returns the overlapped feature.
A layer feature combination to uniquely identify and access a feature in a set of layers...
This class implements a geometry check.
A list of layers and feature ids for each of these layers.
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
bool operator==(const OverlappedFeature &other) const
ResolutionMethod
Available resolution methods.
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
This represents an error reported by a geometry check.
OverlappedFeature(QgsVectorLayer *vl, QgsFeatureId fid)
Represents a vector layer which manages a vector based data sets.