pktools  2.6.7
Processing Kernel for geospatial data
pksetmask

program to apply mask image (set invalid values) to raster image

SYNOPSIS

Usage: pksetmask -i input -m mask [-m mask]* -o output

Options: [-mskband value]* [-msknodata value -nodata value]*

Advanced options: [–operator '<'|'='|'<'] [-ot type] [-of format] [-co option]* [-ct table]

Description

The utility pksetmask sets a mask provided with option -m to an input raster dataset. The default operator is '='. Values in the input raster data where the mask has a nodata value (set with the option -msknodata) will then be set to nodata (set with -nodata). Other operators are less than (–operator '<') and larger than (–operator '>').

Options

Examples

Some examples how to use pksetmask can be found here

FAQ

Frequently asked questions on pksetmask can be found here