gdal_sieve (1) Linux Manual Page
gdal_sieve – gdal_sieve.py removes small raster polygons Synopsisgdal_sieve.py [-q] [-st threshold] [-4] [-8] [-o name=value] srcfile [-nomask] [-mask filename] [-of format] [dstfile]DescriptionThe gdal_sieve.py script removes raster polygons smaller than a provided threshold size (in pixels) and replaces replaces them with the pixel value of the largest neighbour polygon. The result can be written back to…
