Skip to content
Permalink
Browse files

Merge pull request #1737 from gioman/fix_gdal_rasterize

fix gdal rasterize when using the -ts parameter
  • Loading branch information
alexbruy committed Dec 16, 2014
2 parents e7dcd48 + 8afbe83 commit 79e1236db6cdec0ee48b240c2ef787b94b03428f
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 79e1236

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