Skip to content

Commit

Permalink
fix gdal rasterize when using the -ts parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Manghi committed Dec 15, 2014
1 parent 138d836 commit 8afbe83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/algs/gdal/rasterize.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def processAlgorithm(self, progress):
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')
Expand Down

0 comments on commit 8afbe83

Please sign in to comment.