We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 612f57d commit a904006Copy full SHA for a904006
python/plugins/processing/algs/gdal/rasterize.py
@@ -138,10 +138,11 @@ def processAlgorithm(self, progress):
138
arguments.append('-tr')
139
arguments.append(str(self.getParameterValue(self.WIDTH)))
140
arguments.append(str(self.getParameterValue(self.HEIGHT)))
141
- if not writeOver:
+
142
if len(noData) > 0:
143
arguments.append('-a_nodata')
144
arguments.append(noData)
145
146
if (GdalUtils.getFormatShortNameFromFilename(out) == "GTiff") and (writeOver is False):
147
arguments.append("-co COMPRESS="+compress)
148
if compress == 'JPEG':
0 commit comments