Skip to content
Permalink
Browse files

[processing] Set correct output layer type for Point to Layer algorithm

Fixes #36941
  • Loading branch information
nyalldawson committed Jun 4, 2020
1 parent 33fb57e commit 7ee85cd93cb5e0b623feaad2ef1ce9ea8f654bac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmpointtolayer.cpp
@@ -27,7 +27,7 @@ QString QgsPointToLayerAlgorithm::name() const
void QgsPointToLayerAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterPoint( QStringLiteral( "INPUT" ), QObject::tr( "Point" ) ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Point" ), QgsProcessing::TypeVectorPolygon ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Point" ), QgsProcessing::TypeVectorPoint ) );
}

QString QgsPointToLayerAlgorithm::shortHelpString() const

0 comments on commit 7ee85cd

Please sign in to comment.
You can’t perform that action at this time.