mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -05:00
[Processing algorithms] Add more short description methods
This commit is contained in:
parent
17734b3a46
commit
04b342c33d
@ -48,6 +48,11 @@ QString QgsExecuteRegisteredSpatialiteQueryAlgorithm::groupId() const
|
||||
}
|
||||
|
||||
QString QgsExecuteRegisteredSpatialiteQueryAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "This algorithm executes a SQL command on a SpatiaLite database." );
|
||||
}
|
||||
|
||||
QString QgsExecuteRegisteredSpatialiteQueryAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Executes a SQL command on a SpatiaLite database." );
|
||||
}
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExecuteRegisteredSpatialiteQueryAlgorithm : public QgsProcessingAlgorit
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExecuteRegisteredSpatialiteQueryAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -53,6 +53,11 @@ QString QgsExplodeHstoreAlgorithm::shortHelpString() const
|
||||
"The expected field list is an optional comma separated list. By default, all unique keys are added. If this list is specified, only these fields are added and the HStore field is updated." );
|
||||
}
|
||||
|
||||
QString QgsExplodeHstoreAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a copy of the input layer and adds a new field for every unique key in the HStore field." );
|
||||
}
|
||||
|
||||
QgsProcessingAlgorithm *QgsExplodeHstoreAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExplodeHstoreAlgorithm();
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsExplodeHstoreAlgorithm : public QgsProcessingAlgorithm
|
||||
QString groupId() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
|
||||
protected:
|
||||
QgsProcessingAlgorithm *createInstance() const override;
|
||||
|
||||
@ -49,13 +49,18 @@ QString QgsExportGeometryAttributesAlgorithm::groupId() const
|
||||
|
||||
QString QgsExportGeometryAttributesAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "Computes geometric properties of the features in a vector layer. Algorithm generates a new "
|
||||
return QObject::tr( "This algorithm computes geometric properties of the features in a vector layer. Algorithm generates a new "
|
||||
"vector layer with the same content as the input one, but with additional attributes in its "
|
||||
"attributes table, containing geometric measurements.\n\n"
|
||||
"Depending on the geometry type of the vector layer, the attributes added to the table will "
|
||||
"be different." );
|
||||
}
|
||||
|
||||
QString QgsExportGeometryAttributesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Computes geometric properties of the features in a vector layer." );
|
||||
}
|
||||
|
||||
QgsExportGeometryAttributesAlgorithm *QgsExportGeometryAttributesAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExportGeometryAttributesAlgorithm();
|
||||
|
||||
@ -43,6 +43,7 @@ class QgsExportGeometryAttributesAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExportGeometryAttributesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -53,10 +53,15 @@ void QgsExportLayersInformationAlgorithm::initAlgorithm( const QVariantMap & )
|
||||
|
||||
QString QgsExportLayersInformationAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "Creates a polygon layer with features corresponding to the extent of selected layer(s).\n\n"
|
||||
return QObject::tr( "This algorithm creates a polygon layer with features corresponding to the extent of selected layer(s).\n\n"
|
||||
"Additional layer details - CRS, provider name, file path, layer name, subset filter, abstract and attribution - are attached as attributes to each feature." );
|
||||
}
|
||||
|
||||
QString QgsExportLayersInformationAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a polygon layer with features corresponding to the extent of selected layer(s)." );
|
||||
}
|
||||
|
||||
QgsExportLayersInformationAlgorithm *QgsExportLayersInformationAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExportLayersInformationAlgorithm();
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExportLayersInformationAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExportLayersInformationAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -135,6 +135,11 @@ QString QgsExportToSpreadsheetAlgorithm::shortHelpString() const
|
||||
"Optionally the layers can be appended to an existing spreadsheet as additional sheets.\n\n" );
|
||||
}
|
||||
|
||||
QString QgsExportToSpreadsheetAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Collects a number of existing layers and exports them into a spreadsheet document." );
|
||||
}
|
||||
|
||||
QgsExportToSpreadsheetAlgorithm *QgsExportToSpreadsheetAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExportToSpreadsheetAlgorithm();
|
||||
|
||||
@ -42,6 +42,7 @@ class QgsExportToSpreadsheetAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExportToSpreadsheetAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -54,6 +54,11 @@ QString QgsExtentFromLayerAlgorithm::shortHelpString() const
|
||||
"extent can be enlarged to a rounded value." );
|
||||
}
|
||||
|
||||
QString QgsExtentFromLayerAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Generates a vector layer with the minimum bounding box that covers the input layer." );
|
||||
}
|
||||
|
||||
QString QgsExtentFromLayerAlgorithm::svgIconPath() const
|
||||
{
|
||||
return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmExtractLayerExtent.svg" ) );
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExtentFromLayerAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QString svgIconPath() const override;
|
||||
QIcon icon() const override;
|
||||
QgsExtentFromLayerAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -37,6 +37,11 @@ QString QgsExtentToLayerAlgorithm::shortHelpString() const
|
||||
"a layer based input." );
|
||||
}
|
||||
|
||||
QString QgsExtentToLayerAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that contains a single feature with geometry matching an extent parameter." );
|
||||
}
|
||||
|
||||
QgsExtentToLayerAlgorithm *QgsExtentToLayerAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExtentToLayerAlgorithm();
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExtentToLayerAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override { return QObject::tr( "Vector geometry" ); }
|
||||
QString groupId() const override { return QStringLiteral( "vectorgeometry" ); }
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExtentToLayerAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -39,7 +39,7 @@ QString QgsExtractBinaryFieldAlgorithm::shortHelpString() const
|
||||
|
||||
QString QgsExtractBinaryFieldAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "This algorithm extracts contents from a binary field, saving them to individual files." );
|
||||
return QObject::tr( "Extracts contents from a binary field, saving them to individual files." );
|
||||
}
|
||||
|
||||
QStringList QgsExtractBinaryFieldAlgorithm::tags() const
|
||||
|
||||
@ -64,6 +64,11 @@ QString QgsExtractByAttributeAlgorithm::shortHelpString() const
|
||||
"of an attribute from the input layer." );
|
||||
}
|
||||
|
||||
QString QgsExtractByAttributeAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that only contains feature matching an attribute value from an input layer." );
|
||||
}
|
||||
|
||||
QgsExtractByAttributeAlgorithm *QgsExtractByAttributeAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExtractByAttributeAlgorithm();
|
||||
|
||||
@ -54,6 +54,7 @@ class QgsExtractByAttributeAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExtractByAttributeAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -63,6 +63,11 @@ QString QgsExtractByExpressionAlgorithm::shortHelpString() const
|
||||
"which is available in the expression builder." );
|
||||
}
|
||||
|
||||
QString QgsExtractByExpressionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that only contains features matching a QGIS expression from an input layer." );
|
||||
}
|
||||
|
||||
QgsExtractByExpressionAlgorithm *QgsExtractByExpressionAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExtractByExpressionAlgorithm();
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExtractByExpressionAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExtractByExpressionAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -59,6 +59,11 @@ QString QgsExtractByExtentAlgorithm::shortHelpString() const
|
||||
"geometries will automatically be converted to multi geometries to ensure uniform output geometry types." );
|
||||
}
|
||||
|
||||
QString QgsExtractByExtentAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that only contains features which intersect a specified extent." );
|
||||
}
|
||||
|
||||
QgsExtractByExtentAlgorithm *QgsExtractByExtentAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExtractByExtentAlgorithm();
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExtractByExtentAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExtractByExtentAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -390,6 +390,11 @@ QString QgsSelectByLocationAlgorithm::shortHelpString() const
|
||||
"features is based on the spatial relationship between each feature and the features in an additional layer." );
|
||||
}
|
||||
|
||||
QString QgsSelectByLocationAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a selection in a vector layer based on the spatial relationship with features in an additional layer." );
|
||||
}
|
||||
|
||||
QgsSelectByLocationAlgorithm *QgsSelectByLocationAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsSelectByLocationAlgorithm();
|
||||
@ -490,6 +495,11 @@ QString QgsExtractByLocationAlgorithm::shortHelpString() const
|
||||
"based on the spatial relationship between each feature and the features in an additional layer." );
|
||||
}
|
||||
|
||||
QString QgsExtractByLocationAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that only contains features matching a spatial relationship with the features in an additional layer." );
|
||||
}
|
||||
|
||||
QgsExtractByLocationAlgorithm *QgsExtractByLocationAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsExtractByLocationAlgorithm();
|
||||
|
||||
@ -78,6 +78,7 @@ class QgsSelectByLocationAlgorithm : public QgsLocationBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsSelectByLocationAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -98,6 +99,7 @@ class QgsExtractByLocationAlgorithm : public QgsLocationBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsExtractByLocationAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -62,6 +62,11 @@ QString QgsExtractSpecificVerticesAlgorithm::shortHelpString() const
|
||||
"polygons), distance along the original geometry and bisector angle of vertex for the original geometry." );
|
||||
}
|
||||
|
||||
QString QgsExtractSpecificVerticesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Generates a point layer with points representing specific vertices in the input geometries." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsExtractSpecificVerticesAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsExtractSpecificVerticesAlgorithm : public QgsProcessingFeatureBasedAlgo
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
QgsExtractSpecificVerticesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -52,6 +52,11 @@ QString QgsExtractVerticesAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm takes a vector layer and generates a point layer with points representing the vertices in the input geometries. The attributes associated to each point are the same ones associated to the feature that the point belongs to." ) + QStringLiteral( "\n\n" ) + QObject::tr( "Additional fields are added to the point indicating the vertex index (beginning at 0), the vertex’s part and its index within the part (as well as its ring for polygons), distance along original geometry and bisector angle of vertex for original geometry." );
|
||||
}
|
||||
|
||||
QString QgsExtractVerticesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Generates a point layer with points representing the vertices in the input geometries." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsExtractVerticesAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -41,6 +41,7 @@ class QgsExtractVerticesAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsExtractVerticesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -122,6 +122,12 @@ QString QgsFieldCalculatorAlgorithm::shortHelpString() const
|
||||
"Note that if \"Field name\" is an existing field in the layer then all the rest of the field settings are ignored." );
|
||||
}
|
||||
|
||||
QString QgsFieldCalculatorAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Computes a new vector layer with the same features of the input layer, "
|
||||
"but either overwriting an existing attribute or adding an additional attribute." );
|
||||
}
|
||||
|
||||
QgsFieldCalculatorAlgorithm *QgsFieldCalculatorAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsFieldCalculatorAlgorithm();
|
||||
|
||||
@ -40,6 +40,7 @@ class QgsFieldCalculatorAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QList<int> inputLayerTypes() const override;
|
||||
QgsFieldCalculatorAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
bool supportInPlaceEdit( const QgsMapLayer *layer ) const override;
|
||||
|
||||
@ -75,6 +75,11 @@ QString QgsFillNoDataAlgorithm::shortHelpString() const
|
||||
"when applied to an integer raster)." );
|
||||
}
|
||||
|
||||
QString QgsFillNoDataAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Generates a raster dataset with the NoData values in the input raster reset to a given value." );
|
||||
}
|
||||
|
||||
QgsFillNoDataAlgorithm *QgsFillNoDataAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsFillNoDataAlgorithm();
|
||||
|
||||
@ -45,6 +45,7 @@ class QgsFillNoDataAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFillNoDataAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -59,6 +59,11 @@ QString QgsFillSinksWangLiuAlgorithm::shortHelpString() const
|
||||
"This algorithm is a port of the SAGA 'Fill Sinks (Wang & Liu)' tool." );
|
||||
}
|
||||
|
||||
QString QgsFillSinksWangLiuAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Identifies and fills surface depressions in digital elevation models using a method proposed by Wang & Liu." );
|
||||
}
|
||||
|
||||
void QgsFillSinksWangLiuAlgorithm::initAlgorithm( const QVariantMap & )
|
||||
{
|
||||
addParameter( new QgsProcessingParameterRasterLayer( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ) ) );
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsFillSinksWangLiuAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
QgsFillSinksWangLiuAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -55,6 +55,11 @@ QString QgsFilterAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm filters features from the input layer and redirects them to one or several outputs." );
|
||||
}
|
||||
|
||||
QString QgsFilterAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Filters features from the input layer and redirects them to one or several outputs." );
|
||||
}
|
||||
|
||||
QgsFilterAlgorithm *QgsFilterAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsFilterAlgorithm();
|
||||
|
||||
@ -49,6 +49,7 @@ class QgsFilterAlgorithm : public QgsProcessingAlgorithm
|
||||
QString groupId() const override;
|
||||
Qgis::ProcessingAlgorithmFlags flags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFilterAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -48,6 +48,12 @@ QString QgsFilterVerticesAlgorithmBase::shortHelpString() const
|
||||
.arg( componentString() );
|
||||
}
|
||||
|
||||
QString QgsFilterVerticesAlgorithmBase::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Filters away vertices based on their %1 value." )
|
||||
.arg( componentString() );
|
||||
}
|
||||
|
||||
void QgsFilterVerticesAlgorithmBase::initParameters( const QVariantMap & )
|
||||
{
|
||||
auto min = std::make_unique<QgsProcessingParameterNumber>( QStringLiteral( "MIN" ), QObject::tr( "Minimum" ), Qgis::ProcessingNumberParameterType::Double, QVariant(), true );
|
||||
|
||||
@ -36,6 +36,7 @@ class QgsFilterVerticesAlgorithmBase : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString groupId() const override final;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override final;
|
||||
QString shortHelpString() const override final;
|
||||
QString shortDescription() const override;
|
||||
|
||||
protected:
|
||||
QString outputName() const override final;
|
||||
|
||||
@ -70,6 +70,11 @@ QString QgsFixGeometriesAlgorithm::shortHelpString() const
|
||||
"NOTE: M values will be dropped from the output." );
|
||||
}
|
||||
|
||||
QString QgsFixGeometriesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Attempts to create a valid representation of a given invalid geometry without losing any of the input vertices." );
|
||||
}
|
||||
|
||||
QgsFixGeometriesAlgorithm *QgsFixGeometriesAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsFixGeometriesAlgorithm();
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsFixGeometriesAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFixGeometriesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
bool supportInPlaceEdit( const QgsMapLayer *layer ) const override;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
@ -152,10 +152,15 @@ QStringList QgsFuzzifyRasterLinearMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,linear,membership" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterLinearMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following a "
|
||||
"linear fuzzy membership function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterLinearMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "The Fuzzify raster (linear membership) algorithm transforms an input raster "
|
||||
return QObject::tr( "This algorithm transforms an input raster "
|
||||
"to a fuzzified raster and thereby assigns values between 0 and 1 following a "
|
||||
"linear fuzzy membership function. The value of 0 implies no membership with the "
|
||||
"defined fuzzy set, a value of 1 depicts full membership. In between, the degree "
|
||||
@ -278,10 +283,15 @@ QStringList QgsFuzzifyRasterPowerMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,power,non-linear,membership,exponent" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterPowerMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following a "
|
||||
"power function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterPowerMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "The Fuzzify raster (power membership) algorithm transforms an input raster "
|
||||
return QObject::tr( "This algorithm transforms an input raster "
|
||||
"to a fuzzified raster and thereby assigns values between 0 and 1 following a "
|
||||
"power function. The value of 0 implies no membership with the "
|
||||
"defined fuzzy set, a value of 1 depicts full membership. In between, the degree "
|
||||
@ -406,10 +416,15 @@ QStringList QgsFuzzifyRasterLargeMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,large,membership" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterLargeMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following the "
|
||||
"'large' fuzzy membership function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterLargeMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "The Fuzzify raster (large membership) algorithm transforms an input raster "
|
||||
return QObject::tr( "This algorithm transforms an input raster "
|
||||
"to a fuzzified raster and thereby assigns values between 0 and 1 following the "
|
||||
"'large' fuzzy membership function. The value of 0 implies no membership with the "
|
||||
"defined fuzzy set, a value of 1 depicts full membership. In between, the degree "
|
||||
@ -513,6 +528,11 @@ QStringList QgsFuzzifyRasterSmallMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,small,membership" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterSmallMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following the "
|
||||
"'small' fuzzy membership function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterSmallMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
@ -620,10 +640,15 @@ QStringList QgsFuzzifyRasterGaussianMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,gaussian,membership" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterGaussianMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following a "
|
||||
"gaussian fuzzy membership function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterGaussianMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "The Fuzzify raster (gaussian membership) algorithm transforms an input raster "
|
||||
return QObject::tr( "This algorithm transforms an input raster "
|
||||
"to a fuzzified raster and thereby assigns values between 0 and 1 following a "
|
||||
"gaussian fuzzy membership function. The value of 0 implies no membership with the "
|
||||
"defined fuzzy set, a value of 1 depicts full membership. In between, the degree "
|
||||
@ -727,6 +752,11 @@ QStringList QgsFuzzifyRasterNearMembershipAlgorithm::tags() const
|
||||
return QObject::tr( "fuzzy logic,fuzzify,fuzzy,logic,near,membership" ).split( ',' );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterNearMembershipAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Transforms an input raster to a fuzzified raster where values range from 0 to 1 following the "
|
||||
"'near' fuzzy membership function." );
|
||||
}
|
||||
|
||||
QString QgsFuzzifyRasterNearMembershipAlgorithm::shortHelpString() const
|
||||
{
|
||||
|
||||
@ -84,6 +84,7 @@ class QgsFuzzifyRasterLinearMembershipAlgorithm : public QgsFuzzifyRasterAlgorit
|
||||
QString name() const override;
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
QgsFuzzifyRasterLinearMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -107,6 +108,7 @@ class QgsFuzzifyRasterPowerMembershipAlgorithm : public QgsFuzzifyRasterAlgorith
|
||||
QString name() const override;
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
QgsFuzzifyRasterPowerMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -132,6 +134,7 @@ class QgsFuzzifyRasterLargeMembershipAlgorithm : public QgsFuzzifyRasterAlgorith
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFuzzifyRasterLargeMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -155,6 +158,7 @@ class QgsFuzzifyRasterSmallMembershipAlgorithm : public QgsFuzzifyRasterAlgorith
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFuzzifyRasterSmallMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -178,6 +182,7 @@ class QgsFuzzifyRasterGaussianMembershipAlgorithm : public QgsFuzzifyRasterAlgor
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFuzzifyRasterGaussianMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -201,6 +206,7 @@ class QgsFuzzifyRasterNearMembershipAlgorithm : public QgsFuzzifyRasterAlgorithm
|
||||
QString displayName() const override;
|
||||
QStringList tags() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsFuzzifyRasterNearMembershipAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -157,6 +157,11 @@ QString QgsGenerateElevationProfileAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm creates an elevation profile image from a list of map layer and an optional terrain." );
|
||||
}
|
||||
|
||||
QString QgsGenerateElevationProfileAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates an elevation profile image from a list of map layer and an optional terrain." );
|
||||
}
|
||||
|
||||
QgsGenerateElevationProfileAlgorithm *QgsGenerateElevationProfileAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsGenerateElevationProfileAlgorithm();
|
||||
|
||||
@ -43,6 +43,7 @@ class QgsGenerateElevationProfileAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsGenerateElevationProfileAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -60,6 +60,12 @@ QString QgsGeometryByExpressionAlgorithm::shortHelpString() const
|
||||
"which is available in the expression builder." );
|
||||
}
|
||||
|
||||
QString QgsGeometryByExpressionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Updates existing geometries (or creates new geometries) for input "
|
||||
"features by use of a QGIS expression." );
|
||||
}
|
||||
|
||||
QgsGeometryByExpressionAlgorithm *QgsGeometryByExpressionAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsGeometryByExpressionAlgorithm();
|
||||
|
||||
@ -42,6 +42,7 @@ class QgsGeometryByExpressionAlgorithm : public QgsProcessingFeatureBasedAlgorit
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QList<int> inputLayerTypes() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsGeometryByExpressionAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
|
||||
@ -59,6 +59,11 @@ QString QgsGltfToVectorFeaturesAlgorithm::groupId() const
|
||||
}
|
||||
|
||||
QString QgsGltfToVectorFeaturesAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "This algorithm converts GLTF content to standard vector layer formats." );
|
||||
}
|
||||
|
||||
QString QgsGltfToVectorFeaturesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Converts GLTF content to standard vector layer formats." );
|
||||
}
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsGltfToVectorFeaturesAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsGltfToVectorFeaturesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -83,6 +83,11 @@ QString QgsConvertGpxFeatureTypeAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm uses the GPSBabel tool to convert GPX features from one type to another (e.g. converting all waypoint features to a route feature)." );
|
||||
}
|
||||
|
||||
QString QgsConvertGpxFeatureTypeAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Converts GPX features from one type to another." );
|
||||
}
|
||||
|
||||
QgsConvertGpxFeatureTypeAlgorithm *QgsConvertGpxFeatureTypeAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsConvertGpxFeatureTypeAlgorithm();
|
||||
@ -284,6 +289,11 @@ QString QgsConvertGpsDataAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm uses the GPSBabel tool to convert a GPS data file from a range of formats to the GPX standard format." );
|
||||
}
|
||||
|
||||
QString QgsConvertGpsDataAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Converts a GPS data file from a range of formats to the GPX standard format." );
|
||||
}
|
||||
|
||||
QgsConvertGpsDataAlgorithm *QgsConvertGpsDataAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsConvertGpsDataAlgorithm();
|
||||
@ -487,6 +497,11 @@ QString QgsDownloadGpsDataAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm uses the GPSBabel tool to download data from a GPS device into the GPX standard format." );
|
||||
}
|
||||
|
||||
QString QgsDownloadGpsDataAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Downloads data from a GPS device into the GPX standard format." );
|
||||
}
|
||||
|
||||
QgsDownloadGpsDataAlgorithm *QgsDownloadGpsDataAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsDownloadGpsDataAlgorithm();
|
||||
@ -701,6 +716,11 @@ QString QgsUploadGpsDataAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm uses the GPSBabel tool to upload data to a GPS device from the GPX standard format." );
|
||||
}
|
||||
|
||||
QString QgsUploadGpsDataAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Uploads data to a GPS device from the GPX standard format." );
|
||||
}
|
||||
|
||||
QgsUploadGpsDataAlgorithm *QgsUploadGpsDataAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsUploadGpsDataAlgorithm();
|
||||
|
||||
@ -48,6 +48,7 @@ class ANALYSIS_EXPORT QgsConvertGpxFeatureTypeAlgorithm : public QgsProcessingAl
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsConvertGpxFeatureTypeAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -93,6 +94,7 @@ class ANALYSIS_EXPORT QgsConvertGpsDataAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsConvertGpsDataAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -119,6 +121,7 @@ class ANALYSIS_EXPORT QgsDownloadGpsDataAlgorithm : public QgsProcessingAlgorith
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsDownloadGpsDataAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
@ -145,6 +148,7 @@ class ANALYSIS_EXPORT QgsUploadGpsDataAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsUploadGpsDataAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -80,6 +80,10 @@ QString QgsGridAlgorithm::shortHelpString() const
|
||||
"selected spacing, that is not true for the other points that define that extent."
|
||||
);
|
||||
}
|
||||
QString QgsGridAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer with a grid covering a given extent." );
|
||||
}
|
||||
|
||||
QgsGridAlgorithm *QgsGridAlgorithm::createInstance() const
|
||||
{
|
||||
|
||||
@ -45,6 +45,7 @@ class QgsGridAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsGridAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -53,6 +53,11 @@ QString QgsHillshadeAlgorithm::shortHelpString() const
|
||||
+ QObject::tr( "The shading of the layer is calculated according to the sun position (azimuth and elevation)." );
|
||||
}
|
||||
|
||||
QString QgsHillshadeAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Calculates the hillshade of the Digital Terrain Model in input." );
|
||||
}
|
||||
|
||||
QgsHillshadeAlgorithm *QgsHillshadeAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsHillshadeAlgorithm();
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsHillshadeAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsHillshadeAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -65,12 +65,17 @@ void QgsImportPhotosAlgorithm::initAlgorithm( const QVariantMap & )
|
||||
|
||||
QString QgsImportPhotosAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "Creates a point layer corresponding to the geotagged locations from JPEG or HEIF/HEIC images from a source folder. Optionally the folder can be recursively scanned.\n\n"
|
||||
return QObject::tr( "This algorithm creates a point layer corresponding to the geotagged locations from JPEG or HEIF/HEIC images from a source folder. Optionally the folder can be recursively scanned.\n\n"
|
||||
"The point layer will contain a single PointZ feature per input file from which the geotags could be read. Any altitude information from the geotags will be used "
|
||||
"to set the point's Z value.\n\n"
|
||||
"Optionally, a table of unreadable or non-geotagged photos can also be created." );
|
||||
}
|
||||
|
||||
QString QgsImportPhotosAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a point layer corresponding to the geotagged locations from JPEG or HEIF/HEIC images from a source folder." );
|
||||
}
|
||||
|
||||
QgsImportPhotosAlgorithm *QgsImportPhotosAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsImportPhotosAlgorithm();
|
||||
|
||||
@ -40,6 +40,7 @@ class ANALYSIS_EXPORT QgsImportPhotosAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsImportPhotosAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -49,6 +49,11 @@ QString QgsIntersectionAlgorithm::shortHelpString() const
|
||||
"from both the Input and Overlay layers." );
|
||||
}
|
||||
|
||||
QString QgsIntersectionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Extracts overlapping portions of features between two layers." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsIntersectionAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -34,6 +34,7 @@ class QgsIntersectionAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
|
||||
protected:
|
||||
|
||||
@ -85,6 +85,12 @@ QString QgsJoinByAttributeAlgorithm::shortHelpString() const
|
||||
"in each of them to define the join criteria." );
|
||||
}
|
||||
|
||||
QString QgsJoinByAttributeAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a vector layer that is an extended version of the input one, "
|
||||
"with additional attributes taken from a second vector layer." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsJoinByAttributeAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -39,6 +39,7 @@ class QgsJoinByAttributeAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsJoinByAttributeAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -69,6 +69,12 @@ QString QgsKeepNBiggestPartsAlgorithm::shortHelpString() const
|
||||
"geometries have been removed, leaving only the n largest (in terms of area) parts." );
|
||||
}
|
||||
|
||||
QString QgsKeepNBiggestPartsAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates a polygon layer in which multipart geometries have been removed, "
|
||||
"leaving only the n largest (in terms of area) parts." );
|
||||
}
|
||||
|
||||
QgsKeepNBiggestPartsAlgorithm *QgsKeepNBiggestPartsAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsKeepNBiggestPartsAlgorithm();
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsKeepNBiggestPartsAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsKeepNBiggestPartsAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
|
||||
@ -64,10 +64,15 @@ void QgsKMeansClusteringAlgorithm::initAlgorithm( const QVariantMap & )
|
||||
|
||||
QString QgsKMeansClusteringAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "Calculates the 2D distance based k-means cluster number for each input feature.\n\n"
|
||||
return QObject::tr( "This algorithm calculates the 2D distance based k-means cluster number for each input feature.\n\n"
|
||||
"If input geometries are lines or polygons, the clustering is based on the centroid of the feature." );
|
||||
}
|
||||
|
||||
QString QgsKMeansClusteringAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Calculates the 2D distance based k-means cluster number for each input feature." );
|
||||
}
|
||||
|
||||
QgsKMeansClusteringAlgorithm *QgsKMeansClusteringAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsKMeansClusteringAlgorithm();
|
||||
|
||||
@ -41,6 +41,7 @@ class ANALYSIS_EXPORT QgsKMeansClusteringAlgorithm : public QgsProcessingAlgorit
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsKMeansClusteringAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -71,7 +71,7 @@ void QgsLineDensityAlgorithm::initAlgorithm( const QVariantMap & )
|
||||
|
||||
QString QgsLineDensityAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "The line density interpolation algorithm calculates a density measure of linear features "
|
||||
return QObject::tr( "This algorithm calculates a density measure of linear features "
|
||||
"which is obtained in a circular neighborhood within each raster cell. "
|
||||
"First, the length of the segment of each line that is intersected by the circular neighborhood "
|
||||
"is multiplied with the lines weight factor. In a second step, all length values are summed and "
|
||||
@ -79,6 +79,12 @@ QString QgsLineDensityAlgorithm::shortHelpString() const
|
||||
);
|
||||
}
|
||||
|
||||
QString QgsLineDensityAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Calculates a density measure of linear features "
|
||||
"which is obtained in a circular neighborhood within each raster cell." );
|
||||
}
|
||||
|
||||
QgsLineDensityAlgorithm *QgsLineDensityAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsLineDensityAlgorithm();
|
||||
|
||||
@ -48,6 +48,7 @@ class QgsLineDensityAlgorithm : public QgsProcessingAlgorithm
|
||||
QStringList tags() const override;
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
QgsLineDensityAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -76,6 +76,11 @@ QString QgsLineIntersectionAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm creates point features where the lines in the Intersect layer intersect the lines in the Input layer." );
|
||||
}
|
||||
|
||||
QString QgsLineIntersectionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Creates point features at the intersection of lines from two different layers." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsLineIntersectionAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -41,6 +41,7 @@ class QgsLineIntersectionAlgorithm : public QgsProcessingAlgorithm
|
||||
QStringList tags() const override;
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsLineIntersectionAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -54,6 +54,11 @@ QString QgsLoadLayerAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm loads a layer to the current project." );
|
||||
}
|
||||
|
||||
QString QgsLoadLayerAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Loads a layer to the current project." );
|
||||
}
|
||||
|
||||
QgsLoadLayerAlgorithm *QgsLoadLayerAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsLoadLayerAlgorithm();
|
||||
|
||||
@ -41,6 +41,7 @@ class QgsLoadLayerAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsLoadLayerAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -61,6 +61,11 @@ QString QgsMeanCoordinatesAlgorithm::shortHelpString() const
|
||||
"the output layer will contain a center of mass for the features in each category." );
|
||||
}
|
||||
|
||||
QString QgsMeanCoordinatesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Computes a point layer with the center of mass of geometries in an input layer." );
|
||||
}
|
||||
|
||||
QgsMeanCoordinatesAlgorithm *QgsMeanCoordinatesAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsMeanCoordinatesAlgorithm();
|
||||
|
||||
@ -43,6 +43,7 @@ class QgsMeanCoordinatesAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsMeanCoordinatesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -66,6 +66,11 @@ QString QgsMergeLinesAlgorithm::shortHelpString() const
|
||||
"geometry will be a MultiLineString containing any lines which could be merged and any non-connected line parts." );
|
||||
}
|
||||
|
||||
QString QgsMergeLinesAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Joins all connected parts of MultiLineString geometries into single LineString geometries." );
|
||||
}
|
||||
|
||||
QList<int> QgsMergeLinesAlgorithm::inputLayerTypes() const
|
||||
{
|
||||
return QList<int>() << static_cast<int>( Qgis::ProcessingSourceType::VectorLine );
|
||||
|
||||
@ -42,6 +42,7 @@ class QgsMergeLinesAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QList<int> inputLayerTypes() const override;
|
||||
QgsMergeLinesAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -31,7 +31,12 @@
|
||||
|
||||
QString QgsMeshSurfaceToPolygonAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "This algorithm exports a polygon file containing mesh layer boundary. It may contain holes and it may be a multi-part polygon." );
|
||||
return QObject::tr( "This algorithm exports a polygon layer containing mesh layer boundary. It may contain holes and it may be a multi-part polygon." );
|
||||
}
|
||||
|
||||
QString QgsMeshSurfaceToPolygonAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Exports a polygon layer containing mesh layer boundary." );
|
||||
}
|
||||
|
||||
QString QgsMeshSurfaceToPolygonAlgorithm::name() const
|
||||
|
||||
@ -30,6 +30,7 @@ class QgsMeshSurfaceToPolygonAlgorithm : public QgsProcessingAlgorithm
|
||||
{
|
||||
public:
|
||||
QgsMeshSurfaceToPolygonAlgorithm() = default;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString name() const override;
|
||||
QString displayName() const override;
|
||||
|
||||
@ -65,6 +65,11 @@ QString QgsMinimumEnclosingCircleAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm calculates the minimum enclosing circle which covers each feature in an input layer." ) + QStringLiteral( "\n\n" ) + QObject::tr( "See the 'Minimum bounding geometry' algorithm for a minimal enclosing circle calculation which covers the whole layer or grouped subsets of features." );
|
||||
}
|
||||
|
||||
QString QgsMinimumEnclosingCircleAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Calculates the minimum enclosing circle which covers each feature in an input layer." );
|
||||
}
|
||||
|
||||
QgsMinimumEnclosingCircleAlgorithm *QgsMinimumEnclosingCircleAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsMinimumEnclosingCircleAlgorithm();
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsMinimumEnclosingCircleAlgorithm : public QgsProcessingFeatureBasedAlgor
|
||||
QStringList tags() const override;
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
QgsMinimumEnclosingCircleAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
bool supportInPlaceEdit( const QgsMapLayer *layer ) const override;
|
||||
|
||||
@ -60,6 +60,11 @@ QString QgsMultiDifferenceAlgorithm::shortHelpString() const
|
||||
"be manually updated." );
|
||||
}
|
||||
|
||||
QString QgsMultiDifferenceAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Extracts features from a layer that fall completely outside or only partially overlap the features from other layer(s)." );
|
||||
}
|
||||
|
||||
QgsProcessingAlgorithm *QgsMultiDifferenceAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsMultiDifferenceAlgorithm();
|
||||
|
||||
@ -36,6 +36,7 @@ class QgsMultiDifferenceAlgorithm : public QgsProcessingAlgorithm
|
||||
QStringList tags() const override;
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortDescription() const override;
|
||||
QString shortHelpString() const override;
|
||||
|
||||
protected:
|
||||
|
||||
@ -55,6 +55,11 @@ QString QgsMultiIntersectionAlgorithm::shortHelpString() const
|
||||
"from both the Input and Overlay layers." );
|
||||
}
|
||||
|
||||
QString QgsMultiIntersectionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Extracts portions of input features that overlap features from all other layers." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsMultiIntersectionAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -37,6 +37,7 @@ class QgsMultiIntersectionAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
|
||||
protected:
|
||||
|
||||
@ -61,6 +61,11 @@ QString QgsMultipartToSinglepartAlgorithm::shortHelpString() const
|
||||
"a single part. Features with multipart geometries are divided in as many different features as parts the geometry "
|
||||
"contain, and the same attributes are used for each of them." );
|
||||
}
|
||||
QString QgsMultipartToSinglepartAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Takes a vector layer with multipart geometries and generates a new one in which all geometries contain "
|
||||
"a single part." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsMultipartToSinglepartAlgorithm::documentationFlags() const
|
||||
{
|
||||
|
||||
@ -43,6 +43,7 @@ class QgsMultipartToSinglepartAlgorithm : public QgsProcessingFeatureBasedAlgori
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsMultipartToSinglepartAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -52,7 +52,12 @@ QString QgsMultiRingConstantBufferAlgorithm::outputName() const
|
||||
|
||||
QString QgsMultiRingConstantBufferAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "This algorithm computes multi-ring ('donuts') buffer for all the features in an input layer, using a fixed or dynamic distance and rings number." );
|
||||
return QObject::tr( "This algorithm computes multi-ring ('donuts') buffer for the features in an input layer, using a fixed or dynamic distance and rings number." );
|
||||
}
|
||||
|
||||
QString QgsMultiRingConstantBufferAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Computes multi-ring ('donuts') buffer using a fixed or dynamic distance and rings number." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsMultiRingConstantBufferAlgorithm::documentationFlags() const
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsMultiRingConstantBufferAlgorithm : public QgsProcessingFeatureBasedAlgo
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsMultiRingConstantBufferAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
@ -60,6 +60,11 @@ QString QgsMultiUnionAlgorithm::shortHelpString() const
|
||||
"for non-overlapping features, and attribute values from both layers for overlapping features." );
|
||||
}
|
||||
|
||||
QString QgsMultiUnionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Checks overlaps between features and creates separate features for overlapping and non-overlapping parts." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsMultiUnionAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -37,6 +37,7 @@ class QgsMultiUnionAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
|
||||
protected:
|
||||
|
||||
@ -55,6 +55,11 @@ QString QgsNearestNeighbourAnalysisAlgorithm::shortHelpString() const
|
||||
"Output is generated as an HTML file with the computed statistical values." );
|
||||
}
|
||||
|
||||
QString QgsNearestNeighbourAnalysisAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Performs nearest neighbor analysis for a point layer." );
|
||||
}
|
||||
|
||||
QString QgsNearestNeighbourAnalysisAlgorithm::svgIconPath() const
|
||||
{
|
||||
return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmNearestNeighbour.svg" ) );
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsNearestNeighbourAnalysisAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QString svgIconPath() const override;
|
||||
QIcon icon() const override;
|
||||
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
@ -65,6 +65,11 @@ QString QgsOrderByExpressionAlgorithm::shortHelpString() const
|
||||
"which is available in the expression builder." );
|
||||
}
|
||||
|
||||
QString QgsOrderByExpressionAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Sorts a vector layer according to an expression." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsOrderByExpressionAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -40,6 +40,7 @@ class QgsOrderByExpressionAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
QgsOrderByExpressionAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
|
||||
@ -60,6 +60,11 @@ QString QgsOrientedMinimumBoundingBoxAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm calculates the minimum area rotated rectangle which covers each feature in an input layer." ) + QStringLiteral( "\n\n" ) + QObject::tr( "See the 'Minimum bounding geometry' algorithm for a oriented bounding box calculation which covers the whole layer or grouped subsets of features." );
|
||||
}
|
||||
|
||||
QString QgsOrientedMinimumBoundingBoxAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Calculates the minimum area rotated rectangle which covers each feature in an input layer." )" );
|
||||
}
|
||||
|
||||
QgsOrientedMinimumBoundingBoxAlgorithm *QgsOrientedMinimumBoundingBoxAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsOrientedMinimumBoundingBoxAlgorithm();
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsOrientedMinimumBoundingBoxAlgorithm : public QgsProcessingFeatureBasedA
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsOrientedMinimumBoundingBoxAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
bool supportInPlaceEdit( const QgsMapLayer *layer ) const override;
|
||||
|
||||
|
||||
@ -62,6 +62,12 @@ QString QgsOrthogonalizeAlgorithm::shortHelpString() const
|
||||
"extra processing time." );
|
||||
}
|
||||
|
||||
QString QgsOrthogonalizeAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Takes a line or polygon layer and attempts to orthogonalize "
|
||||
"all the geometries in the layer." );
|
||||
}
|
||||
|
||||
QString QgsOrthogonalizeAlgorithm::outputName() const
|
||||
{
|
||||
return QObject::tr( "Orthogonalized" );
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsOrthogonalizeAlgorithm : public QgsProcessingFeatureBasedAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QList<int> inputLayerTypes() const override;
|
||||
QgsOrthogonalizeAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
void initParameters( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
|
||||
@ -69,6 +69,11 @@ QString QgsPackageAlgorithm::shortHelpString() const
|
||||
return QObject::tr( "This algorithm collects a number of existing layers and packages them together into a single GeoPackage database." );
|
||||
}
|
||||
|
||||
QString QgsPackageAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Packages a number of existing layers together into a single GeoPackage database." );
|
||||
}
|
||||
|
||||
QgsPackageAlgorithm *QgsPackageAlgorithm::createInstance() const
|
||||
{
|
||||
return new QgsPackageAlgorithm();
|
||||
|
||||
@ -41,6 +41,7 @@ class QgsPackageAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
QgsPackageAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
protected:
|
||||
|
||||
@ -48,10 +48,15 @@ QString QgsPixelCentroidsFromPolygonsAlgorithm::groupId() const
|
||||
|
||||
QString QgsPixelCentroidsFromPolygonsAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "Generates pixel centroids for the raster area falling inside polygons. Used to generate points "
|
||||
return QObject::tr( "This algorithm generates pixel centroids for the raster area falling inside polygons. Used to generate points "
|
||||
"for further raster sampling." );
|
||||
}
|
||||
|
||||
QString QgsPixelCentroidsFromPolygonsAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Generates pixel centroids for the raster area falling inside polygons." );
|
||||
}
|
||||
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags QgsPixelCentroidsFromPolygonsAlgorithm::documentationFlags() const
|
||||
{
|
||||
return Qgis::ProcessingAlgorithmDocumentationFlag::RegeneratesPrimaryKey;
|
||||
|
||||
@ -38,6 +38,7 @@ class QgsPixelCentroidsFromPolygonsAlgorithm : public QgsProcessingAlgorithm
|
||||
QString group() const override;
|
||||
QString groupId() const override;
|
||||
QString shortHelpString() const override;
|
||||
QString shortDescription() const override;
|
||||
Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const override;
|
||||
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
|
||||
QgsPixelCentroidsFromPolygonsAlgorithm *createInstance() const override SIP_FACTORY;
|
||||
|
||||
@ -59,6 +59,11 @@ QgsFeatureSink::SinkFlags QgsPointOnSurfaceAlgorithm::sinkFlags() const
|
||||
}
|
||||
|
||||
QString QgsPointOnSurfaceAlgorithm::shortHelpString() const
|
||||
{
|
||||
return QObject::tr( "This algorithm returns a point guaranteed to lie on the surface of a geometry." );
|
||||
}
|
||||
|
||||
QString QgsPointOnSurfaceAlgorithm::shortDescription() const
|
||||
{
|
||||
return QObject::tr( "Returns a point guaranteed to lie on the surface of a geometry." );
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user