Skip to content

Commit 8afbe83

Browse files
author
Giovanni Manghi
committed
fix gdal rasterize when using the -ts parameter
1 parent 138d836 commit 8afbe83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/plugins/processing/algs/gdal/rasterize.py

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def processAlgorithm(self, progress):
8686
if dimType == 0:
8787
# size in pixels
8888
arguments.append('-ts')
89+
arguments.append(str(self.getParameterValue(self.WIDTH)))
90+
arguments.append(str(self.getParameterValue(self.HEIGHT)))
8991
else:
9092
# resolution in map units per pixel
9193
arguments.append('-tr')

0 commit comments

Comments
 (0)