1v.centroids(1) Grass User's Manual v.centroids(1)
2
3
4
6 v.centroids - Adds missing centroids to closed boundaries
7
9 vector, centroid, area
10
12 v.centroids
13 v.centroids help
14 v.centroids input=name output=name [option=string] [layer=integer]
15 [cat=integer] [step=integer] [--overwrite]
16
17 Flags:
18 --overwrite
19
20 Parameters:
21 input=name
22 Name of input vector map
23
24 output=name
25 Name for output vector map
26
27 option=string
28 Action to be taken Options: add Default: add
29
30 layer=integer
31 Layer number Default: 1
32
33 cat=integer
34 Category number starting value Default: 1
35
36 step=integer
37 Category increment Default: 1
38
40 GRASS defines vector areas as composite entities consisting of a set of
41 closed boundaries and a centroid. The attribute information associated
42 with that area is linked to the centroid. The v.centroids module adds
43 centroids to closed boundaries in the input file and assigns a category
44 number to them. The starting value as well as the increment size may be
45 set using optional parameters.
46
47 Multiple attributes may be linked to a single vector entity through
48 numbered fields referred to as layers. Refer to v.category for more
49 details, as v.centroids is simply a frontend to that module.
50
51 The boundary itself is often stored without any category reference as
52 it can mark the border between two adjacent areas. Thus it would be
53 ambiguous as to which feature the attribute would belong. In some cases
54 it may, for example, represent a road between two parcels of land. In
55 this case it is entirely appropriate for the boundary to contain cate‐
56 gory information.
57
58 (GRASS Shell Script)
59
61 v.category
62
64 module: M. Hamish Bowman, Dept. Marine Science, Otago University, New
65 Zealand
66 help page: Trevor Wiens
67
68 Last changed: $Date: 2007/05/24 08:07:30 $
69
70 Full index
71
72
73
74GRASS 6.2.2 v.centroids(1)