Skip to content
Permalink
Browse files

[processing] fix incorrect output names

  • Loading branch information
alexbruy committed Aug 26, 2018
1 parent 3c23bff commit 821a8ff0b5ffa410ef311ba47f8dcf4e67bb2bb8
@@ -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 821a8ff

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