1v.neighbors(1)                Grass User's Manual               v.neighbors(1)
2
3
4

NAME

6       v.neighbors  - Neighborhood analysis tool for vector point maps.
7       Makes  each  cell  value a function of the attribute values assigned to
8       the vector points or centroids around it, and stores new cell values in
9       an output raster map.
10

KEYWORDS

12       vector, algebra, statistics, raster, aggregation
13

SYNOPSIS

15       v.neighbors
16       v.neighbors --help
17       v.neighbors   input=name    [layer=string]   output=name  method=string
18       size=float  [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]
19
20   Flags:
21       --overwrite
22           Allow output files to overwrite existing files
23
24       --help
25           Print usage summary
26
27       --verbose
28           Verbose module output
29
30       --quiet
31           Quiet module output
32
33       --ui
34           Force launching GUI dialog
35
36   Parameters:
37       input=name [required]
38           Name of input vector map
39           Or data source for direct OGR access
40
41       layer=string
42           Layer number or name (’-1’ for all layers)
43           A single vector map can be connected to multiple  database  tables.
44           This  number  determines  which table to use. When used with direct
45           OGR access this is the layer name.
46           Default: -1
47
48       output=name [required]
49           Name for output raster map
50
51       method=string [required]
52           Neighborhood operation
53           Options: count
54           Default: count
55
56       size=float [required]
57           Neighborhood diameter in map units
58

DESCRIPTION

60       Makes each cell value a function of the attribute  values  assigned  to
61       the vector points or centroids around it, and stores new cell values in
62       an output raster map layer.
63

EXAMPLE

65       Count the number of schools for a given  grid  (North  Carolina  sample
66       dataset):
67       g.region vector=schools_wake res=100 -p -a
68       v.neighbors input=schools_wake output=schools_wake_3000m method=count size=3000
69       d.mon wx0
70       d.rast schools_wake_3000m
71       d.vect schools_wake
72       The  result  gives  for  each  grid  cell  the  number of points (here:
73       schools) not farther than 1500 meter  away  (half  of  the  given  size
74       value) from the respective cell center.
75

SEE ALSO

77        r.neighbors
78

AUTHOR

80       Radim Blazek
81
82       Last changed: $Date: 2014-12-19 22:17:36 +0100 (Fri, 19 Dec 2014) $
83

SOURCE CODE

85       Available at: v.neighbors source code (history)
86
87       Main  index  | Vector index | Topics index | Keywords index | Graphical
88       index | Full index
89
90       © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
91
92
93
94GRASS 7.4.4                                                     v.neighbors(1)
Impressum