check sliver polygon and angle algorithms: improve help string and description

This commit is contained in:
Jacky Volpes 2025-06-04 16:49:04 +02:00
parent dcbec5b07f
commit 3bf802f2b3
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ void QgsGeometryCheckAngleAlgorithm::initAlgorithm( const QVariantMap &configura
QStringLiteral( "UNIQUE_ID" ), QObject::tr( "Unique feature identifier" ), QString(), QStringLiteral( "INPUT" )
) );
addParameter( new QgsProcessingParameterNumber(
QStringLiteral( "MIN_ANGLE" ), QObject::tr( "Minimum angle" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0, 180.0
QStringLiteral( "MIN_ANGLE" ), QObject::tr( "Minimum angle (in degrees)" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0, 180.0
) );
// outputs

View File

@ -63,7 +63,7 @@ QString QgsGeometryCheckSliverPolygonAlgorithm::shortHelpString() const
"The thinness value is between 1 and +infinity.\n"
"If a polygon has an area higher than the maximum area, it is skipped (a maximum area value of 0 means no area check).\n\n"
"Polygons having a thinness higher than the maximum thinness are errors.\n\n"
"To fix sliver polygons, use the \"Fix geometry (Area)\" processing." );
"To fix sliver polygons, use the \"Fix small polygons\" processing." );
}
Qgis::ProcessingAlgorithmFlags QgsGeometryCheckSliverPolygonAlgorithm::flags() const