Skip to content
Permalink
Browse files
Reword TIN mesh creation algorithm help
  • Loading branch information
DelazJ authored and nyalldawson committed Oct 24, 2021
1 parent e0607da commit 68aaa0cae2b9a70adb2091f33bea26f90c505aab
Showing with 9 additions and 3 deletions.
  1. +8 −3 src/analysis/processing/qgsalgorithmtinmeshcreation.cpp
  2. +1 −0 src/analysis/processing/qgsalgorithmtinmeshcreation.h
@@ -35,9 +35,14 @@ QString QgsTinMeshCreationAlgorithm::groupId() const
return QStringLiteral( "mesh" );
}

QString QgsTinMeshCreationAlgorithm::shortDescription() const
{
return QObject::tr( "Creates a TIN mesh layer from vector layers" );
}

QString QgsTinMeshCreationAlgorithm::shortHelpString() const
{
return QObject::tr( "TIN mesh creation from vector layers" );
return QObject::tr( "This algorithm creates a TIN mesh layer from vector layers." );
}

QString QgsTinMeshCreationAlgorithm::name() const
@@ -71,8 +76,8 @@ void QgsTinMeshCreationAlgorithm::initAlgorithm( const QVariantMap &configuratio
mAvailableFormat.append( driverMeta.name() );

addParameter( new QgsProcessingParameterEnum( QStringLiteral( "MESH_FORMAT" ), QObject::tr( "Output format" ), mAvailableFormat, false, 0 ) );
addParameter( new QgsProcessingParameterCrs( QStringLiteral( "CRS_OUTPUT" ), QObject::tr( "Output Coordinate System" ), QVariant(), true ) );
addParameter( new QgsProcessingParameterFileDestination( QStringLiteral( "OUTPUT_MESH" ), QObject::tr( "Output File" ) ) );
addParameter( new QgsProcessingParameterCrs( QStringLiteral( "CRS_OUTPUT" ), QObject::tr( "Output coordinate system" ), QVariant(), true ) );
addParameter( new QgsProcessingParameterFileDestination( QStringLiteral( "OUTPUT_MESH" ), QObject::tr( "Output file" ) ) );
}

bool QgsTinMeshCreationAlgorithm::prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback )
@@ -32,6 +32,7 @@ class QgsTinMeshCreationAlgorithm: public QgsProcessingAlgorithm
QString group() const override;
QString groupId() const override;
QString shortHelpString() const override;
QString shortDescription() const override;
QString name() const override;
QString displayName() const override;
bool canExecute( QString *errorMessage ) const override;

0 comments on commit 68aaa0c

Please sign in to comment.