Skip to content
Permalink
Browse files

fix processing gdal_rasterize: missing output format parameter

  • Loading branch information
Giovanni Manghi
Giovanni Manghi committed Feb 19, 2016
1 parent 7f56c5d commit 3215247c7193a565de039d51fd159de04bb18d2c
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/gdal/rasterize.py
@@ -134,6 +134,8 @@ def getConsoleCommands(self):
arguments.append('-ot')
arguments.append(self.TYPE[self.getParameterValue(self.RTYPE)])
dimType = self.getParameterValue(self.DIMENSIONS)
arguments.append('-of')
arguments.append(GdalUtils.getFormatShortNameFromFilename(out))
if dimType == 0:
# size in pixels
arguments.append('-ts')

0 comments on commit 3215247

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