Skip to content
Permalink
Browse files

limit overlay nearest neighbors to 1

  • Loading branch information
enricofer authored and m-kuhn committed Jul 3, 2020
1 parent a67d991 commit a03e60037cc36afd9afa511b77167650e1ae5fc3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/expression/qgsexpressionfunction.cpp
@@ -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 );

0 comments on commit a03e600

Please sign in to comment.