DOKK / manpages / debian 12 / pktools / pkpolygonize.1.en
pkpolygonize(1) pkpolygonize(1)

pkpolygonize - program to make vector file from raster image


pkpolygonize
-i input [-m mask] -o output [options]

pkpolygonize converts a raster to a vector dataset. All pixels in the mask band with a value other than zero will be considered suitable for collection as polygons. Use the same input file as mask to remove the background polygon (recommended).

Input image file
All pixels in the mask band with a value other than zero will be considered suitable for collection as polygons. Use input file as mask to remove background polygon!
Output vector file
Output OGR file format
band index(es) to crop (leave empty if all bands must be retained)
the field name of the output layer
Disgard this nodata value when creating polygons.
verbose mode if > 0
01 December 2022