Outdated version of the documentation. Find the latest one here.

` `

Extração GDAL

Recortar raster pela extensão

Descrição

Clips any GDAL-supported raster file to a given extent. The algorithm is derived from the GDAL grid utility .

Parâmetros

Camada de Entrada [raster]
Input raster file.
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)

Saídas

“Camada de saída” [raster]

Camada de saída raster

Uso do console

processing.runalg('gdalogr:cliprasterbyextent', input, no_data, projwin, extra, output)

Veja tambem

Clip raster by mask layer

Descrição

Clips any GDAL-supported raster by a vector mask layer. The algorithm is derived from the GDAL grid utility .

Parâmetros

Camada de Entrada [raster]

Camada raster de entrada.

“Camada máscara” [vetor: polígono]
Defines the vector mask for clipping the raster.
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)

Saídas

“Camada de saída” [raster]

Camada de saída raster

Uso do console

processing.runalg('gdalogr:cliprasterbymasklayer', input, mask, no_data, alpha_band, keep_resolution, extra, output)

Veja tambem

Contorno

Descrição

Extracts contour lines from any GDAL-supported elevation raster. The algorithm is derived from the GDAL contour utility .

Parâmetros

Camada de Entrada [raster]
Input elevation 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)

Saídas

Output file for contour lines (vector) [vector]

<insira a descrição da saída aqui>

Uso do console

processing.runalg('gdalogr:contour', input_raster, interval, field_name, extra, output_vector)

Veja tambem