Skip to content

Commit

Permalink
limit overlay nearest neighbors to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
enricofer authored and m-kuhn committed Jul 3, 2020
1 parent a67d991 commit a03e600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -5694,7 +5694,7 @@ static QVariant executeGeomOverlay( const QVariantList &values, const QgsExpress
request.setFilterExpression (filterString);
}
}
int neighbors = 10;
int neighbors = 1;
/*
if ( values.length() > 3 ) { //neighbors param handling
neighbors = QgsExpressionUtils::getNativeIntValue( values.at( 3 ), parent );
Expand Down

0 comments on commit a03e600

Please sign in to comment.