v.neighbors(1grass) | Grass User's Manual | v.neighbors(1grass) |
v.neighbors - Neighborhood analysis tool for vector
point maps.
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.
vector, algebra, statistics, raster, aggregation
v.neighbors
v.neighbors --help
v.neighbors input=name [layer=string]
output=name method=string
size=float [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
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.
Count the number of schools for a given grid (North Carolina
sample dataset):
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
The result gives for each grid cell the number of points (here: schools) not farther than 1500 meter away (half of the given size value) from the respective cell center.
r.neighbors
Radim Blazek
Last changed: $Date: 2014-12-19 22:17:36 +0100 (Fri, 19 Dec 2014) $
Available at: v.neighbors source code (history)
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
GRASS 7.6.0 |