.
Clips any GDAL-supported raster file to a given extent. The algorithm is derived from the GDAL grid utility .
Defines a value that should be inserted for the nodata values in the output raster.
Padrão: nenhum
Extent that should be used for the output raster. Selects only features within the specified bounding box.
Padrão: 0,1,0,1
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 raster de entrada.
Defines a value for the no-data areas of the input raster.
Padrão: nenhum
Creates an alpha band for the result. The alpha band then includes the transparency values of the pixels.
Padrão: Falso
The resolution of the output raster will not be changed.
Padrão: Falso
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 .
Defines the interval between the contour lines in the given units of the elevation raster.
Padrao: 10.0
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
Opcional.
<insira a descrição do parâmetro aqui>
Padrão: (não definido)
<insira a descrição da saída aqui>
processing.runalg('gdalogr:contour', input_raster, interval, field_name, extra, output_vector)