Skip to content
Permalink
Browse files

Merge pull request #2814 from NaturalGIS/processing_fix_gdal_rasterize

[processing] fix gdal_rasterize: missing output format parameter
  • Loading branch information
alexbruy committed Feb 19, 2016
2 parents 7f56c5d + 3215247 commit db1142e4fe8cb9dfff309ee9878f67defc9f40a4
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 db1142e

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