Presentation Dialog boxes of the application
Graphic examples Syntax

Presentation

This application selects a subset of cells from a single-band or multiband raster, from the IMG format or by reading the file through the GDAL/OGR libraries. Its interface and operation are highly symmetrical with those of the VecSelec application, which allows similar operations to be performed on vector layers, and with the MiraMon query by attributes.

By default, the result contains a raster with the original values of the selected cells and a NoData value in all cells that do not meet the condition (as well as in cells that were already NoData in the original raster or rasters). However, the output file can also be defined in the form of a raster mask, in which the cells that meet the condition will contain a 1, and those that do not, will contain a 0 or a NoData value (recommended), at the user's choice.

In addition, the application allows, optionally, to clip the raster adjusted to the bounding box of the selection. It is also possible to define the output file in mask format with the option to mark cells that do not meet the selection as a NoData value.

If the raster is multiband, the user can define the selection using several bands without the obligation to use the indicated band as the source file; this flexibility applies whether the output file is single-band or multiband. If bands with different grid sizes of the multiband raster are chosen in the selection, the selection will not be possible and, therefore, no output file will be generated; in this case, the user can achieve the same area and grid size by previously executing AdapRas.

In case of selecting the output file as multiband, the selection will only be applied to the bands that have the same grid size as the band in the source file.


Dialog boxes of the application

RasSelec dialog boxes in a selection case on an IMG raster

RasSelec dialog boxes in a selection case on an IMG raster which is accessed via GDAL


Graphic examples

Example of applying RasSelec on an IMG raster (first image) in which orthometric altitudes greater than or equal to 2500 m have been selected (second image) and a mask has been generated with this selection (third image).


Syntax

Syntax:

Parameters:

Modifiers: