Skip to content

Commit

Permalink
fix processing gdal_rasterize: missing output format parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Manghi committed Feb 19, 2016
1 parent 7f56c5d commit 3215247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/algs/gdal/rasterize.py
Expand Up @@ -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')
Expand Down

0 comments on commit 3215247

Please sign in to comment.