Skip to content
Permalink
Browse files

[processing] fix r.tileset algorithm

  • Loading branch information
alexbruy committed May 24, 2020
1 parent 817f194 commit e014684b56e07c6071932b8b1fb9bc11cbaa7db3
@@ -42,6 +42,7 @@
QgsProcessingAlgorithm,
QgsProcessingParameterDefinition,
QgsProcessingException,
QgsProcessingParameterCrs,
QgsProcessingParameterExtent,
QgsProcessingParameterEnum,
QgsProcessingParameterNumber,
@@ -633,6 +634,9 @@ def processCommand(self, parameters, context, feedback, delOutputs=False):
continue
else:
value = '{},{}'.format(v[0], v[1])
elif isinstance(param, QgsProcessingParameterCrs):
if self.parameterAsCrs(parameters, paramName, context):
value = '"{}"'.format(self.parameterAsCrs(parameters, paramName, context).toProj())
# For everything else, we assume that it is a string
else:
value = '"{}"'.format(
@@ -11,4 +11,4 @@ QgsProcessingParameterNumber|overlap|Number of cells tiles should overlap in eac
QgsProcessingParameterString|separator|Output field separator|pipe|False|True
*QgsProcessingParameterBoolean|-g|Produces shell script output|False
*QgsProcessingParameterBoolean|-w|Produces web map server query string output|False
QgsProcessingParameterFileDestination|output|Tileset|Txt files (*.txt)|None|False
QgsProcessingParameterFileDestination|html|Tileset|HTML files (*.html)|None|False

0 comments on commit e014684

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