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
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 2
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 3
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 4
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • 5
    Task Coach
    Task Coach
    Task Coach - Your friendly task
    manager. Task Coach is a free open
    source todo manager. It grew out of
    frustration about other programs not
    handling composite ...
    Download Task Coach
  • 6
    HyperSQL Database Engine (HSQLDB)
    HyperSQL Database Engine (HSQLDB)
    HSQLDB is a relational database engine
    written in Java, with a JDBC driver,
    conforming to ANSI SQL:2016. A small,
    fast, multithreaded engine and server
    with mem...
    Download HyperSQL Database Engine (HSQLDB)
  • More »

Linux commands

Ad