Skip to content

Commit

Permalink
[processing] Use a feature source for the input of the extract by loc…
Browse files Browse the repository at this point in the history
…ation alg
  • Loading branch information
nirvn authored and nyalldawson committed Aug 4, 2020
1 parent ef11ad3 commit c898d8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/analysis/processing/qgsalgorithmextractbylocation.cpp
Expand Up @@ -436,7 +436,8 @@ QVariantMap QgsSelectByLocationAlgorithm::processAlgorithm( const QVariantMap &p

void QgsExtractByLocationAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterVectorLayer( QStringLiteral( "INPUT" ), QObject::tr( "Extract features from" ),
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ),
QObject::tr( "Extract features from" ),
QList< int >() << QgsProcessing::TypeVectorAnyGeometry ) );
addPredicateParameter();
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INTERSECT" ),
Expand Down

0 comments on commit c898d8c

Please sign in to comment.