Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Fix Select/Extract by Location algs with PostGIS layers
Fixes #18038

(cherry-picked from 1357a47)
  • Loading branch information
nyalldawson committed Apr 17, 2018
1 parent 2189abc commit 1e4d32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmextractbylocation.cpp
Expand Up @@ -114,7 +114,7 @@ void QgsLocationBasedAlgorithm::process( const QgsProcessingContext &context, Qg
QgsRectangle bbox = f.geometry().boundingBox();
request = QgsFeatureRequest().setFilterRect( bbox );
if ( onlyRequireTargetIds )
request.setFlags( QgsFeatureRequest::NoGeometry ).setSubsetOfAttributes( QgsAttributeList() );
request.setSubsetOfAttributes( QgsAttributeList() );

QgsFeatureIterator testFeatureIt = targetSource->getFeatures( request );
QgsFeature testFeature;
Expand Down

0 comments on commit 1e4d32f

Please sign in to comment.