Skip to content

Commit 0396abf

Browse files
DelazJnyalldawson
authored andcommittedSep 28, 2018
[needs-docs] Review the Dissolve algorithm description
* The current description focuses on geometries and assumes only line or vector layers can be dissolved * Rename label to look more meaningful and closer to GDAL Dissolve's
1 parent b478ee7 commit 0396abf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/analysis/processing/qgsalgorithmdissolve.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,17 @@ QString QgsDissolveAlgorithm::groupId() const
190190
void QgsDissolveAlgorithm::initAlgorithm( const QVariantMap & )
191191
{
192192
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ) ) );
193-
addParameter( new QgsProcessingParameterField( QStringLiteral( "FIELD" ), QObject::tr( "Unique ID fields" ), QVariant(),
193+
addParameter( new QgsProcessingParameterField( QStringLiteral( "FIELD" ), QObject::tr( "Dissolve field(s)" ), QVariant(),
194194
QStringLiteral( "INPUT" ), QgsProcessingParameterField::Any, true, true ) );
195195

196196
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Dissolved" ) ) );
197197
}
198198

199199
QString QgsDissolveAlgorithm::shortHelpString() const
200200
{
201-
return QObject::tr( "This algorithm takes a polygon or line vector layer and combines their geometries into new geometries. One or more attributes can "
202-
"be specified to dissolve only geometries belonging to the same class (having the same value for the specified attributes), alternatively "
203-
"all geometries can be dissolved.\n\n"
201+
return QObject::tr( "This algorithm takes a vector layer and combines their features into new features. One or more attributes can "
202+
"be specified to dissolve features belonging to the same class (having the same value for the specified attributes), alternatively "
203+
"all features can be dissolved in a single one.\n\n"
204204
"All output geometries will be converted to multi geometries. "
205205
"In case the input is a polygon layer, common boundaries of adjacent polygons being dissolved will get erased." );
206206
}

0 commit comments

Comments
 (0)
Please sign in to comment.