Man page - gdal_sieve(1)
Packages contains this manual
- gdaladdo(1)
- ogrlineref(1)
- gdal2tiles(1)
- gdal_edit(1)
- gdalsrsinfo(1)
- gdaltransform(1)
- gdal_footprint(1)
- pct2rgb(1)
- gdal_rasterize(1)
- gdal_retile(1)
- gdalinfo(1)
- ogrmerge(1)
- ogrinfo(1)
- sozip(1)
- gdal_merge(1)
- gdalmdimtranslate(1)
- gdallocationinfo(1)
- gdal_translate(1)
- gdalmove(1)
- ogr_layer_algebra(1)
- gdalbuildvrt(1)
- nearblack(1)
- rgb2pct(1)
- gdal_create(1)
- gdal_polygonize(1)
- gdalmdiminfo(1)
- gdal_contour(1)
- gdalcompare(1)
- gdalwarp(1)
- gdal_pansharpen(1)
- gdal_calc(1)
- gdaldem(1)
- gdal_sieve(1)
- gnmanalyse(1)
- ogrtindex(1)
- gdaltindex(1)
- gnmmanage(1)
- gdal_fillnodata(1)
- gdal_proximity(1)
- gdal_viewshed(1)
- gdalmanage(1)
- ogr2ogr(1)
- gdal_grid(1)
apt-get install gdal-bin
Manual
GDAL_SIEVE
NAMESYNOPSIS
DESCRIPTION
AUTHOR
COPYRIGHT
NAME
gdal_sieve - Removes small raster polygons.
SYNOPSIS
gdal_sieve [--help] [--help-general]
[-q] [-st threshold] [-4] [-8] [-o name=value]
<srcfile> [-nomask] [-mask filename] [-of format] [<dstfile>]
DESCRIPTION
gdal_sieve removes raster polygons smaller than a provided threshold size (in pixels) and replaces them with the pixel value of the largest neighbour polygon. The result can be written back to the existing raster band, or copied into a new file.
The input dataset is read as integer data which means that floating point values are rounded to integers. Re-scaling source data may be necessary in some cases (e.g. 32-bit floating point data with min=0 and max=1).
Additional details on the algorithm are available in the GDALSieveFilter() docs.
NOTE:
gdal_sieve is a Python utility, and is only available if GDAL Python bindings are available.
AUTHOR
Frank Warmerdam <warmerdam@pobox.com>
COPYRIGHT
1998-2025