Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processing] fix incorrect output names
- Loading branch information
|
@@ -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' |
|
|