Skip to content
Permalink
Browse files

[processing] Fix Select/Extract by Location algs with PostGIS layers

Fixes #18038
  • Loading branch information
nyalldawson committed Apr 10, 2018
1 parent b8e8541 commit 1357a4716ab14168c72a7ba1d41685f6dea11877
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmextractbylocation.cpp
@@ -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;

0 comments on commit 1357a47

Please sign in to comment.
You can’t perform that action at this time.