Skip to content
Permalink
Browse files

fix gdal rasterize when using the -ts parameter

  • Loading branch information
Giovanni Manghi
Giovanni Manghi committed Dec 15, 2014
1 parent 138d836 commit 8afbe83c7470690d34daf75f16eed904697067af
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/gdal/rasterize.py
@@ -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')

0 comments on commit 8afbe83

Please sign in to comment.
You can’t perform that action at this time.