Skip to content

Commit

Permalink
Merge pull request #2814 from NaturalGIS/processing_fix_gdal_rasterize
Browse files Browse the repository at this point in the history
[processing] fix gdal_rasterize: missing output format parameter
  • Loading branch information
alexbruy committed Feb 19, 2016
2 parents 7f56c5d + 3215247 commit db1142e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/algs/gdal/rasterize.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def getConsoleCommands(self):
arguments.append('-ot') arguments.append('-ot')
arguments.append(self.TYPE[self.getParameterValue(self.RTYPE)]) arguments.append(self.TYPE[self.getParameterValue(self.RTYPE)])
dimType = self.getParameterValue(self.DIMENSIONS) dimType = self.getParameterValue(self.DIMENSIONS)
arguments.append('-of')
arguments.append(GdalUtils.getFormatShortNameFromFilename(out))
if dimType == 0: if dimType == 0:
# size in pixels # size in pixels
arguments.append('-ts') arguments.append('-ts')
Expand Down

0 comments on commit db1142e

Please sign in to comment.