Man page - pkstatogr(1)
Packages contas this manual
- pkegcs(1)
- pkdumpimg(1)
- pkfilterdem(1)
- pkreclassogr(1)
- pkgetmask(1)
- pkstatogr(1)
- pkann(1)
- pkstat(1)
- pkdiff(1)
- pkextractimg(1)
- pkfssvm(1)
- pkcomposite(1)
- pkcreatect(1)
- pkkalman(1)
- pksetmask(1)
- pkascii2ogr(1)
- pkcrop(1)
- pkfilterascii(1)
- pkdsm2shadow(1)
- pkfillnodata(1)
- pkoptsvm(1)
- pkstatascii(1)
- pkannogr(1)
- pkfilter(1)
- pksieve(1)
- pkregann(1)
- pkextractogr(1)
- pksvmogr(1)
- pkstatprofile(1)
- pkascii2img(1)
- pksvm(1)
- pkdumpogr(1)
- pkpolygonize(1)
- pkfsann(1)
- pkinfo(1)
- pkreclass(1)
Package: pktools
apt-get install pktools
apt-get install pktools
Manuals in package:
Documentations in package:
Manual
| pkstatogr(1) | pkstatogr(1) |
NAME
pkstatogr - program to calculate basic statistics from vector file
SYNOPSIS
pkstatogr
-i input [options]
DESCRIPTION
pkstatogr calculates basic statistics on attributes of a vector file. Examples of the basic statistics include: minimum, maximum, median, mean and standard deviation. Histograms (in percentage or absolute values) can also be calculated. The attribute of interest can be selected using the option -n|--fname. Values defined by the -nodata option, or not within the limits set by the options -src_min and -src_max are ignored for the statistics.
OPTIONS
- -i filename, --input filename
- Input image file(s). If input contains multiple images, a multi-band output is created
- -ln layer, --lname layer
- Layer name(s) in sample (leave empty to select all)
- -n attribute, --fname attribute
- Fields on which to calculate statistics
- -nodata value, --nodata value
- Set nodata value(s)
- -src_min value, --src_min value
- Set minimum value for histogram
- -src_max value, --src_max value
- Set maximum value for histogram
- -s, --size
- Sample size (number of points)
- -mm, --minmax
- Calculate minimum and maximum value
- -min, --min
- Calculate minimum value
- -max, --max
- Calculate maximum value
- -mean, --mean
- Calculate mean
- -median, --median
- Calculate median
- -stdev, --stdev
- Calculate standard deviation
- -hist, --hist
- Calculate histogram
- -nbin value, --nbin value
- Number of bins to calculate histogram
- -rel, --relative
- Use percentiles for histogram to calculate histogram
- -kde, --kde
- Use Kernel ⟨http://pktools.nongnu.org/html/classKernel.html⟩ density estimation when producing histogram. The standard deviation is estimated based on Silverman's rule of thumb
- -v level, --verbose level
- Verbose level
EXAMPLE
report histogram of values in FIELDID (to standard output)
pkstatogr -i input.shp -f FIELDID -n 100
report min, max, mean and standard deviation of values in FIELDID (to standard output)
pkstatogr -i input.shp -f FIELDID -min -max -mean -stdev
| 29 December 2024 |