1GDAL_SIEVE(1)                        GDAL                        GDAL_SIEVE(1)
2
3
4

NAME

6       gdal_sieve - Removes small raster polygons.
7

SYNOPSIS

9          gdal_sieve.py [-q] [-st threshold] [-4] [-8] [-o name=value]
10                  srcfile [-nomask] [-mask filename] [-of format] [dstfile]
11

DESCRIPTION

13       gdal_sieve.py  script  removes  raster polygons smaller than a provided
14       threshold size (in pixels) and replaces replaces them  with  the  pixel
15       value  of the largest neighbour polygon. The result can be written back
16       to the existing raster band, or copied into a new file.
17
18       The input dataset is read as integer data  which  means  that  floating
19       point  values  are  rounded  to integers. Re-scaling source data may be
20       necessary in some cases (e.g. 32-bit floating point data with min=0 and
21       max=1).
22
23       Additional  details  on  the  algorithm are available in the GDALSieve‐
24       Filter() docs.
25

AUTHOR

27       Frank Warmerdam <warmerdam@pobox.com>
28
30       1998-2021
31
32
33
34
35                                 Jan 05, 2021                    GDAL_SIEVE(1)
Impressum