Skip to content

Commit 3215247

Browse files
author
Giovanni Manghi
committedFeb 19, 2016
fix processing gdal_rasterize: missing output format parameter
1 parent 7f56c5d commit 3215247

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎python/plugins/processing/algs/gdal/rasterize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def getConsoleCommands(self):
134134
arguments.append('-ot')
135135
arguments.append(self.TYPE[self.getParameterValue(self.RTYPE)])
136136
dimType = self.getParameterValue(self.DIMENSIONS)
137+
arguments.append('-of')
138+
arguments.append(GdalUtils.getFormatShortNameFromFilename(out))
137139
if dimType == 0:
138140
# size in pixels
139141
arguments.append('-ts')

0 commit comments

Comments
 (0)
Please sign in to comment.