1GDAL_FILLNODATA(1) GDAL GDAL_FILLNODATA(1)
2
3
4
6 gdal_fillnodata - Fill raster regions by interpolation from edges.
7
9 gdal_fillnodata.py [-q] [-md max_distance] [-si smooth_iterations]
10 [-o name=value] [-b band]
11 srcfile [-nomask] [-mask filename] [-of format] [dstfile]
12
14 gdal_fillnodata.py script fills selection regions (usually nodata ar‐
15 eas) by interpolating from valid pixels around the edges of the area.
16
17 Additional details on the algorithm are available in the GDALFillNo‐
18 data() docs.
19
20 -q The script runs in quiet mode. The progress monitor is sup‐
21 pressed and routine messages are not displayed.
22
23 -md max_distance
24 The maximum distance (in pixels) that the algorithm will search
25 out for values to interpolate. The default is 100 pixels.
26
27 -si smooth_iterations
28 The number of 3x3 average filter smoothing iterations to run af‐
29 ter the interpolation to dampen artifacts. The default is zero
30 smoothing iterations.
31
32 -o name=value
33 Specify a special argument to the algorithm. Currently none are
34 supported.
35
36 -b band
37 The band to operate on, by default the first band is operated
38 on.
39
40 srcfile
41 The source raster file used to identify target pixels. Only one
42 band is used.
43
44 -mask filename
45 Use the first band of the specified file as a validity mask
46 (zero is invalid, non-zero is valid).
47
48 dstfile
49 The new file to create with the interpolated result. If not
50 provided, the source band is updated in place.
51
52 -of format
53 Select the output format. The default is raster.gtiff. Use the
54 short format name.
55
57 Frank Warmerdam <warmerdam@pobox.com>
58
60 1998-2022
61
62
63
64
65 May 04, 2022 GDAL_FILLNODATA(1)