mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge pull request #2814 from NaturalGIS/processing_fix_gdal_rasterize
[processing] fix gdal_rasterize: missing output format parameter
This commit is contained in:
commit
db1142e4fe
@ -134,6 +134,8 @@ class rasterize(GdalAlgorithm):
|
||||
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user