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
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad