1v.perturb(1) Grass User's Manual v.perturb(1)
2
3
4
6 v.perturb - Random location perturbations of GRASS vector points
7
9 vector
10
12 v.perturb
13 v.perturb help
14 v.perturb [-q] input=name output=name [distribution=string] parame‐
15 ters=float[,float,...] [minimum=float] [seed=integer] [--over‐
16 write]
17
18 Flags:
19 -q Quiet
20
21 --overwrite
22
23 Parameters:
24 input=name
25 Vector points to be spatially perturbed
26
27 output=name
28 Name for output vector map
29
30 distribution=string
31 Distribution of perturbation Options: uniform,normal Default: uni‐
32 form
33
34 parameters=float[,float,...]
35 Parameter(s) of distribution. If the distribution is uniform, only
36 one parameter, the maximum, is needed. For a normal distribution,
37 two parameters, the mean and standard deviation, are required.
38
39 minimum=float
40 Minimum deviation in map units Default: 0.0
41
42 seed=integer
43 Seed for random number generation Default: 0
44
46 v.perturb reads a vector map of points and writes the same points but
47 perturbs the eastings and northings by adding either a uniform or nor‐
48 mal delta value. Perturbation means that a variating spatial deviation
49 is added to the coordinates.
50
52 The uniform distribution is always centered about zero. The associated
53 parameter is constrained to be positive and specifies the maximum of
54 the distribution; the minimum is the negation of that parameter. Do
55 perturb into a ring around the center, the minimum parameter can be
56 used.
57
58 Usually, the mean (first parameter) of the normal distribution is zero
59 (i.e., the distribution is centered at zero). The standard deviation
60 (second parameter) is naturally constrained to be positive.
61
62 Output vector points are not guaranteed to be contained within the cur‐
63 rent geographic region.
64
66 v.random
67 v.univar
68
70 James Darrell McCauley
71 when he was at: Agricultural Engineering Purdue University
72
73 Random number generators originally written in FORTRAN by Wes Peterson
74 and translated to C using f2c.
75
76 Last changed: $Date: 2006/03/03 10:41:45 $
77
78 Full index
79
80
81
82GRASS 6.2.2 v.perturb(1)