16#ifndef QGSOVERLAYUTILS_H
17#define QGSOVERLAYUTILS_H
34namespace QgsOverlayUtils
53 DontPromotePointGeometryToMultiPoint = 1 << 0,
61 Q_DECLARE_FLAGS( SanitizeFlags, SanitizeFlag )
65 const QgsFeatureSource &sourceA,
66 const QgsFeatureSource &sourceB,
68 QgsProcessingContext &context,
69 QgsProcessingFeedback *feedback,
72 DifferenceOutput outputAttrs,
73 const QgsGeometryParameters ¶meters = QgsGeometryParameters(),
74 SanitizeFlags flags = SanitizeFlags()
78 const QgsFeatureSource &sourceA,
79 const QgsFeatureSource &sourceB,
81 QgsProcessingContext &context,
82 QgsProcessingFeedback *feedback,
85 const QList<int> &fieldIndicesA,
86 const QList<int> &fieldIndicesB,
87 const QgsGeometryParameters ¶meters = QgsGeometryParameters()
91 bool sanitizeIntersectionResult( QgsGeometry &geom,
Qgis::GeometryType geometryType, SanitizeFlags flags = SanitizeFlags() );
103 void resolveOverlaps(
104 const QgsFeatureSource &source, QgsFeatureSink &sink, QgsProcessingFeedback *feedback,
const QgsGeometryParameters ¶meters = QgsGeometryParameters(), SanitizeFlags flags = SanitizeFlags()
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
An interface for objects which accept features via addFeature(s) methods.
An interface for objects which provide features via a getFeatures method.
Container of fields for a vector layer.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.