mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
better gdal rasterize defaults
This commit is contained in:
parent
a548d1fe2b
commit
e1dedee70c
@ -55,11 +55,11 @@ class rasterize(GdalAlgorithm):
|
|||||||
self.INPUT))
|
self.INPUT))
|
||||||
self.addParameter(ParameterSelection(self.DIMENSIONS,
|
self.addParameter(ParameterSelection(self.DIMENSIONS,
|
||||||
'Set output raster size', ['Output size in pixels',
|
'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,
|
self.addParameter(ParameterNumber(self.WIDTH, 'Horizontal', 0.0,
|
||||||
99999999.999999, 3000.0))
|
99999999.999999, 100.0))
|
||||||
self.addParameter(ParameterNumber(self.HEIGHT, 'Vertical', 0.0,
|
self.addParameter(ParameterNumber(self.HEIGHT, 'Vertical', 0.0,
|
||||||
99999999.999999, 3000.0))
|
99999999.999999, 100.0))
|
||||||
|
|
||||||
self.addOutput(OutputRaster(self.OUTPUT, 'Output layer'))
|
self.addOutput(OutputRaster(self.OUTPUT, 'Output layer'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user