18 #ifndef QGSALGORITHMEXTRACTBYLOCATION_H 19 #define QGSALGORITHMEXTRACTBYLOCATION_H 49 void addPredicateParameter();
50 Predicate reversePredicate( Predicate predicate )
const;
51 QStringList predicateOptionsList()
const;
59 class QgsSelectByLocationAlgorithm :
public QgsLocationBasedAlgorithm
64 QgsSelectByLocationAlgorithm() =
default;
65 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
66 QString name()
const override;
67 Flags flags()
const override;
68 QString displayName()
const override;
69 QStringList tags()
const override;
70 QString group()
const override;
71 QString groupId()
const override;
72 QString shortHelpString()
const override;
73 QgsSelectByLocationAlgorithm *createInstance()
const override SIP_FACTORY;
77 QVariantMap processAlgorithm(
const QVariantMap ¶meters,
85 class QgsExtractByLocationAlgorithm :
public QgsLocationBasedAlgorithm
90 QgsExtractByLocationAlgorithm() =
default;
91 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
92 QString name()
const override;
93 QString displayName()
const override;
94 QStringList tags()
const override;
95 QString group()
const override;
96 QString groupId()
const override;
97 QString shortHelpString()
const override;
98 QgsExtractByLocationAlgorithm *createInstance()
const override SIP_FACTORY;
102 QVariantMap processAlgorithm(
const QVariantMap ¶meters,
109 #endif // QGSALGORITHMEXTRACTBYLOCATION_H Base class for providing feedback from a processing algorithm.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Abstract base class for processing algorithms.
Base class for feedback objects to be used for cancelation of something running in a worker thread...
An interface for objects which provide features via a getFeatures method.
Contains information about the context in which a processing algorithm is executed.