EnglishFrenchSpanish

OnWorks favicon

gdal_sieve - Online in the Cloud

Run gdal_sieve in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gdal_sieve that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gdal_sieve - gdal_sieve.py removes small raster polygons

SYNOPSIS


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

DESCRIPTION


The 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 the existing raster band, or copied into a new
file.

Additional details on the algorithm are available in the GDALSieveFilter() docs.

-q:
The script runs in quiet mode. The progress monitor is suppressed and routine messages
are not displayed.

-st threshold:
Set the size threshold in pixels. Only raster polygons smaller than this size will be
removed.

-o name=value:
Specify a special argument to the algorithm. Currently none are supported.

-4:
Four connectedness should be used when determining polygons. That is diagonal pixels
are not considered directly connected. This is the default.

-8:
Eight connectedness should be used when determining polygons. That is diagonal pixels
are considered directly connected.

srcfile
The source raster file used to identify target pixels. Only the first band is used.

-nomask:
Do not use the default validity mask for the input band (such as nodata, or alpha
masks).

-mask filename:
Use the first band of the specified file as a validity mask (zero is invalid, non-zero
is valid).

dstfile
The new file to create with the filtered result. If not provided, the source band is
updated in place.

-of format:
Select the output format. The default is GeoTIFF (GTiff). Use the short format name.

AUTHORS


Frank Warmerdam [email protected]

Use gdal_sieve online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad