---
name: "pkfillnodata"
section: "1"
platform: "linux"
package: "pktools"
version: "2.6.7.6+ds-6+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pkfillnodata"
---

# pkfillnodata(1)

program to fill holes in raster image

## NAME

pkfillnodata - program to fill holes in raster image

## SYNOPSIS

FC**pkfillnodata**F\[0\]  FC**-i**F\[0\] *input* FC**-m**F\[0\] *mask* FC**-o**F\[0\] *output* \[*options*\] \[*advanced options*\]

## DESCRIPTION

**pkfillnodata** fills nodata values in a raster dataset. Nodata values are defined as 0 values in the mask raster dataset. You can use the input file as the mask image if 0 values in the input raster have to be filled. Per default, all bands are filled. Use the option FC**-b**F\[0\] to fill individual band(s) in a multiband raster input image.

## OPTIONS

- FC**-i**F\[0\] *filename*, FC**--input**F\[0\] *filename*

  Input raster dataset

- FC**-m**F\[0\] *mask*, FC**--mask**F\[0\] *mask*

  Mask raster dataset indicating pixels to be interpolated (zero valued)

- FC**-o**F\[0\] *filename*, FC**--output**F\[0\] *filename*

  Output image file

- FC**-b**F\[0\] *band*, FC**--band**F\[0\] *band*

  band(s) to process (Default is FC-1F\[0\]: process all bands)

- FC**-v**F\[0\] *level*, FC**--verbose**F\[0\] *level*

  verbose

Advanced options

- FC**-d**F\[0\] *distance*, FC**--distance**F\[0\] *distance*

  Maximum number of pixels to search in all directions to find values to interpolate from

- FC**-it**F\[0\] *iterations*, FC**--iteration**F\[0\] *iterations*

  Number of 3x3 smoothing filter passes to run (default 0)
