Skip to content
Permalink
Browse files

[processing] Fix output from Snap Geometries algorithms cannot

be plugged into algorithm inputs requiring a point or line geometry
type

Fixes #42200
  • Loading branch information
nyalldawson committed Mar 14, 2021
1 parent 3719d93 commit e88e43383c7237767bbdd10527f0cceea37a3aa6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmsnapgeometries.cpp
@@ -99,7 +99,7 @@ void QgsSnapGeometriesAlgorithm::initAlgorithm( const QVariantMap & )
<< QObject::tr( "Snap to anchor nodes (single layer only)" );
addParameter( new QgsProcessingParameterEnum( QStringLiteral( "BEHAVIOR" ), QObject::tr( "Behavior" ), options, false, QVariantList() << 0 ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ),
QObject::tr( "Snapped geometry" ), QgsProcessing::TypeVectorPolygon ) );
QObject::tr( "Snapped geometry" ), QgsProcessing::TypeVectorAnyGeometry ) );
}

QgsSnapGeometriesAlgorithm *QgsSnapGeometriesAlgorithm::createInstance() const

0 comments on commit e88e433

Please sign in to comment.