Skip to content

Commit

Permalink
[processing] Fix output from Snap Geometries algorithms cannot
Browse files Browse the repository at this point in the history
be plugged into algorithm inputs requiring a point or line geometry
type

Fixes #42200
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Mar 12, 2021
1 parent 3719d93 commit 69dbed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmsnapgeometries.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 69dbed5

Please sign in to comment.