pktools  2.6.3
Processing Kernel for geospatial data
pkgetmask

pkgetmask

program to create mask image based on values in input raster image

SYNOPSIS

Usage: pkgetmask -i input -o output

Options: [-min value]* [-max value]* [-data value]* [-nodata value]*

Advanced options: [-b band]* [–operator AND|OR] [-ot type] [-of format] [-co option]* [-ct table]

Description

The utility pkgetmask creates a mask raster dataset from an input raster dataset. Values smaller than the minimum value (-min) or larger than the maximum value (-max) will result in a -nodata value in the mask.

Options

Examples

Some examples how to use pkgetmask can be found here