18 #ifndef QGSALGORITHMEXTRACTBYLOCATION_H
19 #define QGSALGORITHMEXTRACTBYLOCATION_H
50 void addPredicateParameter();
51 Predicate reversePredicate( Predicate predicate )
const;
52 QStringList predicateOptionsList()
const;
66 class QgsSelectByLocationAlgorithm :
public QgsLocationBasedAlgorithm
71 QgsSelectByLocationAlgorithm() =
default;
72 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
74 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmSelectLocation.svg" ) ); }
75 QString name()
const override;
76 Flags flags()
const override;
77 QString displayName()
const override;
78 QStringList tags()
const override;
79 QString group()
const override;
80 QString groupId()
const override;
81 QString shortHelpString()
const override;
82 QgsSelectByLocationAlgorithm *createInstance() const override
SIP_FACTORY;
86 QVariantMap processAlgorithm( const QVariantMap ¶meters,
94 class QgsExtractByLocationAlgorithm : public QgsLocationBasedAlgorithm
99 QgsExtractByLocationAlgorithm() =
default;
100 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
101 QString name()
const override;
102 QString displayName()
const override;
103 QStringList tags()
const override;
104 QString group()
const override;
105 QString groupId()
const override;
106 QString shortHelpString()
const override;
107 QgsExtractByLocationAlgorithm *createInstance() const override
SIP_FACTORY;
111 QVariantMap processAlgorithm( const QVariantMap ¶meters,
118 #endif // QGSALGORITHMEXTRACTBYLOCATION_H