# Virtual Raster Builder Documentation

The Virtual Raster Builder helps to define GDAL Virtual Raster (VRT) files by drag and drop. It helps to create a new raster image by stacking, mosaiking, spatial- oder band-subsetting.

## Workflow

1. Add potential source files to the list of source files:

   > Button | Action
   > --- | ---
   > | Add source raster
   > | Remove source raster
   > | Load source raster files that are known to QGIS
   > | expand source file tree node(s)
   > | collapse source file tree node(s)

2. Specify the VRT structure by drag and drop of source bands

   > Button | Action
   > --- | ---
   > | Add virtual band
   > | Remove virtual band
   > | Import virtual bands from existing VRT file
   > | Expand VRT tree node(s)
   > | Collapse VRT tree node(s)

   > Virtual band names can be changed by mouse double-click.

3. Specify other VRT settings:

   > - set spatial resolution
   > - set the resampling method
   > - set spatial extent
   > - set output format

4. Save the new file as VRT. In case of output formats other than VRT, e.g. GeoTIFF, the VRT is created in a temporary location first and the binary file afterwards using gdal.Translate.

## Licence and Use

The Virtual Raster Builder is licenced under the GPL-3 Licence.