Skip to content
Permalink
Browse files

Do not complain on invalid geometries

  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent ae1ea91 commit 4462dbae122646ae74ab55984fdf5c4300df0d35
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/analysis/processing/qgsalgorithmfilter.cpp
@@ -88,6 +88,7 @@ void QgsFilterAlgorithm::initAlgorithm( const QVariantMap &configuration )

QVariantMap QgsFilterAlgorithm::processAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback )
{
context.setInvalidGeometryCheck( QgsFeatureRequest::GeometryNoCheck );
std::unique_ptr< QgsProcessingFeatureSource > source( parameterAsSource( parameters, QStringLiteral( "INPUT" ), context ) );
if ( !source )
throw QgsProcessingException( QObject::tr( "Could not open input layer or feature source for parameter INPUT." ) );

0 comments on commit 4462dba

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