Navigation Menu

Skip to content

Commit

Permalink
[processing] Fix Select/Extract by Location algs with PostGIS layers
Browse files Browse the repository at this point in the history
Fixes #18038
  • Loading branch information
nyalldawson committed Apr 10, 2018
1 parent b8e8541 commit 1357a47
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 1357a47

Please sign in to comment.