` `
Builds a VRT (Virtual Dataset) that is a mosaic of the list of input GDAL-supported rasters. With a mosaic you can merge several raster files. The algorithm is derived from the GDAL buildvrt utility .
The output resolution of the mosaic. By default the average resolution of th raster files will be chosen.
Opções:
0 — média
1 — mais alta
2 — Menor
Padrão: 0
With ‘False’ you can define that each raster file goes into a separated stacked band in the VRT band.
Padrão: True
Allows that the output bands have different projections derived from the projection of the input raster layers.
Padrão: Falso
processing.runalg('gdalogr:buildvirtualraster', input, resolution, separate, proj_difference, output)
Merges raster files in a simple way. Here you can use a pseudocolor table from an input raster and define the output raster type. All the images must be in the same coordinate system. The algorithm is derived from the GDAL merge utility .
The pseudocolor table from the first layer will be used for the coloring.
Padrão: Falso
If ‘True’ is chosen each input file will be placed into a separate stacked band.
Padrão: Falso
Defines the output raster type. By default this will be ‘Float23’.
Opções:
Padrão: 5
Camada de saída raster
processing.runalg('gdalogr:merge', input, pct, separate, rtype, output)
To speed up rendering time of raster layers overviews (pyramids) can be created. Overviews are lower resolution copies of the data which QGIS uses depending of the level of zoom. The algorithm is derived from the GDAL addo utility .
Camada raster de entrada.
Defines the number of overview levels calculated by the original resolution of the input raster layer. By default 4 levels will be taken into consideration.
Padrão: 2 4 8 16
Removes existing overviews from the raster. By default these aren’t removed.
Padrão: Falso
Calculates the overviews with a defined resampling method.
Opções:
0 — o mais pŕoximo
1 — média
3 — cúbico
4 — média_mp
5 — média_magphase
6 — modo
Padrão: 0
The overviews can be stored internally, or externally as GTiff or ERDAS Imagine file. By default the overviews are stored in the output raster.
Opções:
0 — Interno (se possível)
1 — Externo (GTiff .ovr)
2 — Externo (ERDAS Imagine .aux)
Padrão: 0
processing.runalg('gdalogr:overviews', input, levels, clean, resampling_method, format)
The gdalinfo program lists various information about a GDAL supported raster dataset.
Suppress ground control points list printing. It may be useful for datasets with huge amount of GCPs, such as L1B AVHRR or HDF4 MODIS which contain thousands of them.
Padrão: Falso
Suppress metadata printing. Some datasets may contain a lot of metadata strings.
Padrão: Falso
processing.runalg('gdalorg:rasterinfo', input, nogcp, nometadata, output)
This tool builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with MapServer as a raster tileindex.
Opcional.
The output field name to hold the file path/location to the indexed rasters.
Pardrão: localização
Only files with same projection as files already inserted in the tile index will be inserted. Default does not check projection and accepts all inputs.
Padrão: Falso
processing.runalg('gdalogr:tileindex', input, field_name, proj_difference, output)