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 const QString &sinkName,
69 QgsProcessingContext &context,
70 QgsProcessingFeedback *feedback,
73 DifferenceOutput outputAttrs,
74 const QgsGeometryParameters ¶meters = QgsGeometryParameters(),
75 SanitizeFlags flags = SanitizeFlags()
79 const QgsFeatureSource &sourceA,
80 const QgsFeatureSource &sourceB,
82 const QString &sinkName,
83 QgsProcessingContext &context,
84 QgsProcessingFeedback *feedback,
87 const QList<int> &fieldIndicesA,
88 const QList<int> &fieldIndicesB,
89 const QgsGeometryParameters ¶meters = QgsGeometryParameters()
93 bool sanitizeIntersectionResult( QgsGeometry &geom,
Qgis::GeometryType geometryType, SanitizeFlags flags = SanitizeFlags() );
105 void resolveOverlaps(
106 const QgsFeatureSource &source,
107 QgsFeatureSink &sink,
108 const QString &sinkName,
109 QgsProcessingFeedback *feedback,
110 const QgsGeometryParameters ¶meters = QgsGeometryParameters(),
111 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.