Skip to content
Browse files

[processing] Fix grass point parameter evaluation

  • Loading branch information
nyalldawson committed Feb 26, 2018
1 parent 22d19c9 commit 44896c36366414ec776f18baeda8ea51e182e3e3
Showing with 7 additions and 1 deletion.
  1. +7 −1 python/plugins/processing/algs/grass7/
@@ -561,7 +561,13 @@ def processCommand(self, parameters, context, delOutputs=False):
value = '"{}"'.format(
self.parameterAsString(parameters, paramName, context)
# For numbers and points, we translate as a string
elif isinstance(param, QgsProcessingParameterPoint):
if self.parameterAsString(parameters, paramName, context):
# parameter specified, evaluate as point
# TODO - handle CRS transform
point = self.parameterAsPoint(parameters, paramName, context)
value = '{},{}'.format(point.x(), point.y())
# For numbers, we translate as a string
elif isinstance(param, (QgsProcessingParameterNumber,
value = self.parameterAsString(parameters, paramName, context)

0 comments on commit 44896c3

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