.
Clips any GDAL-supported raster file to a given extent. The algorithm is derived from the GDAL grid utility .
Camada de Entrada
[raster]Nodata value, leave as none to take the nodata value from input
[string]Defines a value that should be inserted for the nodata values in the output raster.
Padrão: nenhum
Clipping extent
[extent]Extent that should be used for the output raster. Selects only features within the specified bounding box.
Padrão: 0,1,0,1
Additional creation parameters
[string]Opcional.
<insira a descrição do parâmetro aqui>
Padrão: (não definido)
Camada de saída raster
processing.runalg('gdalogr:cliprasterbyextent', input, no_data, projwin, extra, output)
Clips any GDAL-supported raster by a vector mask layer. The algorithm is derived from the GDAL grid utility .
Camada de Entrada
[raster]Camada raster de entrada.
Nodata value, leave as none to take the nodata value from input
[string]Defines a value for the no-data areas of the input raster.
Padrão: nenhum
Create and output alpha band
[boolean]Creates an alpha band for the result. The alpha band then includes the transparency values of the pixels.
Padrão: Falso
Keep resolution of output raster
[boolean]The resolution of the output raster will not be changed.
Padrão: Falso
Additional creation parameters
[string]Opcional.
<insira a descrição do parâmetro aqui>
Padrão: (não definido)
Camada de saída raster
processing.runalg('gdalogr:cliprasterbymasklayer', input, mask, no_data, alpha_band, keep_resolution, extra, output)
Extracts contour lines from any GDAL-supported elevation raster. The algorithm is derived from the GDAL contour utility .
Camada de Entrada
[raster]Interval between contour lines
[number]Defines the interval between the contour lines in the given units of the elevation raster.
Padrao: 10.0
Attribute name (if not set, no elevation attribute is attached)
[string]Opcional.
Defines the attribute name for the field containing the values of the contour lines. If nothing is defines the default name will be ‘ELEV’.
Default: ELEV
Additional creation parameters
[string]Opcional.
<insira a descrição do parâmetro aqui>
Padrão: (não definido)
Output file for contour lines (vector)
[vector]<insira a descrição da saída aqui>
processing.runalg('gdalogr:contour', input_raster, interval, field_name, extra, output_vector)