User Tools

Site Tools


wiki:pkstatogr

pkstatogr

NAME

 pkstatogr - calculate basic statistics from vector file

SYNOPSIS

   pkstatogr -i input [OPTION]

DESCRIPTION

 Calculate basic statistics from vector file such as mean, min and max value
     

OPTIONS

   -i     --input                Input shape file (default: <empty string>)
   -n     --fname                fields on which to calculate statistics (default: <empty string>)
   -nbin  --nbin                 number of bins (default: 0)
   -m     --min                  calculate minimum value (default: false)
   -M     --max                  calculate maximum value (default: false)
   -mean  --mean                 calculate mean value (default: false)
   -stdev --stdev                calculate standard deviation (default: false)
   -v     --verbose              verbose mode if > 0 (default: 0)

Examples

pkstatogr -i input.shp -f FIELDID -n 100 # report histogram of values in FIELDID (to standard output)
 
pkstatogr -i input.shp -f FIELDID -m -M -mean -stdev # report min, max, mean and standard deviation of values in FIELDID (to standard output)
wiki/pkstatogr.txt · Last modified: 2017/12/05 22:53 (external edit)