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 them with the  pixel  value  of
15       the  largest  neighbour  polygon. The result can be written back to the
16       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
24       GDALSieveFilter() docs.
25

AUTHOR

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