From e1dedee70c644aefddba8e17e515ff48abf770b7 Mon Sep 17 00:00:00 2001 From: Giovanni Manghi Date: Sun, 19 Oct 2014 22:33:54 +0100 Subject: [PATCH] better gdal rasterize defaults --- python/plugins/processing/algs/gdal/rasterize.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/plugins/processing/algs/gdal/rasterize.py b/python/plugins/processing/algs/gdal/rasterize.py index 2c90c7a1f2c5..2903a8ac604f 100644 --- a/python/plugins/processing/algs/gdal/rasterize.py +++ b/python/plugins/processing/algs/gdal/rasterize.py @@ -55,11 +55,11 @@ def defineCharacteristics(self): self.INPUT)) self.addParameter(ParameterSelection(self.DIMENSIONS, 'Set output raster size', ['Output size in pixels', - 'Output resolution in map units per pixel'], 0)) + 'Output resolution in map units per pixel'], 1)) self.addParameter(ParameterNumber(self.WIDTH, 'Horizontal', 0.0, - 99999999.999999, 3000.0)) + 99999999.999999, 100.0)) self.addParameter(ParameterNumber(self.HEIGHT, 'Vertical', 0.0, - 99999999.999999, 3000.0)) + 99999999.999999, 100.0)) self.addOutput(OutputRaster(self.OUTPUT, 'Output layer'))