Skip to content
Permalink
Browse files
Merge pull request #44823 from raymondnijssen/polygonize_add_fields
Make more clear that these fields will not contain data from the input layer, because the polygons are often constructed from multiple lines. Fixes #44779
  • Loading branch information
m-kuhn committed Aug 24, 2021
2 parents 9847c9f + a958221 commit 92583690163c4713b87997da3159952a18e30484
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmpolygonize.cpp
@@ -55,7 +55,7 @@ void QgsPolygonizeAlgorithm::initAlgorithm( const QVariantMap & )
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ),
QObject::tr( "Input layer" ), QList< int >() << QgsProcessing::TypeVectorLine ) );
addParameter( new QgsProcessingParameterBoolean( QStringLiteral( "KEEP_FIELDS" ),
QObject::tr( "Keep fields from the input layer" ), false, true ) );
QObject::tr( "Keep table structure of line layer" ), false, true ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ),
QObject::tr( "Polygons" ), QgsProcessing::TypeVectorPolygon ) );
addOutput( new QgsProcessingOutputNumber( QStringLiteral( "NUM_POLYGONS" ), QObject::tr( "Number of polygons" ) ) );

0 comments on commit 9258369

Please sign in to comment.