1r.contour(1)                  Grass User's Manual                 r.contour(1)
2
3
4

NAME

6       r.contour   -  Produces a GRASS binary vector map of specified contours
7       from GRASS raster map layer.
8

KEYWORDS

10       raster
11

SYNOPSIS

13       r.contour
14       r.contour help
15       r.contour  [-qn]  input=name  output=name    [levels=float[,float,...]]
16       [minlevel=float]     [maxlevel=float]     [step=float]    [cut=integer]
17       [--overwrite]
18
19   Flags:
20       -q  Suppress progress report & min/max information
21
22       -n  Suppress single crossing error messages
23
24       --overwrite
25
26   Parameters:
27       input=name
28           Name of input raster map
29
30       output=name
31           Name for output vector map
32
33       levels=float[,float,...]
34           List of contour levels
35
36       minlevel=float
37           Minimum contour level
38
39       maxlevel=float
40           Maximum contour level
41
42       step=float
43           Increment between contour levels
44
45       cut=integer
46           Minimum number of points  for  a  contour  line  (0  ->  no  limit)
47           Default: 0
48

DESCRIPTION

50       r.contour produces a GRASS binary vector map of specified contours from
51       GRASS raster map layer.  Contours are produced  from  a  user-specified
52       list  of  levels.  Contours are produced at some regular increment from
53       user-specified minimum level to maximum level. If no minimum or maximum
54       level is specified, minimum or maximum data value will be used.
55

NOTES

57       r.contour will either step through incremental contours or produce con‐
58       tours from a list of levels, not both. If both a list of levels  and  a
59       step  are  specified,  the  list  will be produced and the step will be
60       ignored.
61
62       Zero is treated as a valid data value by r.contour.
63
64       If a contour level exactly matches a category value in the raster file,
65       the  contour  line  may backtrack on itself, causing illegal arcs to be
66       produced in the output GRASS vector file.
67
68       The optional cut parameter allows to specify a minimum number of  point
69       for  a  contour  line  to  be put into output vector map, so that small
70       spurs, single points and so on won't be present and the output will  be
71       more clear.
72

AUTHORS

74       Terry Baker, U.S. Army Construction Engineering Research Laboratory
75       3/2001: cut parameter and fixes by Andrea Aime (aaime@libero.it)
76
77       Last changed: $Date: 2004/07/01 08:47:19 $
78
79       Full index
80
81
82
83GRASS 6.2.2                                                       r.contour(1)
Impressum