3
This module creates an output raster map centered on the <em>x,y</em> values specified
4
with the <em>coordinate</em> parameter, out to the edge of the current region.
5
The output cell values increase linearly from the specified center. The <em>min</em>
6
and <em>max</em> parameters control the inner and outer output raster map radii, respectively.
9
The <em>mult</em> parameter can be used to multiply the output raster cells by a common factor.
10
Note that this parameter does not affect the output raster position or size; only the z-values
11
are changed with this parameter.
13
Binary-output raster maps (solid circles of one value) can be created
14
with the <b>-b</b> flag. Raster maps so created can be used to create
15
binary filters for use in <em>i.ifft</em> (inverse Fourier transformations;
16
apply filter with <em>r.mask</em>).
21
Generate a raster circle at current map center with a radius of 300m and outwardly
22
increasing raster values:
25
EASTCENTER=`g.region -c | awk ' /center easting:/ { print $3 }'`
26
NORTHCENTER=`g.region -c | awk ' /center northing:/ { print $3 }'`
27
r.circle output=circle coordinate=${EASTCENTER},${NORTHCENTER} max=300
30
Generate a binary raster ring around current map center with an inner radius
31
of 500m and an outer radius of 1000m:
34
EASTCENTER=`g.region -c | awk ' /center easting:/ { print $3 }'`
35
NORTHCENTER=`g.region -c | awk ' /center northing:/ { print $3 }'`
36
r.circle -b output=circle coordinate=${EASTCENTER},${NORTHCENTER} min=500 max=1000
42
<a href="g.region.html">g.region</a>,
43
<a href="g.remove.html">g.remove</a>,
44
<a href="g.rename.html">g.rename</a>,
45
<a href="i.fft.html">i.fft</a>,
46
<a href="i.ifft.html">i.ifft</a>,
47
<a href="r.mask.html">r.mask</a>
52
Bill Brown, U.S. Army Construction Engineering Research Laboratory<br>
53
Additional flag/min/max parameter by Markus Neteler, University of Hannover
56
<i>Last changed: $Date: 2009-01-05 23:08:26 +0100 (Mon, 05 Jan 2009) $</i>