mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
remove duplicate condition
This commit is contained in:
parent
df9d5f4b9f
commit
7097a5035e
@ -138,10 +138,11 @@ class rasterize(OgrAlgorithm):
|
||||
arguments.append('-tr')
|
||||
arguments.append(str(self.getParameterValue(self.WIDTH)))
|
||||
arguments.append(str(self.getParameterValue(self.HEIGHT)))
|
||||
if not writeOver:
|
||||
|
||||
if len(noData) > 0:
|
||||
arguments.append('-a_nodata')
|
||||
arguments.append(noData)
|
||||
|
||||
if (GdalUtils.getFormatShortNameFromFilename(out) == "GTiff") and (writeOver is False):
|
||||
arguments.append("-co COMPRESS="+compress)
|
||||
if compress == 'JPEG':
|
||||
|
Loading…
x
Reference in New Issue
Block a user