mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Partial revert, only left changes to the limits
This commit is contained in:
parent
7831113c01
commit
83a2f69dfa
@ -85,8 +85,8 @@ void QgsGeometryCheckGapAlgorithm::initAlgorithm( const QVariantMap &configurati
|
||||
addParameter( new QgsProcessingParameterField(
|
||||
QStringLiteral( "UNIQUE_ID" ), QObject::tr( "Unique feature identifier" ), QString(), QStringLiteral( "INPUT" )
|
||||
) );
|
||||
addParameter( new QgsProcessingParameterArea(
|
||||
QStringLiteral( "GAP_THRESHOLD" ), QObject::tr( "Gap threshold" ), 0, QStringLiteral( "INPUT" ), false, 0.0
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "GAP_THRESHOLD" ), QObject::tr( "Gap threshold" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0
|
||||
) );
|
||||
|
||||
// Optional allowed gaps layer and buffer value
|
||||
|
@ -88,8 +88,8 @@ void QgsGeometryCheckOverlapAlgorithm::initAlgorithm( const QVariantMap &configu
|
||||
QStringLiteral( "OUTPUT" ), QObject::tr( "Overlap features" ), Qgis::ProcessingSourceType::VectorPolygon, QVariant(), true, false
|
||||
) );
|
||||
|
||||
addParameter( new QgsProcessingParameterArea(
|
||||
QStringLiteral( "MIN_OVERLAP_AREA" ), QObject::tr( "min overlap area" ), 0, QStringLiteral( "INPUT" ), false, 0.0
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "MIN_OVERLAP_AREA" ), QObject::tr( "min overlap area" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0
|
||||
) );
|
||||
|
||||
std::unique_ptr<QgsProcessingParameterNumber> tolerance = std::make_unique<QgsProcessingParameterNumber>(
|
||||
|
@ -89,8 +89,8 @@ void QgsGeometryCheckSegmentLengthAlgorithm::initAlgorithm( const QVariantMap &c
|
||||
QStringLiteral( "OUTPUT" ), QObject::tr( "Short segments features" ), Qgis::ProcessingSourceType::VectorAnyGeometry, QVariant(), true, false
|
||||
) );
|
||||
|
||||
addParameter( new QgsProcessingParameterDistance(
|
||||
QStringLiteral( "MIN_SEGMENT_LENGTH" ), QObject::tr( "minimum segment length" ), 0, QStringLiteral( "INPUT" ), false, 0.0
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "MIN_SEGMENT_LENGTH" ), QObject::tr( "minimum segment length" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0
|
||||
) );
|
||||
|
||||
std::unique_ptr<QgsProcessingParameterNumber> tolerance = std::make_unique<QgsProcessingParameterNumber>(
|
||||
|
@ -96,8 +96,8 @@ void QgsGeometryCheckSliverPolygonAlgorithm::initAlgorithm( const QVariantMap &c
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "MAX_THINNESS" ), QObject::tr( "Maximum thinness" ), Qgis::ProcessingNumberParameterType::Double, 20, false, 1.0
|
||||
) );
|
||||
addParameter( new QgsProcessingParameterArea(
|
||||
QStringLiteral( "MAX_AREA" ), QObject::tr( "Maximum area" ), 0, QStringLiteral( "INPUT" ), false, 0.0
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "MAX_AREA" ), QObject::tr( "Maximum area (map units squared)" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0
|
||||
) );
|
||||
|
||||
std::unique_ptr<QgsProcessingParameterNumber> tolerance = std::make_unique<QgsProcessingParameterNumber>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user