GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

v.stats - Calculates vector statistics

KEYWORDS

vector, statistics, shape

SYNOPSIS

v.stats
v.stats --help
v.stats [-r] vector=name [layer=integer] [rasters=name[,name,...]] [zones=name] [rprefix=string[,string,...]] [skipshape=string[,string,...]] [skipunivar=string[,string,...]] [shpcsv=string] [rstcsv=string[,string,...]] [rstpercentile=integer] [newlayer=integer] [newlayername=string] [newtabname=string] [separator=string] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Read from existing CSV files
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

vector=name [required]
Name of vector map
Name of input vector map
layer=integer
Vector layer
Default: 1
rasters=name[,name,...]
Name of input raster maps
zones=name
Name of raster zones map
rprefix=string[,string,...]
Raster prefixes
skipshape=string[,string,...]
Skip shape columns
Default: area_id
skipunivar=string[,string,...]
Skip shape columns
Default: label,all_cells,non_null_cells,null_cells,mean_of_abs,sum,sum_abs
shpcsv=string
CSV with the vector statistics of the shape
rstcsv=string[,string,...]
CSV with the statistics of the raster maps
rstpercentile=integer
Raster percentile to use
Default: 90
newlayer=integer
New vector layer that will be add to the vector map
Default: 2
newlayername=string
New vector layer that will be add to the vector map
newtabname=string
New vector layer that will be add to the vector map
separator=string
New vector layer that will be add to the vector map
Default: ;
nprocs=integer
Number of process that will be used
Default: 1

Table of contents

DESCRIPTION

The v.stats calculates vector statistics.

AUTHOR

Pietro Zambelli (University of Trento)

SOURCE CODE

Available at: v.stats source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2022 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual