Skip to content
Permalink
Browse files

[processing] fix incorrect output names

(cherry picked from commit 821a8ff)
  • Loading branch information
alexbruy authored and nyalldawson committed Aug 26, 2018
1 parent 603b7d6 commit d416e1490afd206383794496beab4488c105107c
@@ -65,7 +65,7 @@ def initAlgorithm(self, config=None):
self.tr('Raster layer')))
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_VECTOR,
self.tr('Vector layer'), [QgsProcessing.TypeVectorLine]))
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points from polygons'), QgsProcessing.TypeVectorPoint))
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points along lines'), QgsProcessing.TypeVectorPoint))

def name(self):
return 'generatepointspixelcentroidsalongline'
@@ -64,7 +64,7 @@ def initAlgorithm(self, config=None):
self.tr('Raster layer')))
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_VECTOR,
self.tr('Vector layer'), [QgsProcessing.TypeVectorPolygon]))
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points from polygons'), QgsProcessing.TypeVectorPoint))
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points inside polygons'), QgsProcessing.TypeVectorPoint))

def name(self):
return 'generatepointspixelcentroidsinsidepolygons'

0 comments on commit d416e14

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