pktools  2.6.3
Processing Kernel for geospatial data
pksetmask

pksetmask

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

SYNOPSIS

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

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

Advanced options: [-b band]* [–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