GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GDAL_SIEVE(1) GDAL GDAL_SIEVE(1)

gdal_sieve - Removes small raster polygons.

gdal_sieve [--help] [--help-general]

[-q] [-st threshold] [-4] [-8] [-o name=value]
<srcfile> [-nomask] [-mask filename] [-of format] [<dstfile>]


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.


Frank Warmerdam <warmerdam@pobox.com>

1998-2025

May 6, 2025

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.