.TH v.neighbors 1grass "" "GRASS 7.8.5" "GRASS GIS User's Manual" .SH NAME \fI\fBv.neighbors\fR\fR \- Neighborhood analysis tool for vector point maps. .br Makes each cell value a function of the attribute values assigned to the vector points or centroids around it, and stores new cell values in an output raster map. .SH KEYWORDS vector, algebra, statistics, raster, aggregation .SH SYNOPSIS \fBv.neighbors\fR .br \fBv.neighbors \-\-help\fR .br \fBv.neighbors\fR \fBinput\fR=\fIname\fR [\fBlayer\fR=\fIstring\fR] \fBoutput\fR=\fIname\fR \fBmethod\fR=\fIstring\fR \fBsize\fR=\fIfloat\fR [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBinput\fR=\fIname\fR \fB[required]\fR" 4m .br Name of input vector map .br Or data source for direct OGR access .IP "\fBlayer\fR=\fIstring\fR" 4m .br Layer number or name (\(cq\-1\(cq for all layers) .br A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name. .br Default: \fI\-1\fR .IP "\fBoutput\fR=\fIname\fR \fB[required]\fR" 4m .br Name for output raster map .IP "\fBmethod\fR=\fIstring\fR \fB[required]\fR" 4m .br Neighborhood operation .br Options: \fIcount\fR .br Default: \fIcount\fR .IP "\fBsize\fR=\fIfloat\fR \fB[required]\fR" 4m .br Neighborhood diameter in map units .SH DESCRIPTION Makes each cell value a function of the attribute values assigned to the vector points or centroids around it, and stores new cell values in an output raster map layer. .SH EXAMPLE Count the number of schools for a given grid (North Carolina sample dataset): .br .nf \fC g.region vector=schools_wake res=100 \-p \-a v.neighbors input=schools_wake output=schools_wake_3000m method=count size=3000 d.mon wx0 d.rast schools_wake_3000m d.vect schools_wake \fR .fi The result gives for each grid cell the number of points (here: schools) not farther than 1500 meter away (half of the given \fIsize\fR value) from the respective cell center. .SH SEE ALSO \fI r.neighbors \fR .SH AUTHOR Radim Blazek .SH SOURCE CODE .PP Available at: v.neighbors source code (history) .PP Main index | Vector index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual