Skip to content
Permalink
Browse files
Don't restrict smooth algorithm outputs for use as inputs to line
parameters

Fixes #45503
  • Loading branch information
nyalldawson committed Oct 14, 2021
1 parent e5c188d commit e1b0985307faeede12a1c5904ab8a922d82ed0ee
Showing with 0 additions and 6 deletions.
  1. +0 −5 src/analysis/processing/qgsalgorithmsmooth.cpp
  2. +0 −1 src/analysis/processing/qgsalgorithmsmooth.h
@@ -49,11 +49,6 @@ QString QgsSmoothAlgorithm::outputName() const
return QObject::tr( "Smoothed" );
}

QgsProcessing::SourceType QgsSmoothAlgorithm::outputLayerType() const
{
return QgsProcessing::TypeVectorLine;
}

QString QgsSmoothAlgorithm::shortHelpString() const
{
return QObject::tr( "This algorithm smooths the geometries in a line or polygon layer. It creates a new layer with the "
@@ -46,7 +46,6 @@ class QgsSmoothAlgorithm : public QgsProcessingFeatureBasedAlgorithm

protected:
QString outputName() const override;
QgsProcessing::SourceType outputLayerType() const override;
bool prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
QgsFeatureList processFeature( const QgsFeature &feature, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
QgsProcessingFeatureSource::Flag sourceFlags() const override;

0 comments on commit e1b0985

Please sign in to comment.