EnglishFrenchSpanish

OnWorks favicon

pksieve - Online in the Cloud

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

This is the command pksieve 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


pksieve - program to sieve filter raster image

SYNOPSIS


pksieve -i input [-s size] -o output [options]

DESCRIPTION


pksieve filters small objects (maximum size defined with the option -s) in a raster by
replacing them to the largest neighbor object. In this context, objects are defined as
pixels of the same value that are also connected. The connection can be defined in four
directions (N-S and W-E: set option -c 4) or eight directions (N-S, W-E and diagonals NW-
SE, NE-SW: set option -c 8).

OPTIONS


-i filename, --input filename
Input image file

-s size, --size size
raster polygons with sizes smaller than this will be merged into their largest
neighbour. No sieve is performed if size = 0

-o filename, --output filename
Output image file Output image file

-c 4|8, --connect 4|8
the connectedness: 4 directions or 8 directions

-b band, --band band
the band to be used from input file

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

-ot type, --otype type
Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 /
Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}). Empty string: inherit type from
input image

-of format, --oformat format
Output image format (see also gdal_translate(1)). Empty string: inherit from input
image

-co option, --co option
Creation option for output file. Multiple options can be specified.

-ct filename, --ct filename
colour table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255:
solid)

-v level, --verbose level
verbose mode if > 0

EXAMPLE


merge all patches smaller than 5 pixels into bigger classes, using 8 connectivity
(horizontal, vertical and diagonal)

pksieve -i input.tif -c 8 -c 5 -o output.shp

24 January 2016 pksieve(1)

Use pksieve online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    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
  • 6
    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
  • More »

Linux commands

Ad