DOKK / manpages / debian 10 / pktools / pkstat.1.en
pkstat(1) pkstat(1)

pkstat - calculate basic statistics from raster dataset


pkstat
[options]

pkstat is utility to calculate basic statistics from a raster dataset.

name of the input raster dataset
band(s) on which to calculate statistics
Shows image filename
Shows basic statistics (calculate in memory) (min,max, mean and stdDev of the raster datasets)
Shows basic statistics using GDAL computeStatistics (min,max, mean and stdDev of the raster datasets)
Upper left x value bounding box
Upper left y value bounding box
Lower right x value bounding box
Lower right y value bounding box
Set nodata value(s)
Down sampling factor (for raster sample datasets only). Can be used to create grid points.
generate random numbers
calculate mean
calculate median
calculate variance
calculate skewness
calculate kurtosis
calculate standard deviation
calculate sum of column
calculate minimum and maximum value
calculate minimum value
calculate maximum value
start reading source from this minimum value
stop reading source from this maximum value
calculate histogram
number of bins to calculate histogram
use percentiles for histogram to calculate histogram
Use Kernel density estimation when producing histogram. The standard deviation is estimated based on Silverman's rule of thumb.
calculate Pearson produc-moment correlation coefficient between two raster datasets (defined by -c col1 -c col2)
calculate root mean square error between two raster datasets
calculate linear regression between two raster datasets and get correlation coefficient
calculate linear regression between two raster datasets and get root mean square error
calculate perpendicular regression between two raster datasets and get correlation coefficient
calculate perpendicular regression between two raster datasets and get root mean square error
verbose mode when positive
02 January 2019