1r.buffer.lowmem(1) GRASS GIS User's Manual r.buffer.lowmem(1)
2
3
4
6 r.buffer.lowmem - Creates a raster map showing buffer zones surround‐
7 ing cells that contain non-NULL category values.
8 This is the low-memory alternative to the classic r.buffer module.
9
11 raster, buffer
12
14 r.buffer.lowmem
15 r.buffer.lowmem --help
16 r.buffer.lowmem [-z] input=name output=name distances=float[,float,...]
17 [units=string] [--overwrite] [--help] [--verbose] [--quiet]
18 [--ui]
19
20 Flags:
21 -z
22 Ignore zero (0) data cells instead of NULL cells
23
24 --overwrite
25 Allow output files to overwrite existing files
26
27 --help
28 Print usage summary
29
30 --verbose
31 Verbose module output
32
33 --quiet
34 Quiet module output
35
36 --ui
37 Force launching GUI dialog
38
39 Parameters:
40 input=name [required]
41 Name of input raster map
42
43 output=name [required]
44 Name for output raster map
45
46 distances=float[,float,...]Â [required]
47 Distance zone(s)
48
49 units=string
50 Units of distance
51 Options: meters, kilometers, feet, miles, nautmiles
52 Default: meters
53
55 r.buffer.lowmem creates a new raster map showing buffer (a.k.a. "dis‐
56 tance" or "proximity") zones around all cells that contain non-NULL
57 category values in an existing raster map. The distances of buffer
58 zones from cells with non-zero category values are user-chosen.
59
60 This is the low-memory alternative to the classic r.buffer module. It
61 is much slower than the classic version, but will run on massive raster
62 maps without using a lot of RAM. If your raster map is larger than
63 32000x32000 cells on a system with 1 GB of RAM, or larger than
64 90000x90000 cells on a system with 8 GB of RAM, consider using this
65 module.
66
67 For more info see manual of r.buffer.
68
70 In the following example, the buffer zones would be (in the default
71 units of meters): 0-100, 101-200, 201-300, 301-400 and 401-500.
72 r.buffer.lowmem input=roads output=roads.buf distances=100,200,300,400,500
73 Result:
74 r.category input=roads.buf
75 1 distances calculated from these locations
76 2 0-100 meters
77 3 100-200 meters
78 4 200-300 meters
79 5 300-400 meters
80 6 400-500 meters
81
83 g.region, r.buffer, r.cost, r.grow.distance, r.mapcalc, r.reclass,
84 v.buffer
85
87 Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
88 James Westervelt, U.S. Army Construction Engineering Research Labora‐
89 tory
90 Low-memory Python version by Glynn Clements
91
93 Available at: r.buffer.lowmem source code (history)
94
95 Accessed: Saturday Oct 28 18:19:19 2023
96
97 Main index | Raster index | Topics index | Keywords index | Graphical
98 index | Full index
99
100 © 2003-2023 GRASS Development Team, GRASS GIS 8.3.1 Reference Manual
101
102
103
104GRASS 8.3.1 r.buffer.lowmem(1)