User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

wiki:pkpolygonize [2017/12/05 22:53]
wiki:pkpolygonize [2020/07/17 06:39] (current)
Line 1: Line 1:
 +====== pkpolygonize ======
 +   ​pkpolygonize - create a vector file
 +<code bash>
 +   ​pkpolygonize -i input -o output [OPTION]
 +   ​Create a vector file from a raster file
 +<code bash>
 +   ​-i ​    ​--input ​               Input image file (WARNING: will be overwritten with output! (default: <empty string>)
 +   ​-m ​    ​--mask ​                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! ​ (default: <empty string>)
 +   ​-o ​    ​--output ​              ​Output vector file (default: <empty string>)
 +   ​-b ​    ​--band ​                the band to be used from input file (default: 0)
 +   ​-n ​    ​--name ​                the field name of the output layer (default: DN)
 +   ​-v ​    ​--verbose ​             verbose mode if > 0 (default: 0)
 +====== Examples ======
 +<code bash>
 +pkpolygonize -i input.tif -m input.tif -o ouput.shp # create vector file from raster image (typically a classification image), based on pixel (land cover class) values.