Replace cellsize by cell size

This commit is contained in:
DelazJ 2016-12-21 16:21:40 +01:00 committed by Harrissou Sant-anna
parent d62c2c7f41
commit c301369ebe
12 changed files with 16 additions and 16 deletions

View File

@ -93,7 +93,7 @@ qgis:createattributeindex: >
Creates an index to speed up queries made against a field in a table. Support for index creation is dependent on the layer's data provider and the field type.
qgis:createconstantrasterlayer: >
Given an input raster layer an a value, this algorithm generates a new layer with the same extent and cellsize as the input one, and all cells with the specified value.
Given an input raster layer an a value, this algorithm generates a new layer with the same extent and cell size as the input one, and all cells with the specified value.
qgis:creategridlines:
This algorithm creates a line vector layer with a grid covering a given extent.
@ -568,9 +568,9 @@ qgis:rastercalculator: >
- sin(), cos(), tan(), atan2(), ln(), log10()
The extent and cellsize can be defined by the user. If the extent is not specified, the minimum extent that covers the input layers will be used. If the cellsize is not specified, the minimum cellsize of all input layers will be used.
The extent and cellsize can be defined by the user. If the extent is not specified, the minimum extent that covers the input layers will be used. If the cell size is not specified, the minimum cell size of all input layers will be used.
The cellsize is assumed to be the same in both X and Y axes.
The cell size is assumed to be the same in both X and Y axes.
Layers are refered by their name as displayed in the layer list and the number of the band to use (based on 1), using the pattern 'layer_name@band number'. For instance, the first band from a layer named DEM will be referred as DEM@1.

View File

@ -3,7 +3,7 @@ saga:rastercalculator: >
It requires a base layer, and a set of additional layers. The base layer is identified as "a" in the formula, while the additional layers are identified as "b, c, d...", using the order in which they appear in the multiple selection dialog.
The resulting layer has the extent and cellsize of the main layer.
The resulting layer has the extent and cell size of the main layer.
The following operators and functions are available.

View File

@ -62,7 +62,7 @@ class CanopyModel(FusionAlgorithm):
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize'), 0, None, 10.0))
self.CELLSIZE, self.tr('Cell Size'), 0, None, 10.0))
self.addParameter(ParameterSelection(
self.XYUNITS, self.tr('XY Units'), self.UNITS))
self.addParameter(ParameterSelection(

View File

@ -57,7 +57,7 @@ class Cover(FusionAlgorithm):
self.addParameter(ParameterFile(
self.GROUND, self.tr('Input ground DTM layer')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize'), 0, None, 10.0))
self.CELLSIZE, self.tr('Cell Size'), 0, None, 10.0))
self.addParameter(ParameterNumber(
self.HEIGHTBREAK, self.tr('Heightbreak'), 0, None, 10.0))
self.addParameter(ParameterSelection(

View File

@ -65,7 +65,7 @@ class GridMetrics(FusionAlgorithm):
self.addParameter(ParameterNumber(
self.HEIGHT, self.tr('Height break')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize')))
self.CELLSIZE, self.tr('Cell Size')))
self.addOutput(OutputFile(
self.OUTPUT_CSV_ELEVATION, self.tr('Output table with grid metrics')))

View File

@ -63,7 +63,7 @@ class GridSurfaceCreate(FusionAlgorithm):
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize'), 0, None, 10.0))
self.CELLSIZE, self.tr('Cell Size'), 0, None, 10.0))
self.addParameter(ParameterSelection(
self.XYUNITS, self.tr('XY Units'), self.UNITS))
self.addParameter(ParameterSelection(

View File

@ -50,7 +50,7 @@ class GroundFilter(FusionAlgorithm):
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(self.CELLSIZE,
self.tr('Cellsize for intermediate surfaces'), 0, None, 10))
self.tr('Cell size for intermediate surfaces'), 0, None, 10))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output ground LAS file')))
self.addParameter(ParameterBoolean(

View File

@ -54,7 +54,7 @@ class TinSurfaceCreate(FusionAlgorithm):
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(self.CELLSIZE,
self.tr('Cellsize'), 0, None, 10.0))
self.tr('Cell Size'), 0, None, 10.0))
self.addParameter(ParameterSelection(self.XYUNITS,
self.tr('XY Units'), self.UNITS))
self.addParameter(ParameterSelection(self.ZUNITS,

View File

@ -128,10 +128,10 @@ class IdwInterpolation(GeoAlgorithm):
self.tr('Number of rows'),
0, 10000000, 300))
self.addParameter(ParameterNumber(self.CELLSIZE_X,
self.tr('Cellsize X'),
self.tr('Cell Size X'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterNumber(self.CELLSIZE_Y,
self.tr('Cellsize Y'),
self.tr('Cell Size Y'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterExtent(self.EXTENT,
self.tr('Extent')))

View File

@ -81,7 +81,7 @@ class RasterCalculator(GeoAlgorithm):
multiline=True,
metadata={'widget_wrapper': ExpressionWidgetWrapper}))
self.addParameter(ParameterNumber(self.CELLSIZE,
self.tr('Cellsize (use 0 or empty to set it automatically)'),
self.tr('Cell size (use 0 or empty to set it automatically)'),
minValue=0.0, default=0.0, optional=True))
self.addParameter(ParameterExtent(self.EXTENT,
self.tr('Output extent'),

View File

@ -137,10 +137,10 @@ class TinInterpolation(GeoAlgorithm):
self.tr('Number of rows'),
0, 10000000, 300))
self.addParameter(ParameterNumber(self.CELLSIZE_X,
self.tr('Cellsize X'),
self.tr('Cell size X'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterNumber(self.CELLSIZE_Y,
self.tr('Cellsize Y'),
self.tr('Cell size Y'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterExtent(self.EXTENT,
self.tr('Extent')))

View File

@ -293,7 +293,7 @@ class SagaAlgorithm212(GeoAlgorithm):
return commands
def getOutputCellsize(self):
"""Tries to guess the cellsize of the output, searching for
"""Tries to guess the cell size of the output, searching for
a parameter with an appropriate name for it.
"""