mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix gdal rasterize when using the -ts parameter
This commit is contained in:
parent
138d836b0c
commit
8afbe83c74
@ -86,6 +86,8 @@ class rasterize(GdalAlgorithm):
|
||||
if dimType == 0:
|
||||
# size in pixels
|
||||
arguments.append('-ts')
|
||||
arguments.append(str(self.getParameterValue(self.WIDTH)))
|
||||
arguments.append(str(self.getParameterValue(self.HEIGHT)))
|
||||
else:
|
||||
# resolution in map units per pixel
|
||||
arguments.append('-tr')
|
||||
|
Loading…
x
Reference in New Issue
Block a user