Skip to content

Commit d416e14

Browse files
alexbruynyalldawson
authored andcommitted
[processing] fix incorrect output names
(cherry picked from commit 821a8ff)
1 parent 603b7d6 commit d416e14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/plugins/processing/algs/qgis/PointsFromLines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def initAlgorithm(self, config=None):
6565
self.tr('Raster layer')))
6666
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_VECTOR,
6767
self.tr('Vector layer'), [QgsProcessing.TypeVectorLine]))
68-
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points from polygons'), QgsProcessing.TypeVectorPoint))
68+
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points along lines'), QgsProcessing.TypeVectorPoint))
6969

7070
def name(self):
7171
return 'generatepointspixelcentroidsalongline'

python/plugins/processing/algs/qgis/PointsFromPolygons.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def initAlgorithm(self, config=None):
6464
self.tr('Raster layer')))
6565
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_VECTOR,
6666
self.tr('Vector layer'), [QgsProcessing.TypeVectorPolygon]))
67-
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points from polygons'), QgsProcessing.TypeVectorPoint))
67+
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Points inside polygons'), QgsProcessing.TypeVectorPoint))
6868

6969
def name(self):
7070
return 'generatepointspixelcentroidsinsidepolygons'

0 commit comments

Comments
 (0)