Skip to content

Commit a6d9d26

Browse files
raymondnijssenm-kuhn
authored andcommittedMay 11, 2019
fix keyword
1 parent 052db03 commit a6d9d26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎python/plugins/processing/algs/qgis/ExtentFromLayer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def svgIconPath(self):
6464
return QgsApplication.iconPath("/algorithms/mAlgorithmExtractLayerExtent.svg")
6565

6666
def tags(self):
67-
return self.tr('polygon,from,vector,raster,extent,envelope,bounds,bounding,boundary,layer,round,rounded').split(',')
67+
return self.tr('polygon,vector,raster,extent,envelope,bounds,bounding,boundary,layer,round,rounded').split(',')
6868

6969
def group(self):
7070
return self.tr('Layer tools')
@@ -78,7 +78,8 @@ def __init__(self):
7878
def initAlgorithm(self, config=None):
7979
self.addParameter(QgsProcessingParameterMapLayer(self.INPUT, self.tr('Input layer')))
8080
self.addParameter(QgsProcessingParameterNumber(self.ROUND_TO,
81-
self.tr('Round values to'), minValue=0,
81+
self.tr('Round values to'),
82+
minValue=0,
8283
defaultValue=0,
8384
type=QgsProcessingParameterNumber.Double))
8485
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Extent'), type=QgsProcessing.TypeVectorPolygon))
@@ -94,7 +95,6 @@ def processAlgorithm(self, parameters, context, feedback):
9495

9596
round_to = self.parameterAsDouble(parameters, self.ROUND_TO, context)
9697

97-
9898
fields = QgsFields()
9999
fields.append(QgsField('MINX', QVariant.Double))
100100
fields.append(QgsField('MINY', QVariant.Double))

0 commit comments

Comments
 (0)
Please sign in to comment.