~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to scripts/r.buffer.lowmem/r.buffer.lowmem.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
3
<em>r.buffer.lowmem</em> creates a new raster map showing buffer
 
4
(a.k.a. "distance" or "proximity") zones around all cells that contain
 
5
non-NULL category values in an existing raster map. The distances of
 
6
buffer zones from cells with non-zero category values are user-chosen.
 
7
 
 
8
<p>
 
9
This is the low-memory alternative to the
 
10
classic <em><a href="r.buffer.html">r.buffer</a></em> module. It is
 
11
much slower than the classic version, but will run on massive raster
 
12
maps without using a lot of RAM. If your raster map is larger than
 
13
32000x32000 cells on a system with 1 GB of RAM, or larger than
 
14
90000x90000 cells on a system with 8 GB of RAM, consider using this
 
15
module.
 
16
 
 
17
<p>
 
18
For more info see manual of <em><a href="r.buffer.html">r.buffer</a></em>.
 
19
 
 
20
<h2>EXAMPLE</h2>
 
21
 
 
22
In the following example, the buffer zones would be (in the default units
 
23
of meters): 0-100, 101-200, 201-300, 301-400 and 401-500.
 
24
 
 
25
<div class="code"><pre>
 
26
r.buffer.lowmem input=roads output=roads.buf distances=100,200,300,400,500
 
27
</pre></div>
 
28
 
 
29
Result:
 
30
 
 
31
<div class="code"><pre>
 
32
r.category input=roads.buf
 
33
 
 
34
      1       distances calculated from these locations
 
35
      2       0-100 meters
 
36
      3       100-200 meters
 
37
      4       200-300 meters
 
38
      5       300-400 meters
 
39
      6       400-500 meters
 
40
</pre></div>
 
41
 
 
42
<h2>SEE ALSO</h2>
 
43
 
 
44
<em>
 
45
<a href="g.region.html">g.region</a>,
 
46
<a href="r.buffer.html">r.buffer</a>,
 
47
<a href="r.cost.html">r.cost</a>,
 
48
<a href="r.grow.distance.html">r.grow.distance</a>,
 
49
<a href="r.mapcalc.html">r.mapcalc</a>,
 
50
<a href="r.reclass.html">r.reclass</a>,
 
51
<a href="v.buffer.html">v.buffer</a>
 
52
</em>
 
53
 
 
54
<h2>AUTHORS</h2>
 
55
 
 
56
Michael Shapiro, U.S. Army Construction Engineering 
 
57
Research Laboratory
 
58
<br>
 
59
James Westervelt, U.S. Army Construction Engineering 
 
60
Research Laboratory
 
61
<br>
 
62
Low-memory Python version by Glynn Clements
 
63
 
 
64
<p>
 
65
<i>Last changed: $Date: 2013-01-04 07:21:51 -0800 (Fri, 04 Jan 2013) $</i>