We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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