EnglishFrenchSpanish

Ad


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
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 2
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 3
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 4
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 5
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • 6
    Windows Presentation Foundation
    Windows Presentation Foundation
    Windows Presentation Foundation (WPF)
    is a UI framework for building Windows
    desktop applications. WPF supports a
    broad set of application development
    features...
    Download Windows Presentation Foundation
  • More »

Linux commands

Ad