mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
check area processing: use better processing parameter area
This commit is contained in:
parent
499873d769
commit
dcbec5b07f
@ -85,8 +85,8 @@ void QgsGeometryCheckAreaAlgorithm::initAlgorithm( const QVariantMap &configurat
|
||||
addParameter( new QgsProcessingParameterField(
|
||||
QStringLiteral( "UNIQUE_ID" ), QObject::tr( "Unique feature identifier" ), QString(), QStringLiteral( "INPUT" )
|
||||
) );
|
||||
addParameter( new QgsProcessingParameterNumber(
|
||||
QStringLiteral( "AREATHRESHOLD" ), QObject::tr( "Area threshold" ), Qgis::ProcessingNumberParameterType::Double, 0, false, 0.0
|
||||
addParameter( new QgsProcessingParameterArea(
|
||||
QStringLiteral( "AREATHRESHOLD" ), QObject::tr( "Area threshold" ), 0, QStringLiteral( "INPUT" )
|
||||
) );
|
||||
|
||||
// outputs
|
||||
|
Loading…
x
Reference in New Issue
Block a user